INFO 2025-08-04 07:52:17,430 autoreload 39703 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 07:53:45,209 autoreload 39703 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/hospital_management/settings.py changed, reloading. INFO 2025-08-04 07:53:45,453 autoreload 40334 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 07:53:47,142 basehttp 40334 6125760512 "GET / HTTP/1.1" 302 0 INFO 2025-08-04 07:53:47,292 basehttp 40334 6125760512 "GET /en/ HTTP/1.1" 302 0 WARNING 2025-08-04 07:53:47,298 log 40334 6125760512 Not Found: /accounts/login/ WARNING 2025-08-04 07:53:47,298 basehttp 40334 6125760512 "GET /accounts/login/?next=/en/ HTTP/1.1" 404 2579 INFO 2025-08-04 07:53:53,704 basehttp 40334 6125760512 "GET /admin/ HTTP/1.1" 302 0 INFO 2025-08-04 07:53:53,748 basehttp 40334 6125760512 "GET /en/admin/ HTTP/1.1" 302 0 INFO 2025-08-04 07:53:53,767 basehttp 40334 6125760512 "GET /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4212 INFO 2025-08-04 07:53:56,069 basehttp 40334 6125760512 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4380 INFO 2025-08-04 07:59:21,985 autoreload 42813 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 07:59:23,197 basehttp 42813 6133837824 "GET / HTTP/1.1" 302 0 INFO 2025-08-04 07:59:23,274 basehttp 42813 6133837824 "GET /en/ HTTP/1.1" 302 0 WARNING 2025-08-04 07:59:23,280 log 42813 6133837824 Not Found: /accounts/login/ WARNING 2025-08-04 07:59:23,280 basehttp 42813 6133837824 "GET /accounts/login/?next=/en/ HTTP/1.1" 404 2579 INFO 2025-08-04 07:59:29,136 basehttp 42813 6133837824 "GET /admin/ HTTP/1.1" 302 0 INFO 2025-08-04 07:59:29,177 basehttp 42813 6133837824 "GET /en/admin/ HTTP/1.1" 302 0 INFO 2025-08-04 07:59:29,187 basehttp 42813 6133837824 "GET /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4212 INFO 2025-08-04 07:59:33,946 basehttp 42813 6133837824 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4380 INFO 2025-08-04 08:00:51,689 basehttp 42813 6133837824 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4380 INFO 2025-08-04 08:00:54,267 basehttp 42813 6133837824 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4380 INFO 2025-08-04 08:01:21,375 basehttp 42813 6133837824 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4380 INFO 2025-08-04 08:01:40,053 basehttp 42813 6133837824 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 302 0 INFO 2025-08-04 08:01:40,073 basehttp 42813 6133837824 "GET /en/admin/ HTTP/1.1" 200 84715 INFO 2025-08-04 08:01:43,411 basehttp 42813 6133837824 "GET /en/admin/accounts/user/ HTTP/1.1" 200 75469 INFO 2025-08-04 08:01:43,423 basehttp 42813 6150664192 "GET /static/admin/img/icon-yes.svg HTTP/1.1" 304 0 INFO 2025-08-04 08:01:43,424 basehttp 42813 6167490560 "GET /static/admin/img/icon-no.svg HTTP/1.1" 304 0 INFO 2025-08-04 08:01:43,425 basehttp 42813 6133837824 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 ERROR 2025-08-04 08:01:44,652 log 42813 6133837824 Internal Server Error: /en/admin/accounts/user/1/change/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 840, in get_form return modelform_factory(self.model, **defaults) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 654, in modelform_factory return type(form)(class_name, (form,), form_class_attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 334, in __new__ raise FieldError(message) django.core.exceptions.FieldError: Unknown field(s) (timezone) specified for User During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 719, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 192, in _view_wrapper result = _process_exception(request, e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 190, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/sites.py", line 246, in inner return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 1987, in change_view return self.changeform_view(request, object_id, form_url, extra_context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 192, in _view_wrapper result = _process_exception(request, e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 190, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 1840, in changeform_view return self._changeform_view(request, object_id, form_url, extra_context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 1878, in _changeform_view ModelForm = self.get_form( ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/admin.py", line 98, in get_form return super().get_form(request, obj, **defaults) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 842, in get_form raise FieldError( django.core.exceptions.FieldError: Unknown field(s) (timezone) specified for User. Check fields/fieldsets/exclude attributes of class UserAdmin. ERROR 2025-08-04 08:01:44,654 basehttp 42813 6133837824 "GET /en/admin/accounts/user/1/change/ HTTP/1.1" 500 167179 INFO 2025-08-04 08:01:55,662 basehttp 42813 6133837824 "GET /en/admin/accounts/user/ HTTP/1.1" 200 75469 INFO 2025-08-04 08:02:24,915 autoreload 42813 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/accounts/admin.py changed, reloading. INFO 2025-08-04 08:02:25,272 autoreload 44198 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 08:02:26,618 basehttp 44198 6169014272 "GET /en/admin/accounts/user/ HTTP/1.1" 200 75469 INFO 2025-08-04 08:02:26,630 basehttp 44198 6169014272 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 08:02:28,515 basehttp 44198 6169014272 "GET /en/admin/accounts/user/ HTTP/1.1" 200 75469 INFO 2025-08-04 08:02:28,523 basehttp 44198 6169014272 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 08:02:29,769 basehttp 44198 6169014272 "GET /en/admin/accounts/user/1/change/ HTTP/1.1" 200 149577 INFO 2025-08-04 08:02:29,777 basehttp 44198 13170143232 "GET /static/admin/js/calendar.js HTTP/1.1" 304 0 INFO 2025-08-04 08:02:29,777 basehttp 44198 13186969600 "GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 304 0 INFO 2025-08-04 08:02:29,777 basehttp 44198 13203795968 "GET /static/admin/js/SelectBox.js HTTP/1.1" 304 0 INFO 2025-08-04 08:02:29,778 basehttp 44198 13220622336 "GET /static/admin/js/SelectFilter2.js HTTP/1.1" 304 0 INFO 2025-08-04 08:02:29,780 basehttp 44198 6169014272 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 08:02:29,812 basehttp 44198 13220622336 "GET /static/admin/img/selector-icons.svg HTTP/1.1" 304 0 INFO 2025-08-04 08:02:29,812 basehttp 44198 13203795968 "GET /static/admin/img/icon-calendar.svg HTTP/1.1" 304 0 INFO 2025-08-04 08:02:29,814 basehttp 44198 6169014272 "GET /static/admin/img/icon-clock.svg HTTP/1.1" 200 677 INFO 2025-08-04 08:02:35,772 basehttp 44198 6169014272 "GET /en/admin/accounts/user/1/password/ HTTP/1.1" 200 67159 INFO 2025-08-04 08:02:35,779 basehttp 44198 13203795968 "GET /static/admin/js/unusable_password_field.js HTTP/1.1" 200 1480 INFO 2025-08-04 08:02:35,779 basehttp 44198 6169014272 "GET /static/admin/css/unusable_password_field.css HTTP/1.1" 200 663 INFO 2025-08-04 08:02:52,181 basehttp 44198 6169014272 "POST /en/admin/accounts/user/1/password/ HTTP/1.1" 302 0 INFO 2025-08-04 08:02:52,214 basehttp 44198 6169014272 "GET /en/admin/accounts/user/1/change/ HTTP/1.1" 200 149713 INFO 2025-08-04 08:02:52,232 basehttp 44198 6169014272 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 08:02:55,185 basehttp 44198 6169014272 "GET / HTTP/1.1" 302 0 ERROR 2025-08-04 08:02:55,216 log 44198 13203795968 Internal Server Error: /en/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_create' not found. 'patient_create' is not a valid view function or pattern name. ERROR 2025-08-04 08:02:55,218 basehttp 44198 13203795968 "GET /en/ HTTP/1.1" 500 162137 ERROR 2025-08-04 08:04:29,717 log 44198 13203795968 Internal Server Error: /en/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'appointment_create' not found. 'appointment_create' is not a valid view function or pattern name. ERROR 2025-08-04 08:04:29,718 basehttp 44198 13203795968 "GET /en/ HTTP/1.1" 500 162872 INFO 2025-08-04 08:06:17,400 autoreload 44198 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/appointments/urls.py changed, reloading. INFO 2025-08-04 08:06:17,746 autoreload 45896 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 08:06:21,947 log 45896 6124711936 Internal Server Error: /en/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'record_create' not found. 'record_create' is not a valid view function or pattern name. ERROR 2025-08-04 08:06:21,950 basehttp 45896 6124711936 "GET /en/ HTTP/1.1" 500 162683 INFO 2025-08-04 08:08:12,310 autoreload 45896 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/emr/urls.py changed, reloading. INFO 2025-08-04 08:08:12,577 autoreload 46749 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 08:10:54,443 autoreload 46749 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/emr/urls.py changed, reloading. INFO 2025-08-04 08:10:54,678 autoreload 47911 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 08:29:16,016 log 47911 6192869376 Internal Server Error: /en/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'record_create' not found. 'record_create' is not a valid view function or pattern name. ERROR 2025-08-04 08:29:16,017 basehttp 47911 6192869376 "GET /en/ HTTP/1.1" 500 162683 ERROR 2025-08-04 08:29:16,813 log 47911 6192869376 Internal Server Error: /en/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'record_create' not found. 'record_create' is not a valid view function or pattern name. ERROR 2025-08-04 08:29:16,815 basehttp 47911 6192869376 "GET /en/ HTTP/1.1" 500 162683 INFO 2025-08-04 09:32:07,700 autoreload 76098 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 09:32:09,293 basehttp 76098 6194851840 "GET / HTTP/1.1" 302 0 ERROR 2025-08-04 09:32:09,394 log 76098 6194851840 Internal Server Error: /en/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'test_order_create' not found. 'test_order_create' is not a valid view function or pattern name. ERROR 2025-08-04 09:32:09,397 basehttp 76098 6194851840 "GET /en/ HTTP/1.1" 500 161927 ERROR 2025-08-04 09:32:38,591 log 76098 6194851840 Internal Server Error: /en/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'prescription_create' not found. 'prescription_create' is not a valid view function or pattern name. ERROR 2025-08-04 09:32:38,594 basehttp 76098 6194851840 "GET /en/ HTTP/1.1" 500 162184 ERROR 2025-08-04 09:34:22,795 log 76098 6194851840 Internal Server Error: /en/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'exam_create' not found. 'exam_create' is not a valid view function or pattern name. ERROR 2025-08-04 09:34:22,801 basehttp 76098 6194851840 "GET /en/ HTTP/1.1" 500 161387 ERROR 2025-08-04 09:34:34,478 log 76098 6194851840 Internal Server Error: /en/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_create' not found. 'patient_create' is not a valid view function or pattern name. ERROR 2025-08-04 09:34:34,481 basehttp 76098 6194851840 "GET /en/ HTTP/1.1" 500 160518 ERROR 2025-08-04 09:34:50,040 log 76098 6194851840 Internal Server Error: /en/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'record_create' not found. 'record_create' is not a valid view function or pattern name. ERROR 2025-08-04 09:34:50,042 basehttp 76098 6194851840 "GET /en/ HTTP/1.1" 500 160855 ERROR 2025-08-04 09:35:22,005 log 76098 6194851840 Internal Server Error: /en/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'prescription_create' not found. 'prescription_create' is not a valid view function or pattern name. ERROR 2025-08-04 09:35:22,006 basehttp 76098 6194851840 "GET /en/ HTTP/1.1" 500 159960 ERROR 2025-08-04 09:35:33,488 log 76098 6194851840 Internal Server Error: /en/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'dashboard_export' not found. 'dashboard_export' is not a valid view function or pattern name. ERROR 2025-08-04 09:35:33,490 basehttp 76098 6194851840 "GET /en/ HTTP/1.1" 500 157474 INFO 2025-08-04 09:35:59,360 basehttp 76098 6194851840 "GET /en/ HTTP/1.1" 200 27902 INFO 2025-08-04 09:35:59,411 basehttp 76098 6194851840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 09:35:59,420 basehttp 76098 6228504576 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 09:35:59,420 basehttp 76098 6245330944 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1010 INFO 2025-08-04 09:35:59,421 basehttp 76098 6211678208 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 ERROR 2025-08-04 09:36:09,612 log 76098 6211678208 Internal Server Error: /en/patients/register/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 47, in select_template raise TemplateDoesNotExist(", ".join(template_name_list), chain=chain) django.template.exceptions.TemplateDoesNotExist: patients/patient_create.html ERROR 2025-08-04 09:36:09,613 basehttp 76098 6211678208 "GET /en/patients/register/ HTTP/1.1" 500 81659 INFO 2025-08-04 09:38:51,617 autoreload 76098 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py changed, reloading. INFO 2025-08-04 09:38:51,986 autoreload 79100 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 09:38:52,731 basehttp 79100 6165573632 "GET /en/patients/register/ HTTP/1.1" 200 22459 INFO 2025-08-04 09:41:59,016 basehttp 79100 6182400000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 09:41:59,018 basehttp 79100 6165573632 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 09:41:59,018 basehttp 79100 6199226368 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 ERROR 2025-08-04 09:42:01,338 log 79100 6199226368 Internal Server Error: /en/appointments/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 134, in render compiled_parent = self.get_parent(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 131, in get_parent return self.find_template(parent, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 109, in find_template template, origin = context.template.engine.find_template( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 163, in find_template raise TemplateDoesNotExist(name, tried=tried) django.template.exceptions.TemplateDoesNotExist: base.html The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 109, in render reraise(exc, self.backend) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 130, in reraise raise new from exc django.template.exceptions.TemplateDoesNotExist: base.html ERROR 2025-08-04 09:42:01,339 basehttp 79100 6199226368 "GET /en/appointments/create/ HTTP/1.1" 500 127493 ERROR 2025-08-04 09:43:03,794 log 79100 6199226368 Internal Server Error: /en/appointments/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 134, in render compiled_parent = self.get_parent(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 131, in get_parent return self.find_template(parent, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 109, in find_template template, origin = context.template.engine.find_template( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 163, in find_template raise TemplateDoesNotExist(name, tried=tried) django.template.exceptions.TemplateDoesNotExist: base.html The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 109, in render reraise(exc, self.backend) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 130, in reraise raise new from exc django.template.exceptions.TemplateDoesNotExist: base.html ERROR 2025-08-04 09:43:03,796 basehttp 79100 6199226368 "GET /en/appointments/create/ HTTP/1.1" 500 127630 ERROR 2025-08-04 09:43:04,736 log 79100 6199226368 Internal Server Error: /en/appointments/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 134, in render compiled_parent = self.get_parent(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 131, in get_parent return self.find_template(parent, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 109, in find_template template, origin = context.template.engine.find_template( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 163, in find_template raise TemplateDoesNotExist(name, tried=tried) django.template.exceptions.TemplateDoesNotExist: base.html The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 109, in render reraise(exc, self.backend) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 130, in reraise raise new from exc django.template.exceptions.TemplateDoesNotExist: base.html ERROR 2025-08-04 09:43:04,737 basehttp 79100 6199226368 "GET /en/appointments/create/ HTTP/1.1" 500 127630 ERROR 2025-08-04 09:43:20,104 log 79100 6199226368 Internal Server Error: /en/appointments/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 134, in render compiled_parent = self.get_parent(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 131, in get_parent return self.find_template(parent, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 109, in find_template template, origin = context.template.engine.find_template( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 163, in find_template raise TemplateDoesNotExist(name, tried=tried) django.template.exceptions.TemplateDoesNotExist: base.html The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 109, in render reraise(exc, self.backend) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 130, in reraise raise new from exc django.template.exceptions.TemplateDoesNotExist: base.html ERROR 2025-08-04 09:43:20,106 basehttp 79100 6199226368 "GET /en/appointments/create/ HTTP/1.1" 500 127630 ERROR 2025-08-04 09:43:21,247 log 79100 6199226368 Internal Server Error: /en/appointments/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 134, in render compiled_parent = self.get_parent(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 131, in get_parent return self.find_template(parent, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 109, in find_template template, origin = context.template.engine.find_template( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 163, in find_template raise TemplateDoesNotExist(name, tried=tried) django.template.exceptions.TemplateDoesNotExist: base.html The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 109, in render reraise(exc, self.backend) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 130, in reraise raise new from exc django.template.exceptions.TemplateDoesNotExist: base.html ERROR 2025-08-04 09:43:21,248 basehttp 79100 6199226368 "GET /en/appointments/create/ HTTP/1.1" 500 127630 ERROR 2025-08-04 09:43:45,503 log 79100 6199226368 Internal Server Error: /en/appointments/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'appointment_request_list' not found. 'appointment_request_list' is not a valid view function or pattern name. ERROR 2025-08-04 09:43:45,505 basehttp 79100 6199226368 "GET /en/appointments/create/ HTTP/1.1" 500 166065 ERROR 2025-08-04 09:44:37,040 log 79100 6199226368 Internal Server Error: /en/appointments/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'appointment_request_list' not found. 'appointment_request_list' is not a valid view function or pattern name. ERROR 2025-08-04 09:44:37,041 basehttp 79100 6199226368 "GET /en/appointments/create/ HTTP/1.1" 500 165761 ERROR 2025-08-04 09:44:38,047 log 79100 6199226368 Internal Server Error: /en/appointments/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'appointment_request_list' not found. 'appointment_request_list' is not a valid view function or pattern name. ERROR 2025-08-04 09:44:38,049 basehttp 79100 6199226368 "GET /en/appointments/create/ HTTP/1.1" 500 165761 INFO 2025-08-04 09:45:02,183 basehttp 79100 6199226368 "GET /en/appointments/create/ HTTP/1.1" 200 27162 INFO 2025-08-04 12:20:40,258 basehttp 79100 6165573632 "GET /en/ HTTP/1.1" 200 27902 INFO 2025-08-04 12:20:40,309 basehttp 79100 6165573632 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 12:20:40,313 basehttp 79100 6199226368 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 12:20:40,313 basehttp 79100 6216052736 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1010 INFO 2025-08-04 12:20:40,314 basehttp 79100 6182400000 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 WARNING 2025-08-04 12:20:51,069 log 79100 6182400000 Forbidden (CSRF token from POST incorrect.): /en/admin/login/ WARNING 2025-08-04 12:20:51,070 basehttp 79100 6182400000 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 403 2503 INFO 2025-08-04 12:21:10,363 autoreload 87711 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 12:21:11,513 basehttp 87711 6136524800 "GET / HTTP/1.1" 302 0 INFO 2025-08-04 12:21:11,602 basehttp 87711 6136524800 "GET /en/ HTTP/1.1" 200 27902 INFO 2025-08-04 12:21:11,647 basehttp 87711 6136524800 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 12:21:11,657 basehttp 87711 12901707776 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1010 INFO 2025-08-04 12:21:11,658 basehttp 87711 6170177536 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 12:21:11,660 basehttp 87711 6153351168 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 12:21:19,694 basehttp 87711 6153351168 "GET /en/billing/bills/create/ HTTP/1.1" 200 31954 INFO 2025-08-04 12:22:43,260 basehttp 87711 6153351168 "GET /en/admin/billing/medicalbill/ HTTP/1.1" 200 71981 INFO 2025-08-04 12:22:54,529 basehttp 87711 6153351168 "GET /en/admin/core/tenant/ HTTP/1.1" 200 80293 INFO 2025-08-04 12:22:54,543 basehttp 87711 6153351168 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 12:22:54,552 basehttp 87711 6153351168 "GET /static/admin/img/sorting-icons.svg HTTP/1.1" 304 0 INFO 2025-08-04 12:22:56,883 basehttp 87711 6153351168 "GET /en/admin/core/tenant/?o=-1 HTTP/1.1" 200 81057 INFO 2025-08-04 12:22:56,898 basehttp 87711 6153351168 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 12:23:18,358 basehttp 87711 6153351168 "POST /en/admin/core/tenant/?o=-1 HTTP/1.1" 200 67237 INFO 2025-08-04 12:23:18,374 basehttp 87711 6153351168 "GET /static/admin/js/cancel.js HTTP/1.1" 200 884 INFO 2025-08-04 12:23:19,713 basehttp 87711 6153351168 "POST /en/admin/core/tenant/?o=-1 HTTP/1.1" 302 0 INFO 2025-08-04 12:23:19,730 basehttp 87711 6153351168 "GET /en/admin/core/tenant/?o=-1 HTTP/1.1" 200 75795 INFO 2025-08-04 12:23:19,748 basehttp 87711 6153351168 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 ERROR 2025-08-04 12:23:36,382 log 87711 6153351168 Internal Server Error: /en/billing/bills/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'print_bills' not found. 'print_bills' is not a valid view function or pattern name. ERROR 2025-08-04 12:23:36,384 basehttp 87711 6153351168 "GET /en/billing/bills/ HTTP/1.1" 500 161320 INFO 2025-08-04 12:30:57,008 autoreload 87711 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-04 12:30:57,329 autoreload 91971 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 12:33:08,669 log 91971 6325039104 Internal Server Error: /en/billing/bills/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'print_bills' not found. 'print_bills' is not a valid view function or pattern name. ERROR 2025-08-04 12:33:08,671 basehttp 91971 6325039104 "GET /en/billing/bills/ HTTP/1.1" 500 161457 INFO 2025-08-04 12:34:08,195 autoreload 91971 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/urls.py changed, reloading. INFO 2025-08-04 12:34:08,480 autoreload 93418 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 12:34:13,895 log 93418 6125383680 Internal Server Error: /en/billing/bills/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bulk_submit_bills' not found. 'bulk_submit_bills' is not a valid view function or pattern name. ERROR 2025-08-04 12:34:13,897 basehttp 93418 6125383680 "GET /en/billing/bills/ HTTP/1.1" 500 161711 INFO 2025-08-04 12:44:38,712 autoreload 93418 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-04 12:44:39,049 autoreload 98014 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 12:44:43,847 log 98014 6159970304 Internal Server Error: /en/billing/bills/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bulk_submit_bills' not found. 'bulk_submit_bills' is not a valid view function or pattern name. ERROR 2025-08-04 12:44:43,851 basehttp 98014 6159970304 "GET /en/billing/bills/ HTTP/1.1" 500 161711 ERROR 2025-08-04 12:44:44,767 log 98014 6159970304 Internal Server Error: /en/billing/bills/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bulk_submit_bills' not found. 'bulk_submit_bills' is not a valid view function or pattern name. ERROR 2025-08-04 12:44:44,770 basehttp 98014 6159970304 "GET /en/billing/bills/ HTTP/1.1" 500 161711 INFO 2025-08-04 12:45:42,154 autoreload 98014 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/urls.py changed, reloading. INFO 2025-08-04 12:45:42,518 autoreload 98470 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 12:46:36,128 autoreload 98470 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/urls.py changed, reloading. INFO 2025-08-04 12:46:36,457 autoreload 98872 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 12:46:55,344 basehttp 98872 6128087040 "GET /en/billing/bills/ HTTP/1.1" 200 25610 INFO 2025-08-04 12:46:55,364 basehttp 98872 6128087040 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 105 INFO 2025-08-04 12:47:02,615 basehttp 98872 6128087040 "GET /en/billing/bills/create/ HTTP/1.1" 200 31954 INFO 2025-08-04 12:47:06,502 basehttp 98872 6128087040 "GET /en/billing/bills/?search=&status=&date_from=&date_to=&min_amount= HTTP/1.1" 200 25610 INFO 2025-08-04 12:47:06,542 basehttp 98872 6128087040 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 105 INFO 2025-08-04 12:47:18,608 basehttp 98872 6128087040 "GET /en/billing/bills/ HTTP/1.1" 200 25610 INFO 2025-08-04 12:47:18,635 basehttp 98872 6128087040 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 105 INFO 2025-08-04 12:47:30,665 basehttp 98872 6128087040 "GET /en/billing/export/bills/ HTTP/1.1" 200 85 ERROR 2025-08-04 12:47:45,866 log 98872 6128087040 Internal Server Error: /en/laboratory/tests/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 134, in render compiled_parent = self.get_parent(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 131, in get_parent return self.find_template(parent, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 109, in find_template template, origin = context.template.engine.find_template( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 163, in find_template raise TemplateDoesNotExist(name, tried=tried) django.template.exceptions.TemplateDoesNotExist: base.html The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 109, in render reraise(exc, self.backend) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 130, in reraise raise new from exc django.template.exceptions.TemplateDoesNotExist: base.html ERROR 2025-08-04 12:47:45,868 basehttp 98872 6128087040 "GET /en/laboratory/tests/create/ HTTP/1.1" 500 126868 INFO 2025-08-04 12:50:44,086 basehttp 98872 6128087040 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 21889 INFO 2025-08-04 12:56:35,299 autoreload 98872 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/views.py changed, reloading. INFO 2025-08-04 12:56:35,689 autoreload 3451 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 12:56:38,634 log 3451 6129561600 Internal Server Error: /en/laboratory/tests/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 134, in render compiled_parent = self.get_parent(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 131, in get_parent return self.find_template(parent, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 109, in find_template template, origin = context.template.engine.find_template( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 163, in find_template raise TemplateDoesNotExist(name, tried=tried) django.template.exceptions.TemplateDoesNotExist: base.html The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 109, in render reraise(exc, self.backend) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 130, in reraise raise new from exc django.template.exceptions.TemplateDoesNotExist: base.html ERROR 2025-08-04 12:56:38,636 basehttp 3451 6129561600 "GET /en/laboratory/tests/create/ HTTP/1.1" 500 127607 INFO 2025-08-04 12:57:03,705 basehttp 3451 6129561600 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 35025 INFO 2025-08-04 12:58:11,261 basehttp 3451 6129561600 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 35025 INFO 2025-08-04 12:58:12,884 basehttp 3451 6129561600 "GET /en/ HTTP/1.1" 200 27902 INFO 2025-08-04 12:58:12,935 basehttp 3451 6129561600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 12:58:12,940 basehttp 3451 13304360960 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1010 INFO 2025-08-04 12:58:12,941 basehttp 3451 6163214336 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 12:58:12,941 basehttp 3451 6146387968 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 ERROR 2025-08-04 12:58:17,626 log 3451 6146387968 Internal Server Error: /en/laboratory/tests/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'category' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/views.py", line 140, in get_context_data 'categories': LabTest._meta.get_field('category').choices, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: LabTest has no field named 'category' ERROR 2025-08-04 12:58:17,628 basehttp 3451 6146387968 "GET /en/laboratory/tests/ HTTP/1.1" 500 93149 INFO 2025-08-04 12:59:22,047 autoreload 3451 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/views.py changed, reloading. INFO 2025-08-04 12:59:22,374 autoreload 4703 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 12:59:22,801 log 4703 6197522432 Internal Server Error: /en/laboratory/tests/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'lab_test_form' not found. 'lab_test_form' is not a valid view function or pattern name. ERROR 2025-08-04 12:59:22,803 basehttp 4703 6197522432 "GET /en/laboratory/tests/ HTTP/1.1" 500 167072 ERROR 2025-08-04 13:00:07,154 log 4703 6197522432 Internal Server Error: /en/laboratory/tests/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'lab_test_form' not found. 'lab_test_form' is not a valid view function or pattern name. ERROR 2025-08-04 13:00:07,156 basehttp 4703 6197522432 "GET /en/laboratory/tests/ HTTP/1.1" 500 182058 ERROR 2025-08-04 13:00:29,077 log 4703 6197522432 Internal Server Error: /en/laboratory/tests/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'lab_test_form' not found. 'lab_test_form' is not a valid view function or pattern name. ERROR 2025-08-04 13:00:29,079 basehttp 4703 6197522432 "GET /en/laboratory/tests/ HTTP/1.1" 500 182058 INFO 2025-08-04 13:00:49,359 basehttp 4703 6197522432 "GET /en/laboratory/tests/ HTTP/1.1" 200 23448 INFO 2025-08-04 13:00:53,514 basehttp 4703 6197522432 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 35025 INFO 2025-08-04 13:06:17,753 autoreload 4703 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/models.py changed, reloading. INFO 2025-08-04 13:06:18,073 autoreload 7770 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 13:06:20,848 basehttp 7770 6191116288 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 35025 INFO 2025-08-04 13:06:29,685 autoreload 7770 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/models.py changed, reloading. INFO 2025-08-04 13:06:29,999 autoreload 7861 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 13:06:46,581 autoreload 7955 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 13:08:47,699 autoreload 7955 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/models.py changed, reloading. INFO 2025-08-04 13:08:47,979 autoreload 8881 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 13:10:00,072 autoreload 8881 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/models.py changed, reloading. INFO 2025-08-04 13:10:00,449 autoreload 9520 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 13:11:25,532 autoreload 9520 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/models.py changed, reloading. INFO 2025-08-04 13:11:25,871 autoreload 10132 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 13:11:28,406 basehttp 10132 6131970048 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 35025 INFO 2025-08-04 13:11:32,581 basehttp 10132 6131970048 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 35025 INFO 2025-08-04 13:11:33,479 basehttp 10132 6131970048 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 35025 INFO 2025-08-04 13:11:34,145 basehttp 10132 6131970048 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 35025 INFO 2025-08-04 13:12:57,470 autoreload 10132 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/forms.py changed, reloading. INFO 2025-08-04 13:12:57,746 autoreload 10827 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 13:12:58,065 basehttp 10827 6168604672 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 38061 INFO 2025-08-04 13:13:29,116 basehttp 10827 6168604672 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 38061 INFO 2025-08-04 13:13:48,015 basehttp 10827 6168604672 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 38061 INFO 2025-08-04 13:16:16,455 autoreload 10827 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/forms.py changed, reloading. INFO 2025-08-04 13:16:16,734 autoreload 12207 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 13:16:17,372 basehttp 12207 6192607232 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 38061 INFO 2025-08-04 13:16:18,631 basehttp 12207 6192607232 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 38061 INFO 2025-08-04 13:18:00,877 basehttp 12207 6192607232 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 41045 ERROR 2025-08-04 13:41:40,494 log 12207 6192607232 Internal Server Error: /en/laboratory/tests/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 134, in render compiled_parent = self.get_parent(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 131, in get_parent return self.find_template(parent, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 109, in find_template template, origin = context.template.engine.find_template( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 159, in find_template template = loader.get_template(name, skip=skip) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loaders/cached.py", line 57, in get_template template = super().get_template(template_name, skip) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loaders/base.py", line 28, in get_template return Template( ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 154, in __init__ self.nodelist = self.compile_nodelist() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 196, in compile_nodelist nodelist = parser.parse() ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 518, in parse raise self.error(token, e) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 516, in parse compiled_result = compile_func(self, token) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 228, in do_block raise TemplateSyntaxError( django.template.exceptions.TemplateSyntaxError: 'block' tag with name 'content' appears more than once ERROR 2025-08-04 13:41:40,499 basehttp 12207 6192607232 "GET /en/laboratory/tests/create/ HTTP/1.1" 500 175742 INFO 2025-08-04 13:42:18,041 basehttp 12207 6192607232 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 49550 INFO 2025-08-04 13:42:18,052 basehttp 12207 6209433600 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-04 13:42:18,054 basehttp 12207 6243086336 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-04 13:42:18,056 basehttp 12207 6226259968 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-04 13:42:18,056 basehttp 12207 6192607232 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-04 13:43:23,753 basehttp 12207 6192607232 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 49551 ERROR 2025-08-04 13:43:26,927 log 12207 6192607232 Internal Server Error: /en/laboratory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/views.py", line 57, in get_context_data 'specimens_collected': Specimen.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'collection_datetime' into field. Choices are: chain_of_custody, collected_by, collected_by_id, collected_datetime, collection_method, collection_site, container_type, created_at, id, order, order_id, quality, quality_notes, received_by, received_by_id, received_datetime, rejection_reason, results, specimen_id, specimen_number, specimen_type, status, storage_location, storage_temperature, updated_at, volume ERROR 2025-08-04 13:43:26,930 basehttp 12207 6192607232 "GET /en/laboratory/ HTTP/1.1" 500 131945 INFO 2025-08-04 13:43:32,719 basehttp 12207 6192607232 "GET /en/laboratory/tests/ HTTP/1.1" 200 31954 WARNING 2025-08-04 13:46:28,528 log 12207 6192607232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 13:46:28,528 basehttp 12207 6192607232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 13:46:28,564 basehttp 12207 6192607232 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-04 13:46:33,067 basehttp 12207 6192607232 "GET /en/laboratory/tests/ HTTP/1.1" 200 31954 INFO 2025-08-04 13:46:33,074 basehttp 12207 6243086336 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-04 13:46:33,075 basehttp 12207 6276739072 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-04 13:46:33,076 basehttp 12207 6259912704 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-04 13:46:33,079 basehttp 12207 6259912704 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 WARNING 2025-08-04 13:46:33,087 log 12207 6243086336 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 13:46:33,087 basehttp 12207 6243086336 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 13:46:33,088 basehttp 12207 6192607232 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-04 13:46:33,090 basehttp 12207 6259912704 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-04 13:46:33,093 basehttp 12207 6209433600 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-04 13:46:33,094 basehttp 12207 6226259968 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-04 13:46:33,097 basehttp 12207 6276739072 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-04 13:46:33,445 basehttp 12207 6276739072 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-04 13:46:33,465 basehttp 12207 6276739072 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-04 13:46:33,465 basehttp 12207 6192607232 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-04 13:46:33,467 basehttp 12207 6226259968 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-04 13:46:33,468 basehttp 12207 6209433600 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-04 13:46:33,469 basehttp 12207 6259912704 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-04 13:46:33,469 basehttp 12207 6192607232 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-04 13:46:33,470 basehttp 12207 6226259968 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-04 13:46:33,471 basehttp 12207 6243086336 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-04 13:46:33,474 basehttp 12207 6209433600 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-04 13:46:33,474 basehttp 12207 6276739072 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-04 13:46:33,475 basehttp 12207 6192607232 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-04 13:46:33,476 basehttp 12207 6243086336 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-04 13:46:33,476 basehttp 12207 6259912704 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-04 13:46:33,477 basehttp 12207 6226259968 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-04 13:46:33,479 basehttp 12207 6209433600 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-04 13:46:33,479 basehttp 12207 6192607232 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-04 13:46:33,479 basehttp 12207 6276739072 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-04 13:46:33,480 basehttp 12207 6259912704 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-04 13:46:33,481 basehttp 12207 6192607232 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-04 13:46:33,481 basehttp 12207 6243086336 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-04 13:46:33,482 basehttp 12207 6226259968 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-04 13:46:33,482 basehttp 12207 6276739072 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-04 13:46:33,482 basehttp 12207 6209433600 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 WARNING 2025-08-04 13:46:33,579 log 12207 6276739072 Not Found: /favicon.ico WARNING 2025-08-04 13:46:33,579 basehttp 12207 6276739072 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-04 13:46:50,716 basehttp 12207 6276739072 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 49551 WARNING 2025-08-04 13:46:50,732 log 12207 6276739072 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 13:46:50,732 basehttp 12207 6276739072 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 13:46:54,304 log 12207 6276739072 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 13:46:54,304 basehttp 12207 6276739072 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 13:46:54,322 log 12207 6276739072 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 13:46:54,322 basehttp 12207 6276739072 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 13:48:06,460 basehttp 12207 6276739072 "GET / HTTP/1.1" 302 0 INFO 2025-08-04 13:48:06,478 basehttp 12207 6209433600 "GET /en/ HTTP/1.1" 200 36382 WARNING 2025-08-04 13:48:06,496 log 12207 6209433600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 13:48:06,496 basehttp 12207 6209433600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 13:49:43,863 basehttp 12207 6209433600 "GET /en/ HTTP/1.1" 200 36462 INFO 2025-08-04 13:49:43,873 basehttp 12207 6259912704 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-04 13:49:43,874 basehttp 12207 6192607232 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-04 13:49:43,874 basehttp 12207 6276739072 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-04 13:49:43,877 basehttp 12207 6276739072 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-04 13:49:43,881 basehttp 12207 6209433600 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-04 13:49:43,887 basehttp 12207 6276739072 "GET /static/js/app.min.js HTTP/1.1" 200 110394 WARNING 2025-08-04 13:49:43,892 log 12207 6209433600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 13:49:43,892 basehttp 12207 6209433600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 13:49:43,893 basehttp 12207 6243086336 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-04 13:49:43,895 basehttp 12207 6226259968 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-04 13:49:43,899 basehttp 12207 6192607232 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-04 13:49:44,222 basehttp 12207 6192607232 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-04 13:49:44,224 basehttp 12207 6243086336 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-04 13:49:44,224 basehttp 12207 6226259968 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-04 13:49:44,224 basehttp 12207 6276739072 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-04 13:49:44,225 basehttp 12207 6209433600 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-04 13:49:44,227 basehttp 12207 6259912704 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-04 13:49:44,228 basehttp 12207 6243086336 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-04 13:49:44,229 basehttp 12207 6226259968 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-04 13:49:44,229 basehttp 12207 6276739072 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-04 13:49:44,231 basehttp 12207 6209433600 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-04 13:49:44,231 basehttp 12207 6259912704 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-04 13:49:44,232 basehttp 12207 6243086336 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-04 13:49:44,233 basehttp 12207 6226259968 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-04 13:49:44,234 basehttp 12207 6192607232 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-04 13:49:44,235 basehttp 12207 6243086336 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-04 13:49:44,236 basehttp 12207 6209433600 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-04 13:49:44,237 basehttp 12207 6276739072 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-04 13:49:44,238 basehttp 12207 6259912704 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-04 13:49:44,239 basehttp 12207 6192607232 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-04 13:49:44,240 basehttp 12207 6226259968 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-04 13:49:44,241 basehttp 12207 6243086336 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-04 13:49:44,241 basehttp 12207 6209433600 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-04 13:49:44,241 basehttp 12207 6259912704 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-04 13:49:44,247 basehttp 12207 6276739072 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-04 13:49:44,277 basehttp 12207 6259912704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 WARNING 2025-08-04 13:49:44,280 log 12207 6276739072 Not Found: /favicon.ico WARNING 2025-08-04 13:49:44,281 basehttp 12207 6276739072 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-04 13:49:44,283 basehttp 12207 6209433600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:49:44,283 basehttp 12207 6226259968 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1010 INFO 2025-08-04 13:49:44,285 basehttp 12207 6243086336 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 13:50:14,598 basehttp 12207 6243086336 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:50:44,622 basehttp 12207 6226259968 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 13:50:44,622 basehttp 12207 6243086336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 13:50:45,606 basehttp 12207 6243086336 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:51:16,596 basehttp 12207 6243086336 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:51:30,832 autoreload 27992 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 13:51:36,254 basehttp 27992 6166016000 "GET /en/ HTTP/1.1" 200 36486 INFO 2025-08-04 13:51:36,269 basehttp 27992 13186969600 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-04 13:51:36,271 basehttp 27992 13220622336 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-04 13:51:36,272 basehttp 27992 13237448704 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-04 13:51:36,275 basehttp 27992 13220622336 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-04 13:51:36,284 basehttp 27992 6166016000 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 WARNING 2025-08-04 13:51:36,285 log 27992 13186969600 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-04 13:51:36,286 basehttp 27992 13220622336 "GET /static/js/app.min.js HTTP/1.1" 200 110394 WARNING 2025-08-04 13:51:36,286 basehttp 27992 13186969600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 13:51:36,294 basehttp 27992 13203795968 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-04 13:51:36,305 basehttp 27992 13170143232 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-04 13:51:36,306 basehttp 27992 13237448704 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-04 13:51:36,578 basehttp 27992 13237448704 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-04 13:51:36,677 basehttp 27992 13237448704 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-04 13:51:36,679 basehttp 27992 13170143232 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-04 13:51:36,681 basehttp 27992 13220622336 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-04 13:51:36,683 basehttp 27992 13170143232 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-04 13:51:36,684 basehttp 27992 13186969600 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-04 13:51:36,684 basehttp 27992 13203795968 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-04 13:51:36,686 basehttp 27992 6166016000 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-04 13:51:36,688 basehttp 27992 13237448704 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-04 13:51:36,700 basehttp 27992 13237448704 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-04 13:51:36,699 basehttp 27992 6166016000 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-04 13:51:36,701 basehttp 27992 6166016000 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-04 13:51:36,703 basehttp 27992 13237448704 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-04 13:51:36,705 basehttp 27992 6166016000 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-04 13:51:36,709 basehttp 27992 6166016000 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-04 13:51:36,714 basehttp 27992 13220622336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 13:51:36,720 basehttp 27992 13170143232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:51:36,721 basehttp 27992 6166016000 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-04 13:51:36,721 basehttp 27992 13237448704 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-04 13:51:36,724 basehttp 27992 13220622336 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-04 13:51:36,725 basehttp 27992 13170143232 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-04 13:51:36,734 basehttp 27992 13186969600 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 13:51:36,735 basehttp 27992 13203795968 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1010 INFO 2025-08-04 13:51:37,115 basehttp 27992 6166016000 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-04 13:51:37,115 basehttp 27992 13170143232 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-04 13:51:37,115 basehttp 27992 13220622336 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-04 13:51:37,116 basehttp 27992 13186969600 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-04 13:51:37,116 basehttp 27992 13237448704 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 WARNING 2025-08-04 13:51:37,127 log 27992 13186969600 Not Found: /favicon.ico WARNING 2025-08-04 13:51:37,127 basehttp 27992 13186969600 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-04 13:52:06,702 basehttp 27992 13186969600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:52:36,723 basehttp 27992 13186969600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 13:52:36,723 basehttp 27992 13170143232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 13:52:36,724 basehttp 27992 13220622336 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:53:06,710 basehttp 27992 13220622336 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:53:16,614 basehttp 27992 13220622336 "GET /en/ HTTP/1.1" 200 36462 WARNING 2025-08-04 13:53:16,633 log 27992 13220622336 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 13:53:16,633 basehttp 27992 13220622336 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 13:53:16,988 basehttp 27992 13220622336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 13:53:16,991 basehttp 27992 13186969600 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 13:53:16,992 basehttp 27992 13237448704 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1010 INFO 2025-08-04 13:53:16,993 basehttp 27992 13170143232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:53:24,889 basehttp 27992 13170143232 "GET /en/ HTTP/1.1" 200 36462 INFO 2025-08-04 13:53:24,899 basehttp 27992 13186969600 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-04 13:53:24,900 basehttp 27992 6166016000 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-04 13:53:24,902 basehttp 27992 13203795968 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-04 13:53:24,904 basehttp 27992 13186969600 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-04 13:53:24,911 basehttp 27992 13186969600 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-04 13:53:24,911 basehttp 27992 13170143232 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 WARNING 2025-08-04 13:53:24,917 log 27992 6166016000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 13:53:24,918 basehttp 27992 6166016000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 13:53:24,923 basehttp 27992 13220622336 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-04 13:53:24,925 basehttp 27992 13237448704 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-04 13:53:24,925 basehttp 27992 13203795968 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-04 13:53:25,114 basehttp 27992 13203795968 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-04 13:53:25,282 basehttp 27992 13170143232 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-04 13:53:25,282 basehttp 27992 13203795968 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-04 13:53:25,282 basehttp 27992 6166016000 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-04 13:53:25,282 basehttp 27992 13220622336 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-04 13:53:25,284 basehttp 27992 13237448704 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-04 13:53:25,284 basehttp 27992 13186969600 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-04 13:53:25,287 basehttp 27992 13203795968 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-04 13:53:25,288 basehttp 27992 6166016000 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-04 13:53:25,289 basehttp 27992 13220622336 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-04 13:53:25,290 basehttp 27992 13170143232 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-04 13:53:25,290 basehttp 27992 13220622336 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-04 13:53:25,291 basehttp 27992 13170143232 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-04 13:53:25,292 basehttp 27992 13220622336 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-04 13:53:25,293 basehttp 27992 13170143232 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-04 13:53:25,293 basehttp 27992 13220622336 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-04 13:53:25,294 basehttp 27992 13220622336 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-04 13:53:25,294 basehttp 27992 13170143232 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-04 13:53:25,296 basehttp 27992 13170143232 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-04 13:53:25,296 basehttp 27992 13220622336 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-04 13:53:25,297 basehttp 27992 13220622336 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-04 13:53:25,297 basehttp 27992 13170143232 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-04 13:53:25,299 basehttp 27992 13220622336 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-04 13:53:25,299 basehttp 27992 13170143232 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-04 13:53:25,311 basehttp 27992 13237448704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 13:53:25,319 basehttp 27992 13203795968 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1010 INFO 2025-08-04 13:53:25,320 basehttp 27992 6166016000 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 13:53:25,322 basehttp 27992 13186969600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 WARNING 2025-08-04 13:53:25,326 log 27992 13203795968 Not Found: /favicon.ico WARNING 2025-08-04 13:53:25,326 basehttp 27992 13203795968 "GET /favicon.ico HTTP/1.1" 404 2557 ERROR 2025-08-04 13:53:29,501 log 27992 13203795968 Internal Server Error: /en/audit-log/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'audit_log_export' not found. 'audit_log_export' is not a valid view function or pattern name. ERROR 2025-08-04 13:53:29,503 basehttp 27992 13203795968 "GET /en/audit-log/ HTTP/1.1" 500 156569 WARNING 2025-08-04 13:53:29,517 log 27992 13203795968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 13:53:29,518 basehttp 27992 13203795968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 13:53:33,820 log 27992 13203795968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 13:53:33,820 basehttp 27992 13203795968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 13:53:33,834 log 27992 13203795968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 13:53:33,834 basehttp 27992 13203795968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 13:53:40,453 basehttp 27992 13203795968 "GET /en/ HTTP/1.1" 200 36462 WARNING 2025-08-04 13:53:40,469 log 27992 13203795968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 13:53:40,469 basehttp 27992 13203795968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 13:53:40,568 basehttp 27992 13203795968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 13:53:40,569 basehttp 27992 13237448704 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1010 INFO 2025-08-04 13:53:40,569 basehttp 27992 6166016000 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 13:53:40,571 basehttp 27992 13186969600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:53:48,636 basehttp 27992 13186969600 "GET /en/ HTTP/1.1" 200 36462 WARNING 2025-08-04 13:53:48,653 log 27992 13186969600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 13:53:48,653 basehttp 27992 13186969600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 13:53:48,725 basehttp 27992 13186969600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 13:53:48,728 basehttp 27992 13203795968 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1010 INFO 2025-08-04 13:53:48,729 basehttp 27992 13237448704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 13:53:48,731 basehttp 27992 6166016000 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:54:18,716 basehttp 27992 6166016000 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:54:48,737 basehttp 27992 6166016000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 13:54:48,737 basehttp 27992 13237448704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 13:54:48,740 basehttp 27992 13203795968 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:55:18,721 basehttp 27992 13203795968 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:55:48,741 basehttp 27992 13203795968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 13:55:48,742 basehttp 27992 13237448704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 13:55:48,743 basehttp 27992 6166016000 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:56:18,726 basehttp 27992 6166016000 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:56:48,742 basehttp 27992 6166016000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 13:56:48,743 basehttp 27992 13237448704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 13:56:48,744 basehttp 27992 13203795968 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:57:18,728 basehttp 27992 13203795968 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:57:48,746 basehttp 27992 13203795968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 13:57:48,747 basehttp 27992 13237448704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 13:57:48,748 basehttp 27992 6166016000 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:58:18,742 basehttp 27992 6166016000 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:58:48,746 basehttp 27992 6166016000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 13:58:48,748 basehttp 27992 13237448704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 13:58:48,750 basehttp 27992 13203795968 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:59:18,746 basehttp 27992 6166016000 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 13:59:48,750 basehttp 27992 6166016000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 13:59:48,753 basehttp 27992 13170143232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 13:59:48,754 basehttp 27992 13186969600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 14:00:18,752 basehttp 27992 13186969600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 14:00:48,756 basehttp 27992 13186969600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 14:00:48,756 basehttp 27992 13170143232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 14:00:48,759 basehttp 27992 6166016000 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 14:01:18,756 basehttp 27992 6166016000 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 14:01:48,756 basehttp 27992 6166016000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 14:01:48,757 basehttp 27992 13170143232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 14:01:48,760 basehttp 27992 13186969600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 14:02:18,766 basehttp 27992 13186969600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 14:05:44,443 basehttp 27992 6166016000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 14:05:44,446 basehttp 27992 13170143232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 14:05:44,446 basehttp 27992 13186969600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 14:06:15,444 basehttp 27992 6166016000 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 15:06:52,132 basehttp 27992 6166016000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 15:06:52,133 basehttp 27992 13170143232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 15:06:52,135 basehttp 27992 13186969600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 15:09:45,508 basehttp 27992 6166016000 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 15:09:45,510 basehttp 27992 13186969600 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 15:09:45,510 basehttp 27992 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 15:46:23,334 basehttp 27992 13170143232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 15:48:42,496 basehttp 27992 6166016000 "GET / HTTP/1.1" 302 0 INFO 2025-08-04 15:48:42,509 basehttp 27992 6166016000 "GET /en/ HTTP/1.1" 200 36495 WARNING 2025-08-04 15:49:49,686 log 27992 6166016000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 15:49:49,686 basehttp 27992 6166016000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 15:49:57,911 basehttp 27992 6166016000 "GET /en/ HTTP/1.1" 200 36495 INFO 2025-08-04 15:49:57,920 basehttp 27992 13186969600 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-04 15:49:57,920 basehttp 27992 13237448704 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-04 15:49:57,923 basehttp 27992 13186969600 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-04 15:49:57,925 basehttp 27992 13237448704 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 WARNING 2025-08-04 15:49:57,929 log 27992 13220622336 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 15:49:57,930 basehttp 27992 13220622336 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 15:49:57,934 basehttp 27992 6166016000 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-04 15:49:57,936 basehttp 27992 13237448704 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-04 15:49:57,940 basehttp 27992 13203795968 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-04 15:49:57,942 basehttp 27992 13170143232 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-04 15:49:57,943 basehttp 27992 13186969600 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-04 15:49:58,205 basehttp 27992 13203795968 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-04 15:49:58,205 basehttp 27992 13186969600 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-04 15:49:58,205 basehttp 27992 13170143232 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-04 15:49:58,208 basehttp 27992 13237448704 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-04 15:49:58,208 basehttp 27992 6166016000 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-04 15:49:58,208 basehttp 27992 13203795968 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-04 15:49:58,210 basehttp 27992 13220622336 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-04 15:49:58,212 basehttp 27992 13170143232 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-04 15:49:58,212 basehttp 27992 13237448704 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-04 15:49:58,213 basehttp 27992 13203795968 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-04 15:49:58,214 basehttp 27992 6166016000 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-04 15:49:58,215 basehttp 27992 13220622336 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-04 15:49:58,216 basehttp 27992 13170143232 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-04 15:49:58,217 basehttp 27992 13203795968 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-04 15:49:58,218 basehttp 27992 13237448704 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-04 15:49:58,218 basehttp 27992 13186969600 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-04 15:49:58,219 basehttp 27992 6166016000 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-04 15:49:58,220 basehttp 27992 13170143232 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-04 15:49:58,220 basehttp 27992 13203795968 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-04 15:49:58,221 basehttp 27992 13186969600 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-04 15:49:58,222 basehttp 27992 13237448704 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-04 15:49:58,222 basehttp 27992 6166016000 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-04 15:49:58,222 basehttp 27992 13170143232 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-04 15:49:58,225 basehttp 27992 13220622336 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 WARNING 2025-08-04 15:49:58,485 log 27992 13220622336 Not Found: /favicon.ico WARNING 2025-08-04 15:49:58,485 basehttp 27992 13220622336 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-04 15:53:00,699 autoreload 37392 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 15:53:08,285 basehttp 37392 6201241600 "GET /en/ HTTP/1.1" 200 36456 INFO 2025-08-04 15:53:08,302 basehttp 37392 6234894336 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-04 15:53:08,302 basehttp 37392 6285373440 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-04 15:53:08,305 basehttp 37392 6234894336 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-04 15:53:08,307 basehttp 37392 6268547072 "GET /static/plugins/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-04 15:53:08,308 basehttp 37392 6234894336 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-04 15:53:08,310 basehttp 37392 6201241600 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 WARNING 2025-08-04 15:53:08,319 log 37392 6285373440 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-04 15:53:08,319 basehttp 37392 6251720704 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 WARNING 2025-08-04 15:53:08,320 basehttp 37392 6285373440 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 15:53:08,322 basehttp 37392 6234894336 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-04 15:53:08,329 basehttp 37392 6218067968 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-04 15:53:08,331 basehttp 37392 6268547072 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-04 15:53:08,472 basehttp 37392 6268547072 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-04 15:53:08,474 basehttp 37392 6251720704 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-04 15:53:08,475 basehttp 37392 6218067968 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-04 15:53:08,475 basehttp 37392 6234894336 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-04 15:53:08,476 basehttp 37392 6201241600 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-04 15:53:08,476 basehttp 37392 6285373440 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-04 15:53:08,478 basehttp 37392 6251720704 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-04 15:53:08,479 basehttp 37392 6234894336 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-04 15:53:08,479 basehttp 37392 6201241600 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-04 15:53:08,479 basehttp 37392 6218067968 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-04 15:53:08,481 basehttp 37392 6285373440 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-04 15:53:08,483 basehttp 37392 6234894336 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-04 15:53:08,483 basehttp 37392 6218067968 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-04 15:53:08,483 basehttp 37392 6201241600 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-04 15:53:08,483 basehttp 37392 6251720704 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-04 15:53:08,484 basehttp 37392 6268547072 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-04 15:53:08,484 basehttp 37392 6285373440 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-04 15:53:08,487 basehttp 37392 6234894336 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-04 15:53:08,487 basehttp 37392 6218067968 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-04 15:53:08,488 basehttp 37392 6251720704 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-04 15:53:08,488 basehttp 37392 6268547072 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-04 15:53:08,491 basehttp 37392 6285373440 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-04 15:53:08,492 basehttp 37392 6285373440 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-04 15:53:08,494 basehttp 37392 6201241600 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-04 15:53:08,518 basehttp 37392 6234894336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 15:53:08,525 basehttp 37392 6218067968 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 15:53:08,526 basehttp 37392 6268547072 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1010 INFO 2025-08-04 15:53:08,528 basehttp 37392 6251720704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 WARNING 2025-08-04 15:53:08,581 log 37392 6251720704 Not Found: /favicon.ico WARNING 2025-08-04 15:53:08,581 basehttp 37392 6251720704 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-04 15:53:19,986 basehttp 37392 6251720704 "GET /en/ HTTP/1.1" 200 36456 INFO 2025-08-04 15:53:19,997 basehttp 37392 6234894336 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-04 15:53:19,999 basehttp 37392 6234894336 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-04 15:53:20,000 basehttp 37392 6285373440 "GET /static/plugins/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-04 15:53:20,003 basehttp 37392 6234894336 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-04 15:53:20,004 basehttp 37392 6285373440 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 WARNING 2025-08-04 15:53:20,008 log 37392 6251720704 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-04 15:53:20,008 basehttp 37392 6268547072 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 WARNING 2025-08-04 15:53:20,009 basehttp 37392 6251720704 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 15:53:20,013 basehttp 37392 6234894336 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-04 15:53:20,017 basehttp 37392 6201241600 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-04 15:53:20,019 basehttp 37392 6218067968 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-04 15:53:20,020 basehttp 37392 6285373440 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-04 15:53:20,170 basehttp 37392 6285373440 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-04 15:53:20,171 basehttp 37392 6234894336 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-04 15:53:20,172 basehttp 37392 6218067968 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-04 15:53:20,172 basehttp 37392 6251720704 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-04 15:53:20,173 basehttp 37392 6201241600 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-04 15:53:20,174 basehttp 37392 6268547072 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-04 15:53:20,174 basehttp 37392 6234894336 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-04 15:53:20,175 basehttp 37392 6251720704 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-04 15:53:20,175 basehttp 37392 6218067968 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-04 15:53:20,176 basehttp 37392 6285373440 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-04 15:53:20,177 basehttp 37392 6268547072 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-04 15:53:20,177 basehttp 37392 6234894336 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-04 15:53:20,178 basehttp 37392 6201241600 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-04 15:53:20,178 basehttp 37392 6218067968 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-04 15:53:20,178 basehttp 37392 6251720704 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-04 15:53:20,180 basehttp 37392 6268547072 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-04 15:53:20,181 basehttp 37392 6285373440 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-04 15:53:20,181 basehttp 37392 6218067968 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-04 15:53:20,181 basehttp 37392 6234894336 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-04 15:53:20,182 basehttp 37392 6201241600 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-04 15:53:20,182 basehttp 37392 6251720704 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-04 15:53:20,182 basehttp 37392 6268547072 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-04 15:53:20,183 basehttp 37392 6285373440 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-04 15:53:20,186 basehttp 37392 6285373440 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-04 15:53:20,218 basehttp 37392 6201241600 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1010 INFO 2025-08-04 15:53:20,220 basehttp 37392 6285373440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 2 INFO 2025-08-04 15:53:20,220 basehttp 37392 6251720704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 15:53:20,221 basehttp 37392 6268547072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 WARNING 2025-08-04 15:53:20,271 log 37392 6268547072 Not Found: /favicon.ico WARNING 2025-08-04 15:53:20,272 basehttp 37392 6268547072 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-04 15:53:50,557 basehttp 37392 6268547072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 15:57:11,397 autoreload 39258 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 15:57:12,021 log 39258 6132035584 Internal Server Error: /en/audit-log/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'audit_log_export' not found. 'audit_log_export' is not a valid view function or pattern name. ERROR 2025-08-04 15:57:12,023 basehttp 39258 6132035584 "GET /en/audit-log/ HTTP/1.1" 500 156749 WARNING 2025-08-04 15:57:12,033 log 39258 6132035584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 15:57:12,033 basehttp 39258 6132035584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 16:29:41,970 autoreload 53518 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 16:29:43,722 basehttp 53518 6167261184 "GET / HTTP/1.1" 302 0 INFO 2025-08-04 16:29:43,824 basehttp 53518 6167261184 "GET /en/ HTTP/1.1" 302 0 WARNING 2025-08-04 16:29:43,830 log 53518 6167261184 Not Found: /accounts/login/ WARNING 2025-08-04 16:29:43,830 basehttp 53518 6167261184 "GET /accounts/login/?next=/en/ HTTP/1.1" 404 2579 INFO 2025-08-04 17:05:59,741 autoreload 69142 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 17:06:08,842 basehttp 69142 6201962496 "GET /en/admin HTTP/1.1" 301 0 INFO 2025-08-04 17:06:08,947 basehttp 69142 6201962496 "GET /en/admin/ HTTP/1.1" 302 0 INFO 2025-08-04 17:06:08,961 basehttp 69142 6201962496 "GET /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4212 INFO 2025-08-04 17:06:08,979 basehttp 69142 6269267968 "GET /static/admin/css/login.css HTTP/1.1" 200 951 INFO 2025-08-04 17:06:08,980 basehttp 69142 6235615232 "GET /static/admin/css/dark_mode.css HTTP/1.1" 200 2808 INFO 2025-08-04 17:06:08,980 basehttp 69142 6252441600 "GET /static/admin/css/nav_sidebar.css HTTP/1.1" 200 2810 INFO 2025-08-04 17:06:08,980 basehttp 69142 6218788864 "GET /static/admin/css/base.css HTTP/1.1" 200 22120 INFO 2025-08-04 17:06:08,982 basehttp 69142 6269267968 "GET /static/admin/js/theme.js HTTP/1.1" 200 1653 INFO 2025-08-04 17:06:08,983 basehttp 69142 6286094336 "GET /static/admin/css/responsive.css HTTP/1.1" 200 16565 WARNING 2025-08-04 17:06:08,983 log 69142 6201962496 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:06:08,983 basehttp 69142 6201962496 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 17:06:08,984 basehttp 69142 6286094336 "GET /static/admin/js/nav_sidebar.js HTTP/1.1" 200 3063 INFO 2025-08-04 17:06:10,522 basehttp 69142 6286094336 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4380 WARNING 2025-08-04 17:06:10,541 log 69142 6286094336 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:06:10,541 basehttp 69142 6286094336 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 17:06:16,580 basehttp 69142 6286094336 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4380 WARNING 2025-08-04 17:06:16,599 log 69142 6286094336 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:06:16,599 basehttp 69142 6286094336 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 17:07:36,466 autoreload 69849 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 17:07:38,687 basehttp 69849 6192869376 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 302 0 INFO 2025-08-04 17:07:38,777 basehttp 69849 6192869376 "GET /en/admin/ HTTP/1.1" 200 84715 INFO 2025-08-04 17:07:38,790 basehttp 69849 6209695744 "GET /static/admin/css/dashboard.css HTTP/1.1" 200 441 WARNING 2025-08-04 17:07:38,793 log 69849 6192869376 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:07:38,794 basehttp 69849 6192869376 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 17:07:38,794 basehttp 69849 6226522112 "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 200 380 INFO 2025-08-04 17:07:38,794 basehttp 69849 6209695744 "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 200 331 INFO 2025-08-04 17:07:41,792 basehttp 69849 6209695744 "GET / HTTP/1.1" 302 0 INFO 2025-08-04 17:07:41,811 basehttp 69849 6226522112 "GET /en/ HTTP/1.1" 200 50326 INFO 2025-08-04 17:07:41,820 basehttp 69849 6192869376 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 WARNING 2025-08-04 17:07:41,825 log 69849 6226522112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:07:41,825 basehttp 69849 6226522112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 17:07:41,933 basehttp 69849 6226522112 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6714 INFO 2025-08-04 17:07:41,937 basehttp 69849 6243348480 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1048 INFO 2025-08-04 17:07:41,938 basehttp 69849 6209695744 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 17:07:41,938 basehttp 69849 6192869376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 17:08:11,899 basehttp 69849 6192869376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 WARNING 2025-08-04 17:08:16,794 log 69849 6192869376 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:08:16,794 basehttp 69849 6192869376 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 17:08:16,807 log 69849 6192869376 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:08:16,807 basehttp 69849 6192869376 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 17:08:35,161 log 69849 6192869376 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:08:35,161 basehttp 69849 6192869376 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 17:08:35,169 log 69849 6192869376 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:08:35,169 basehttp 69849 6192869376 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 17:08:37,601 basehttp 69849 6192869376 "GET /en/admin/accounts/user/ HTTP/1.1" 200 75174 INFO 2025-08-04 17:08:37,615 basehttp 69849 6209695744 "GET /static/admin/css/changelists.css HTTP/1.1" 200 6878 INFO 2025-08-04 17:08:37,616 basehttp 69849 6260174848 "GET /static/admin/js/jquery.init.js HTTP/1.1" 200 347 INFO 2025-08-04 17:08:37,617 basehttp 69849 6277001216 "GET /static/admin/js/core.js HTTP/1.1" 200 6208 INFO 2025-08-04 17:08:37,618 basehttp 69849 6260174848 "GET /static/admin/js/actions.js HTTP/1.1" 200 8076 INFO 2025-08-04 17:08:37,618 basehttp 69849 6209695744 "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 200 9777 INFO 2025-08-04 17:08:37,619 basehttp 69849 6277001216 "GET /static/admin/js/urlify.js HTTP/1.1" 200 7887 INFO 2025-08-04 17:08:37,621 basehttp 69849 6260174848 "GET /static/admin/js/prepopulate.js HTTP/1.1" 200 1531 INFO 2025-08-04 17:08:37,623 basehttp 69849 6260174848 "GET /static/admin/img/icon-yes.svg HTTP/1.1" 200 436 INFO 2025-08-04 17:08:37,624 basehttp 69849 6226522112 "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 200 285314 INFO 2025-08-04 17:08:37,625 basehttp 69849 6277001216 "GET /static/admin/img/search.svg HTTP/1.1" 200 458 INFO 2025-08-04 17:08:37,626 basehttp 69849 6260174848 "GET /static/admin/img/icon-no.svg HTTP/1.1" 200 560 INFO 2025-08-04 17:08:37,626 basehttp 69849 6209695744 "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 200 325171 WARNING 2025-08-04 17:08:37,629 log 69849 6192869376 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:08:37,630 basehttp 69849 6192869376 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 17:08:37,630 basehttp 69849 6209695744 "GET /static/admin/js/filters.js HTTP/1.1" 200 978 INFO 2025-08-04 17:08:37,632 basehttp 69849 6243348480 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 17:08:37,650 basehttp 69849 6243348480 "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 200 331 INFO 2025-08-04 17:08:37,650 basehttp 69849 6209695744 "GET /static/admin/img/icon-viewlink.svg HTTP/1.1" 200 581 INFO 2025-08-04 17:08:38,874 basehttp 69849 6209695744 "GET /en/admin/accounts/user/1/change/ HTTP/1.1" 200 149388 INFO 2025-08-04 17:08:38,886 basehttp 69849 6243348480 "GET /static/admin/css/forms.css HTTP/1.1" 200 8525 INFO 2025-08-04 17:08:38,887 basehttp 69849 6260174848 "GET /static/admin/js/calendar.js HTTP/1.1" 200 9141 INFO 2025-08-04 17:08:38,887 basehttp 69849 6226522112 "GET /static/admin/js/SelectBox.js HTTP/1.1" 200 4530 INFO 2025-08-04 17:08:38,888 basehttp 69849 6277001216 "GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 200 19319 INFO 2025-08-04 17:08:38,889 basehttp 69849 6243348480 "GET /static/admin/js/SelectFilter2.js HTTP/1.1" 200 15845 INFO 2025-08-04 17:08:38,889 basehttp 69849 6260174848 "GET /static/admin/css/widgets.css HTTP/1.1" 200 11991 INFO 2025-08-04 17:08:38,889 basehttp 69849 6226522112 "GET /static/admin/js/prepopulate_init.js HTTP/1.1" 200 586 WARNING 2025-08-04 17:08:38,892 log 69849 6209695744 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-04 17:08:38,892 basehttp 69849 6226522112 "GET /static/admin/img/icon-deletelink.svg HTTP/1.1" 200 392 WARNING 2025-08-04 17:08:38,892 basehttp 69849 6209695744 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 17:08:38,895 basehttp 69849 6209695744 "GET /static/admin/js/change_form.js HTTP/1.1" 200 606 INFO 2025-08-04 17:08:38,895 basehttp 69849 6192869376 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 17:08:38,937 basehttp 69849 6209695744 "GET /static/admin/img/icon-calendar.svg HTTP/1.1" 200 1086 INFO 2025-08-04 17:08:38,937 basehttp 69849 6192869376 "GET /static/admin/img/selector-icons.svg HTTP/1.1" 200 3291 INFO 2025-08-04 17:08:38,938 basehttp 69849 6226522112 "GET /static/admin/img/icon-clock.svg HTTP/1.1" 200 677 INFO 2025-08-04 17:58:10,344 autoreload 85373 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 17:58:25,822 basehttp 85373 6167162880 "POST /en/admin/accounts/user/1/change/ HTTP/1.1" 302 0 INFO 2025-08-04 17:58:25,848 basehttp 85373 6167162880 "GET /en/admin/accounts/user/ HTTP/1.1" 200 75361 WARNING 2025-08-04 17:58:25,874 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:58:25,875 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 17:58:25,876 basehttp 85373 12901707776 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 17:58:36,094 basehttp 85373 12901707776 "GET / HTTP/1.1" 302 0 INFO 2025-08-04 17:58:36,140 basehttp 85373 6167162880 "GET /en/ HTTP/1.1" 200 50324 WARNING 2025-08-04 17:58:36,157 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:58:36,157 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 17:58:36,234 basehttp 85373 6167162880 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6719 INFO 2025-08-04 17:58:36,238 basehttp 85373 12935360512 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1048 INFO 2025-08-04 17:58:36,239 basehttp 85373 12918534144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 17:58:36,242 basehttp 85373 12901707776 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 17:58:40,208 basehttp 85373 12901707776 "GET /en/ HTTP/1.1" 200 50324 WARNING 2025-08-04 17:58:40,225 log 85373 12901707776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:58:40,225 basehttp 85373 12901707776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 17:58:40,300 basehttp 85373 12901707776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6719 INFO 2025-08-04 17:58:40,304 basehttp 85373 12935360512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 17:58:40,306 basehttp 85373 6167162880 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1048 INFO 2025-08-04 17:58:40,309 basehttp 85373 12918534144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 WARNING 2025-08-04 17:58:43,225 log 85373 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:58:43,225 basehttp 85373 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 17:58:43,233 log 85373 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:58:43,233 basehttp 85373 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 17:58:56,212 basehttp 85373 12918534144 "GET /en/admin/core/tenant/?o=-1 HTTP/1.1" 200 78449 INFO 2025-08-04 17:58:56,226 basehttp 85373 12918534144 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 17:58:56,237 basehttp 85373 12918534144 "GET /static/admin/img/sorting-icons.svg HTTP/1.1" 200 1097 INFO 2025-08-04 17:58:59,952 basehttp 85373 12918534144 "GET /en/admin/accounts/user/ HTTP/1.1" 200 75158 INFO 2025-08-04 17:58:59,962 basehttp 85373 12918534144 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 17:59:00,993 basehttp 85373 12918534144 "GET /en/admin/accounts/user/1/change/ HTTP/1.1" 200 149440 INFO 2025-08-04 17:59:01,008 basehttp 85373 12918534144 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 17:59:09,818 basehttp 85373 12918534144 "POST /en/admin/accounts/user/1/change/ HTTP/1.1" 302 0 INFO 2025-08-04 17:59:09,840 basehttp 85373 12918534144 "GET /en/admin/accounts/user/ HTTP/1.1" 200 75378 INFO 2025-08-04 17:59:09,853 basehttp 85373 12918534144 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 17:59:11,052 basehttp 85373 12918534144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 17:59:14,535 basehttp 85373 12918534144 "GET /en/ HTTP/1.1" 200 50324 WARNING 2025-08-04 17:59:14,552 log 85373 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:59:14,552 basehttp 85373 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 17:59:14,622 basehttp 85373 12918534144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6719 INFO 2025-08-04 17:59:14,624 basehttp 85373 12901707776 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1048 INFO 2025-08-04 17:59:14,625 basehttp 85373 12935360512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 17:59:14,626 basehttp 85373 6167162880 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 WARNING 2025-08-04 17:59:18,836 log 85373 6167162880 Forbidden (CSRF token missing.): /en/notifications/d4501bc8-452e-4c02-a57d-62f31f181f90/dismiss/ WARNING 2025-08-04 17:59:18,836 basehttp 85373 6167162880 "POST /en/notifications/d4501bc8-452e-4c02-a57d-62f31f181f90/dismiss/ HTTP/1.1" 403 2491 WARNING 2025-08-04 17:59:20,642 log 85373 6167162880 Forbidden (CSRF token missing.): /en/notifications/db67754f-786a-4f5e-bd3f-4d3b080bfbfd/dismiss/ WARNING 2025-08-04 17:59:20,642 basehttp 85373 6167162880 "POST /en/notifications/db67754f-786a-4f5e-bd3f-4d3b080bfbfd/dismiss/ HTTP/1.1" 403 2491 ERROR 2025-08-04 17:59:35,525 log 85373 6167162880 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 65, in get_context_data 'recent_executions': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-04 17:59:35,528 basehttp 85373 6167162880 "GET /en/analytics/ HTTP/1.1" 500 130356 WARNING 2025-08-04 17:59:35,543 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:59:35,543 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 17:59:42,784 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:59:42,784 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 17:59:42,799 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:59:42,800 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 17:59:44,598 basehttp 85373 6167162880 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 17:59:48,455 basehttp 85373 6167162880 "GET /en/appointments/create/ HTTP/1.1" 200 34123 WARNING 2025-08-04 17:59:48,473 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 17:59:48,473 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-04 18:00:09,016 log 85373 6167162880 Internal Server Error: /en/appointments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 134, in render compiled_parent = self.get_parent(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 131, in get_parent return self.find_template(parent, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 109, in find_template template, origin = context.template.engine.find_template( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 163, in find_template raise TemplateDoesNotExist(name, tried=tried) django.template.exceptions.TemplateDoesNotExist: base/base.html The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 109, in render reraise(exc, self.backend) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 130, in reraise raise new from exc django.template.exceptions.TemplateDoesNotExist: base/base.html ERROR 2025-08-04 18:00:09,018 basehttp 85373 6167162880 "GET /en/appointments/ HTTP/1.1" 500 127880 WARNING 2025-08-04 18:00:09,033 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 18:00:09,034 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-04 19:47:26,648 log 85373 6167162880 Internal Server Error: /en/appointments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 134, in render compiled_parent = self.get_parent(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 131, in get_parent return self.find_template(parent, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 109, in find_template template, origin = context.template.engine.find_template( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 163, in find_template raise TemplateDoesNotExist(name, tried=tried) django.template.exceptions.TemplateDoesNotExist: base/base.html The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 109, in render reraise(exc, self.backend) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 130, in reraise raise new from exc django.template.exceptions.TemplateDoesNotExist: base/base.html ERROR 2025-08-04 19:47:26,652 basehttp 85373 6167162880 "GET /en/appointments/ HTTP/1.1" 500 128017 WARNING 2025-08-04 19:47:26,664 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:47:26,664 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-04 19:47:27,579 log 85373 6167162880 Internal Server Error: /en/appointments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 134, in render compiled_parent = self.get_parent(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 131, in get_parent return self.find_template(parent, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 109, in find_template template, origin = context.template.engine.find_template( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 163, in find_template raise TemplateDoesNotExist(name, tried=tried) django.template.exceptions.TemplateDoesNotExist: base/base.html The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 109, in render reraise(exc, self.backend) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 130, in reraise raise new from exc django.template.exceptions.TemplateDoesNotExist: base/base.html ERROR 2025-08-04 19:47:27,582 basehttp 85373 6167162880 "GET /en/appointments/ HTTP/1.1" 500 128017 WARNING 2025-08-04 19:47:27,596 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:47:27,596 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 19:51:45,713 basehttp 85373 6167162880 "GET /en/appointments/ HTTP/1.1" 200 25075 WARNING 2025-08-04 19:51:45,733 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:51:45,733 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 19:51:45,780 basehttp 85373 6167162880 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-04 19:51:47,488 basehttp 85373 6167162880 "GET /en/appointments/ HTTP/1.1" 200 25075 WARNING 2025-08-04 19:51:47,508 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:51:47,509 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 19:51:47,551 basehttp 85373 6167162880 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-04 19:51:59,775 basehttp 85373 6167162880 "GET /en/appointments/calendar/ HTTP/1.1" 200 24639 WARNING 2025-08-04 19:51:59,788 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:51:59,789 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 19:51:59,835 basehttp 85373 6167162880 "GET /en/appointments/calendar/appointments/ HTTP/1.1" 200 220 INFO 2025-08-04 19:51:59,837 basehttp 85373 12901707776 "GET /en/appointments/slots/available/ HTTP/1.1" 200 7396 WARNING 2025-08-04 19:52:12,763 log 85373 12901707776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:52:12,764 basehttp 85373 12901707776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:52:12,774 log 85373 12901707776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:52:12,774 basehttp 85373 12901707776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:52:13,857 log 85373 12901707776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:52:13,857 basehttp 85373 12901707776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:53:27,726 log 85373 12901707776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:53:27,727 basehttp 85373 12901707776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 19:53:29,985 basehttp 85373 12901707776 "GET /en/ HTTP/1.1" 200 50328 WARNING 2025-08-04 19:53:30,002 log 85373 12901707776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:53:30,002 basehttp 85373 12901707776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 19:53:30,068 basehttp 85373 12901707776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6769 INFO 2025-08-04 19:53:30,073 basehttp 85373 12935360512 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1048 INFO 2025-08-04 19:53:30,074 basehttp 85373 12918534144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 19:53:30,075 basehttp 85373 6167162880 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 19:53:36,729 basehttp 85373 6167162880 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 49620 WARNING 2025-08-04 19:53:36,748 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:53:36,748 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:53:42,708 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:53:42,709 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:53:42,719 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:53:42,719 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 19:53:44,216 basehttp 85373 6167162880 "GET /en/ HTTP/1.1" 200 50328 WARNING 2025-08-04 19:53:44,233 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:53:44,233 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 19:53:44,311 basehttp 85373 12901707776 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1048 INFO 2025-08-04 19:53:44,313 basehttp 85373 6167162880 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6769 INFO 2025-08-04 19:53:44,314 basehttp 85373 12935360512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 19:53:44,316 basehttp 85373 12918534144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 19:53:52,064 basehttp 85373 12918534144 "GET /en/admin/accounts/user/ HTTP/1.1" 200 75175 WARNING 2025-08-04 19:53:52,083 log 85373 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:53:52,083 basehttp 85373 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:53:53,367 log 85373 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:53:53,368 basehttp 85373 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:53:53,377 log 85373 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:53:53,377 basehttp 85373 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:53:54,428 log 85373 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:53:54,428 basehttp 85373 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:53:54,434 log 85373 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:53:54,434 basehttp 85373 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:53:56,210 log 85373 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:53:56,211 basehttp 85373 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:53:56,221 log 85373 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:53:56,221 basehttp 85373 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 19:53:58,570 basehttp 85373 12918534144 "GET /en/billing/bills/create/ HTTP/1.1" 200 40503 WARNING 2025-08-04 19:53:58,591 log 85373 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:53:58,592 basehttp 85373 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:54:05,527 log 85373 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:54:05,527 basehttp 85373 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:54:05,538 log 85373 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:54:05,538 basehttp 85373 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 19:54:08,188 basehttp 85373 12918534144 "GET /en/ HTTP/1.1" 200 50328 WARNING 2025-08-04 19:54:08,206 log 85373 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:54:08,206 basehttp 85373 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 19:54:08,279 basehttp 85373 12918534144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6769 INFO 2025-08-04 19:54:08,279 basehttp 85373 6167162880 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 19:54:08,279 basehttp 85373 12901707776 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1048 INFO 2025-08-04 19:54:08,282 basehttp 85373 12935360512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 19:54:15,964 basehttp 85373 12935360512 "GET /en/admin/accounts/user/ HTTP/1.1" 200 75175 WARNING 2025-08-04 19:54:15,984 log 85373 12935360512 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:54:15,984 basehttp 85373 12935360512 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:54:17,601 log 85373 12935360512 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:54:17,601 basehttp 85373 12935360512 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-04 19:54:17,615 log 85373 12935360512 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:54:17,615 basehttp 85373 12935360512 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 19:54:38,271 basehttp 85373 6167162880 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 INFO 2025-08-04 19:54:42,361 basehttp 85373 6167162880 "GET /en/ HTTP/1.1" 200 50305 INFO 2025-08-04 19:54:42,368 basehttp 85373 12935360512 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-04 19:54:42,372 basehttp 85373 12969013248 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-04 19:54:42,372 basehttp 85373 12935360512 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 WARNING 2025-08-04 19:54:42,374 log 85373 6167162880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 19:54:42,375 basehttp 85373 6167162880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-04 19:54:42,376 basehttp 85373 12969013248 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-04 19:54:42,377 basehttp 85373 12935360512 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-04 19:54:42,378 basehttp 85373 12901707776 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-04 19:54:42,382 basehttp 85373 12952186880 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-04 19:54:42,382 basehttp 85373 12918534144 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-04 19:54:42,385 basehttp 85373 12969013248 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-04 19:54:42,386 basehttp 85373 12935360512 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-04 19:54:42,545 basehttp 85373 12935360512 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-04 19:54:42,546 basehttp 85373 12901707776 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-04 19:54:42,546 basehttp 85373 12918534144 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-04 19:54:42,547 basehttp 85373 12969013248 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-04 19:54:42,548 basehttp 85373 12952186880 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-04 19:54:42,551 basehttp 85373 6167162880 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-04 19:54:42,552 basehttp 85373 12918534144 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-04 19:54:42,552 basehttp 85373 12952186880 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-04 19:54:42,552 basehttp 85373 6167162880 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-04 19:54:42,553 basehttp 85373 12918534144 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-04 19:54:42,553 basehttp 85373 12969013248 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-04 19:54:42,553 basehttp 85373 12901707776 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-04 19:54:42,554 basehttp 85373 12952186880 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-04 19:54:42,554 basehttp 85373 6167162880 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-04 19:54:42,555 basehttp 85373 12901707776 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-04 19:54:42,556 basehttp 85373 12969013248 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-04 19:54:42,556 basehttp 85373 12918534144 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-04 19:54:42,557 basehttp 85373 6167162880 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-04 19:54:42,558 basehttp 85373 12969013248 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-04 19:54:42,558 basehttp 85373 12901707776 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-04 19:54:42,559 basehttp 85373 12935360512 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-04 19:54:42,559 basehttp 85373 12952186880 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-04 19:54:42,560 basehttp 85373 12918534144 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-04 19:54:42,565 basehttp 85373 6167162880 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-04 19:54:42,583 basehttp 85373 12918534144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6769 INFO 2025-08-04 19:54:42,591 basehttp 85373 12901707776 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1048 INFO 2025-08-04 19:54:42,591 basehttp 85373 12935360512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 19:54:42,593 basehttp 85373 12952186880 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 WARNING 2025-08-04 19:54:42,662 log 85373 12952186880 Not Found: /favicon.ico WARNING 2025-08-04 19:54:42,662 basehttp 85373 12952186880 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-04 19:55:01,033 basehttp 85373 12952186880 "GET /en/appointments/create/ HTTP/1.1" 200 34123 INFO 2025-08-04 19:55:19,788 basehttp 85373 12952186880 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2092 ERROR 2025-08-04 19:55:34,089 log 85373 12952186880 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 65, in get_context_data 'recent_executions': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-04 19:55:34,090 basehttp 85373 12952186880 "GET /en/analytics/ HTTP/1.1" 500 130356 INFO 2025-08-04 20:42:16,629 autoreload 85373 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-04 20:42:17,003 autoreload 56943 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 20:42:19,667 log 56943 6190084096 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 67, in get_context_data ).order_by('-execution_time')[:10], ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-04 20:42:19,669 basehttp 56943 6190084096 "GET /en/analytics/ HTTP/1.1" 500 100839 INFO 2025-08-04 20:43:18,121 autoreload 56943 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-04 20:43:18,421 autoreload 57325 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 20:43:22,526 log 57325 6135443456 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 67, in get_context_data ).order_by('-execution_time')[:10], ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-04 20:43:22,528 basehttp 57325 6135443456 "GET /en/analytics/ HTTP/1.1" 500 100839 ERROR 2025-08-04 20:43:23,371 log 57325 6135443456 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 67, in get_context_data ).order_by('-execution_time')[:10], ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-04 20:43:23,373 basehttp 57325 6135443456 "GET /en/analytics/ HTTP/1.1" 500 100839 INFO 2025-08-04 20:43:48,493 autoreload 57325 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-04 20:43:48,767 autoreload 57557 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 20:43:49,442 log 57557 6128283648 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 67, in get_context_data ).order_by('-execution_by')[:10], ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_by' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-04 20:43:49,444 basehttp 57557 6128283648 "GET /en/analytics/ HTTP/1.1" 500 100811 INFO 2025-08-04 20:45:35,220 autoreload 57557 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-04 20:45:35,545 autoreload 58318 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 20:45:38,200 log 58318 6169882624 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 67, in get_context_data ).order_by('-executed_by,')[:10], ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'executed_by,' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-04 20:45:38,202 basehttp 58318 6169882624 "GET /en/analytics/ HTTP/1.1" 500 100811 INFO 2025-08-04 20:46:21,183 autoreload 58318 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-04 20:46:21,502 autoreload 58700 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 20:46:24,038 log 58700 6166818816 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 67, in get_context_data ).order_by('-executed_by,')[:10], ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'executed_by,' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-04 20:46:24,039 basehttp 58700 6166818816 "GET /en/analytics/ HTTP/1.1" 500 100811 INFO 2025-08-04 20:46:40,307 autoreload 58700 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-04 20:46:40,586 autoreload 58855 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 20:46:41,208 log 58855 6137131008 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 73, in get_context_data 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-04 20:46:41,209 basehttp 58855 6137131008 "GET /en/analytics/ HTTP/1.1" 500 131208 INFO 2025-08-04 20:46:56,160 autoreload 58855 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-04 20:46:56,441 autoreload 58941 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 20:46:56,687 log 58941 6128021504 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 67, in get_context_data ).order_by('-created_at')[:10], ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'created_at' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-04 20:46:56,688 basehttp 58941 6128021504 "GET /en/analytics/ HTTP/1.1" 500 100783 INFO 2025-08-04 20:48:17,833 autoreload 58941 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-04 20:48:18,115 autoreload 59555 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 20:48:18,458 log 59555 6201896960 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 73, in get_context_data 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-04 20:48:18,459 basehttp 59555 6201896960 "GET /en/analytics/ HTTP/1.1" 500 131882 INFO 2025-08-04 20:48:55,298 autoreload 59555 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-04 20:48:55,581 autoreload 59788 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 20:48:57,757 log 59788 6165934080 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 93, in get_context_data 'healthy_data_sources': DataSource.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'last_test_status' into field. Choices are: authentication_config, cache_duration, connection_config, connection_type, created_at, created_by, created_by_id, data_transformation, description, health_check_interval, is_active, is_healthy, last_health_check, metrics, name, parameters, query_template, reports, source_id, source_type, tenant, tenant_id, updated_at, widgets ERROR 2025-08-04 20:48:57,758 basehttp 59788 6165934080 "GET /en/analytics/ HTTP/1.1" 500 132654 INFO 2025-08-04 20:52:11,529 autoreload 59788 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/models.py changed, reloading. INFO 2025-08-04 20:52:11,803 autoreload 61245 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 20:52:14,918 log 61245 6125400064 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/backends/utils.py", line 105, in _execute return self.cursor.execute(sql, params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/backends/sqlite3/base.py", line 360, in execute return super().execute(query, params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ sqlite3.OperationalError: no such column: analytics_data_source.last_test_status The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 97, in get_context_data ).count(), ^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 604, in count return self.query.get_count(using=self.db) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 644, in get_count return obj.get_aggregation(using, {"__count": Count("*")})["__count"] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 626, in get_aggregation result = compiler.execute_sql(SINGLE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1623, in execute_sql cursor.execute(sql, params) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/backends/utils.py", line 122, in execute return super().execute(sql, params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/backends/utils.py", line 79, in execute return self._execute_with_wrappers( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers return executor(sql, params, many, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/backends/utils.py", line 100, in _execute with self.db.wrap_database_errors: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/backends/utils.py", line 105, in _execute return self.cursor.execute(sql, params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/backends/sqlite3/base.py", line 360, in execute return super().execute(query, params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ django.db.utils.OperationalError: no such column: analytics_data_source.last_test_status ERROR 2025-08-04 20:52:14,923 basehttp 61245 6125400064 "GET /en/analytics/ HTTP/1.1" 500 150953 INFO 2025-08-04 20:53:04,234 autoreload 61638 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 20:53:06,998 basehttp 61638 6161362944 "GET /en/analytics/ HTTP/1.1" 200 31926 ERROR 2025-08-04 20:53:07,051 log 61638 6161362944 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-04 20:53:07,053 basehttp 61638 6161362944 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117149 ERROR 2025-08-04 20:53:13,811 log 61638 6161362944 Internal Server Error: /en/analytics/data-sources/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 47, in select_template raise TemplateDoesNotExist(", ".join(template_name_list), chain=chain) django.template.exceptions.TemplateDoesNotExist: analytics/data_source_form.html ERROR 2025-08-04 20:53:13,813 basehttp 61638 6161362944 "GET /en/analytics/data-sources/create/ HTTP/1.1" 500 81835 INFO 2025-08-04 21:00:27,651 autoreload 64869 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 21:00:34,289 log 64869 6137884672 Internal Server Error: /en/analytics/data-sources/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 47, in select_template raise TemplateDoesNotExist(", ".join(template_name_list), chain=chain) django.template.exceptions.TemplateDoesNotExist: analytics/data_source_form.html ERROR 2025-08-04 21:00:34,330 basehttp 64869 6137884672 "GET /en/analytics/data-sources/create/ HTTP/1.1" 500 81972 ERROR 2025-08-04 21:00:34,787 log 64869 6137884672 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-04 21:00:34,788 basehttp 64869 6137884672 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117149 INFO 2025-08-04 21:00:35,537 basehttp 64869 6137884672 "GET /en/analytics/ HTTP/1.1" 200 31926 ERROR 2025-08-04 21:00:35,587 log 64869 6137884672 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-04 21:00:35,588 basehttp 64869 6137884672 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117149 WARNING 2025-08-04 21:00:52,718 log 64869 6137884672 Not Found: /en/inpatient WARNING 2025-08-04 21:00:52,719 basehttp 64869 6137884672 "GET /en/inpatient HTTP/1.1" 404 28070 ERROR 2025-08-04 21:01:01,814 log 64869 6137884672 Internal Server Error: /en/inpatients/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 198, in render values = list(values) ^^^^^^^^^^^^ TypeError: 'int' object is not iterable ERROR 2025-08-04 21:01:01,815 basehttp 64869 6137884672 "GET /en/inpatients/ HTTP/1.1" 500 154932 INFO 2025-08-04 21:03:12,318 autoreload 64869 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-04 21:03:12,662 autoreload 66098 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 21:03:13,564 log 66098 6161477632 Internal Server Error: /en/inpatients/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 198, in render values = list(values) ^^^^^^^^^^^^ TypeError: 'int' object is not iterable ERROR 2025-08-04 21:03:13,567 basehttp 66098 6161477632 "GET /en/inpatients/ HTTP/1.1" 500 154915 INFO 2025-08-04 21:03:34,404 autoreload 66098 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-04 21:03:34,710 autoreload 66253 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 21:03:35,364 basehttp 66253 6127546368 "GET /en/inpatients/ HTTP/1.1" 200 38669 INFO 2025-08-04 21:03:35,417 basehttp 66253 6144372736 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 195 INFO 2025-08-04 21:03:35,417 basehttp 66253 6127546368 "GET /en/inpatients/stats/ HTTP/1.1" 200 2995 ERROR 2025-08-04 21:03:46,754 log 66253 6127546368 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'admission_create' not found. 'admission_create' is not a valid view function or pattern name. ERROR 2025-08-04 21:03:46,756 basehttp 66253 6127546368 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 500 173463 INFO 2025-08-04 21:07:03,063 autoreload 66253 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/urls.py changed, reloading. INFO 2025-08-04 21:07:03,365 autoreload 67785 8489639680 Watching for file changes with StatReloader ERROR 2025-08-04 21:07:07,445 log 67785 6157660160 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'ad' not found. 'ad' is not a valid view function or pattern name. ERROR 2025-08-04 21:07:07,448 basehttp 67785 6157660160 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 500 173220 ERROR 2025-08-04 21:07:18,621 log 67785 6157660160 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'export_admissions' not found. 'export_admissions' is not a valid view function or pattern name. ERROR 2025-08-04 21:07:18,623 basehttp 67785 6157660160 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 500 172651 ERROR 2025-08-04 21:09:56,851 log 67785 6157660160 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'export_admissions' not found. 'export_admissions' is not a valid view function or pattern name. ERROR 2025-08-04 21:09:56,853 basehttp 67785 6157660160 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 500 172651 ERROR 2025-08-04 21:10:18,943 log 67785 6157660160 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'export_admissions' not found. 'export_admissions' is not a valid view function or pattern name. ERROR 2025-08-04 21:10:18,944 basehttp 67785 6157660160 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 500 172253 INFO 2025-08-04 21:10:31,065 basehttp 67785 6157660160 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 41430 INFO 2025-08-04 21:10:36,216 basehttp 67785 6157660160 "GET /en/inpatients/admissions/create/ HTTP/1.1" 200 48375 INFO 2025-08-04 21:10:50,563 basehttp 67785 6157660160 "GET /en/inpatients/admissions/ HTTP/1.1" 200 41068 INFO 2025-08-04 21:13:07,190 basehttp 67785 6157660160 "GET /en/inpatients/admissions/ HTTP/1.1" 200 41068 INFO 2025-08-04 21:13:46,826 basehttp 67785 6157660160 "GET /en/inpatients/admissions/ HTTP/1.1" 200 41068 INFO 2025-08-04 21:14:13,554 basehttp 67785 6157660160 "GET /en/inpatients/wards/ HTTP/1.1" 200 26359 INFO 2025-08-04 22:19:46,872 basehttp 67785 6157660160 "GET /en/inpatients/wards/ HTTP/1.1" 200 26359 INFO 2025-08-04 22:19:49,351 basehttp 67785 6157660160 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 41430 INFO 2025-08-04 23:16:28,247 autoreload 24779 8489639680 Watching for file changes with StatReloader INFO 2025-08-04 23:16:31,302 basehttp 24779 6127497216 "GET / HTTP/1.1" 302 0 INFO 2025-08-04 23:16:31,384 basehttp 24779 6127497216 "GET /en/ HTTP/1.1" 302 0 WARNING 2025-08-04 23:16:31,389 log 24779 6127497216 Not Found: /accounts/login/ WARNING 2025-08-04 23:16:31,390 basehttp 24779 6127497216 "GET /accounts/login/?next=/en/ HTTP/1.1" 404 2579 INFO 2025-08-04 23:16:37,528 basehttp 24779 6127497216 "GET /admin HTTP/1.1" 302 0 INFO 2025-08-04 23:16:37,563 basehttp 24779 6127497216 "GET /en/admin/ HTTP/1.1" 302 0 INFO 2025-08-04 23:16:37,578 basehttp 24779 6127497216 "GET /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4212 INFO 2025-08-04 23:16:37,585 basehttp 24779 6144323584 "GET /static/admin/css/dark_mode.css HTTP/1.1" 200 2808 INFO 2025-08-04 23:16:37,585 basehttp 24779 6161149952 "GET /static/admin/js/theme.js HTTP/1.1" 200 1653 INFO 2025-08-04 23:16:37,586 basehttp 24779 6127497216 "GET /static/admin/css/base.css HTTP/1.1" 200 22120 INFO 2025-08-04 23:16:37,587 basehttp 24779 6127497216 "GET /static/admin/css/login.css HTTP/1.1" 200 951 INFO 2025-08-04 23:16:37,587 basehttp 24779 6161149952 "GET /static/admin/css/nav_sidebar.css HTTP/1.1" 200 2810 INFO 2025-08-04 23:16:37,588 basehttp 24779 6144323584 "GET /static/admin/css/responsive.css HTTP/1.1" 200 16565 INFO 2025-08-04 23:16:37,588 basehttp 24779 6127497216 "GET /static/admin/js/nav_sidebar.js HTTP/1.1" 200 3063 INFO 2025-08-04 23:16:40,391 basehttp 24779 6127497216 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 302 0 INFO 2025-08-04 23:16:40,412 basehttp 24779 6127497216 "GET /en/admin/ HTTP/1.1" 200 84715 INFO 2025-08-04 23:16:40,425 basehttp 24779 6127497216 "GET /static/admin/css/dashboard.css HTTP/1.1" 200 441 INFO 2025-08-04 23:16:40,427 basehttp 24779 6127497216 "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 200 331 INFO 2025-08-04 23:16:40,427 basehttp 24779 6144323584 "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 200 380 INFO 2025-08-04 23:16:42,332 basehttp 24779 6144323584 "GET / HTTP/1.1" 302 0 INFO 2025-08-04 23:16:42,356 basehttp 24779 6127497216 "GET /en/ HTTP/1.1" 200 50309 INFO 2025-08-04 23:16:42,431 basehttp 24779 6127497216 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6724 INFO 2025-08-04 23:16:42,435 basehttp 24779 13170143232 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-04 23:16:42,435 basehttp 24779 6144323584 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 23:16:42,436 basehttp 24779 6161149952 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-04 23:17:09,003 basehttp 24779 6161149952 "GET /en/inpatients/ HTTP/1.1" 200 44323 INFO 2025-08-04 23:17:09,039 basehttp 24779 6161149952 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:17:09,064 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:17:39,042 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:18:09,054 basehttp 24779 6161149952 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:18:09,085 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:18:39,045 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:19:09,042 basehttp 24779 6161149952 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:19:09,068 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:19:09,100 basehttp 24779 6161149952 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:19:34,024 basehttp 24779 6161149952 "GET /en/inpatients/surgery/ HTTP/1.1" 200 26100 INFO 2025-08-04 23:19:38,811 basehttp 24779 6161149952 "GET /en/inpatients/admissions/ HTTP/1.1" 200 42088 INFO 2025-08-04 23:19:50,444 basehttp 24779 6161149952 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:20:09,079 basehttp 24779 6161149952 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:20:20,450 basehttp 24779 6161149952 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:20:50,598 basehttp 24779 6161149952 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:21:09,220 basehttp 24779 6161149952 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:21:09,254 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:21:20,600 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:21:50,604 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:22:09,185 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:22:09,223 basehttp 24779 6161149952 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:22:20,608 basehttp 24779 6161149952 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:22:50,610 basehttp 24779 6161149952 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:23:09,220 basehttp 24779 6161149952 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:23:09,255 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:23:20,612 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:23:50,662 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:24:09,236 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:24:20,623 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:24:50,621 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:25:09,219 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:25:09,253 basehttp 24779 6161149952 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:25:20,624 basehttp 24779 6161149952 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:25:50,628 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:26:09,240 basehttp 24779 6127497216 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:26:20,628 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:26:50,631 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:27:09,183 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:27:09,215 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:27:09,246 basehttp 24779 6127497216 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:27:20,635 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:27:50,635 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:28:09,238 basehttp 24779 6127497216 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:28:20,639 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:28:42,951 basehttp 24779 6127497216 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:28:50,641 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:28:53,069 basehttp 24779 6127497216 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 42450 INFO 2025-08-04 23:29:09,206 basehttp 24779 6127497216 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:29:09,239 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:29:20,645 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:29:50,647 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:30:09,252 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:30:20,650 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:30:50,654 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:31:09,217 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:31:09,251 basehttp 24779 6127497216 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:31:20,655 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:31:50,661 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:32:09,175 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:32:09,238 basehttp 24779 6127497216 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:32:20,662 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:32:50,663 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:33:09,201 basehttp 24779 6127497216 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:33:09,237 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:33:20,668 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:33:50,669 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:34:09,256 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:34:20,674 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:34:50,674 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:35:09,222 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:35:09,264 basehttp 24779 6127497216 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:35:20,682 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:35:50,686 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:36:09,212 basehttp 24779 6127497216 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:36:20,637 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:36:50,641 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:37:09,138 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:37:09,169 basehttp 24779 6144323584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:37:09,227 basehttp 24779 6127497216 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:37:20,644 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:37:50,646 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:38:09,216 basehttp 24779 6127497216 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:38:20,651 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:38:50,654 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:39:09,144 basehttp 24779 6127497216 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:39:09,245 basehttp 24779 6127497216 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-04 23:39:20,656 basehttp 24779 6127497216 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:39:48,088 basehttp 24779 6127497216 "GET /en/inpatients/wards/ HTTP/1.1" 200 53060 ERROR 2025-08-04 23:40:15,970 log 24779 6127497216 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 198, in render values = list(values) ^^^^^^^^^^^^ TypeError: 'RelatedManager' object is not iterable ERROR 2025-08-04 23:40:15,971 basehttp 24779 6127497216 "GET /en/inpatients/beds/?ward=79 HTTP/1.1" 500 228421 INFO 2025-08-04 23:41:16,521 basehttp 24779 6127497216 "GET /en/hr HTTP/1.1" 301 0 ERROR 2025-08-04 23:41:16,567 log 24779 6144323584 Internal Server Error: /en/hr/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/hr/views.py", line 52, in get_context_data 'pending_reviews': PerformanceReview.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: areas_for_improvement, competency_ratings, created_at, development_plan, employee, employee_comments, employee_id, employee_signature_date, future_goals, goals_achieved, goals_not_achieved, id, notes, overall_rating, review_date, review_id, review_period_end, review_period_start, review_type, reviewer, reviewer_id, status, strengths, training_recommendations, updated_at ERROR 2025-08-04 23:41:16,568 basehttp 24779 6144323584 "GET /en/hr/ HTTP/1.1" 500 137535 INFO 2025-08-04 23:45:34,492 basehttp 24779 6144323584 "GET /en/admin HTTP/1.1" 301 0 INFO 2025-08-04 23:45:34,511 basehttp 24779 6127497216 "GET /en/admin/ HTTP/1.1" 200 84715 INFO 2025-08-04 23:45:36,456 basehttp 24779 6127497216 "GET /en/admin/accounts/user/ HTTP/1.1" 200 159422 INFO 2025-08-04 23:45:36,467 basehttp 24779 6127497216 "GET /static/admin/css/changelists.css HTTP/1.1" 200 6878 INFO 2025-08-04 23:45:36,468 basehttp 24779 13203795968 "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 200 9777 INFO 2025-08-04 23:45:36,468 basehttp 24779 13186969600 "GET /static/admin/js/core.js HTTP/1.1" 200 6208 INFO 2025-08-04 23:45:36,469 basehttp 24779 13170143232 "GET /static/admin/js/jquery.init.js HTTP/1.1" 200 347 INFO 2025-08-04 23:45:36,470 basehttp 24779 6127497216 "GET /static/admin/js/actions.js HTTP/1.1" 200 8076 INFO 2025-08-04 23:45:36,472 basehttp 24779 13203795968 "GET /static/admin/js/prepopulate.js HTTP/1.1" 200 1531 INFO 2025-08-04 23:45:36,473 basehttp 24779 13186969600 "GET /static/admin/js/urlify.js HTTP/1.1" 200 7887 INFO 2025-08-04 23:45:36,474 basehttp 24779 6161149952 "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 200 285314 INFO 2025-08-04 23:45:36,474 basehttp 24779 6127497216 "GET /static/admin/img/search.svg HTTP/1.1" 200 458 INFO 2025-08-04 23:45:36,474 basehttp 24779 13203795968 "GET /static/admin/img/icon-yes.svg HTTP/1.1" 200 436 INFO 2025-08-04 23:45:36,476 basehttp 24779 13170143232 "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 200 325171 INFO 2025-08-04 23:45:36,476 basehttp 24779 13203795968 "GET /static/admin/img/icon-no.svg HTTP/1.1" 200 560 INFO 2025-08-04 23:45:36,476 basehttp 24779 6144323584 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 23:45:36,477 basehttp 24779 6144323584 "GET /static/admin/js/filters.js HTTP/1.1" 200 978 INFO 2025-08-04 23:45:36,488 basehttp 24779 6144323584 "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 200 331 INFO 2025-08-04 23:45:36,489 basehttp 24779 6144323584 "GET /static/admin/img/icon-viewlink.svg HTTP/1.1" 200 581 INFO 2025-08-04 23:45:39,888 basehttp 24779 6144323584 "GET /en/admin/accounts/user/1/change/ HTTP/1.1" 200 185553 INFO 2025-08-04 23:45:39,901 basehttp 24779 6127497216 "GET /static/admin/js/SelectBox.js HTTP/1.1" 200 4530 INFO 2025-08-04 23:45:39,901 basehttp 24779 13186969600 "GET /static/admin/js/SelectFilter2.js HTTP/1.1" 200 15845 INFO 2025-08-04 23:45:39,902 basehttp 24779 6161149952 "GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 200 19319 INFO 2025-08-04 23:45:39,902 basehttp 24779 6144323584 "GET /static/admin/css/forms.css HTTP/1.1" 200 8525 INFO 2025-08-04 23:45:39,902 basehttp 24779 13170143232 "GET /static/admin/js/calendar.js HTTP/1.1" 200 9141 INFO 2025-08-04 23:45:39,903 basehttp 24779 6127497216 "GET /static/admin/js/prepopulate_init.js HTTP/1.1" 200 586 INFO 2025-08-04 23:45:39,903 basehttp 24779 6144323584 "GET /static/admin/css/widgets.css HTTP/1.1" 200 11991 INFO 2025-08-04 23:45:39,904 basehttp 24779 6144323584 "GET /static/admin/img/icon-deletelink.svg HTTP/1.1" 200 392 INFO 2025-08-04 23:45:39,906 basehttp 24779 13203795968 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 23:45:39,906 basehttp 24779 6144323584 "GET /static/admin/js/change_form.js HTTP/1.1" 200 606 INFO 2025-08-04 23:45:39,937 basehttp 24779 6144323584 "GET /static/admin/img/selector-icons.svg HTTP/1.1" 200 3291 INFO 2025-08-04 23:45:39,937 basehttp 24779 13203795968 "GET /static/admin/img/icon-calendar.svg HTTP/1.1" 200 1086 INFO 2025-08-04 23:45:39,938 basehttp 24779 6127497216 "GET /static/admin/img/icon-clock.svg HTTP/1.1" 200 677 INFO 2025-08-04 23:45:56,512 basehttp 24779 6127497216 "POST /en/admin/accounts/user/1/change/ HTTP/1.1" 302 0 INFO 2025-08-04 23:45:56,550 basehttp 24779 6127497216 "GET /en/admin/accounts/user/ HTTP/1.1" 200 159625 INFO 2025-08-04 23:45:56,568 basehttp 24779 6127497216 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 23:46:11,414 basehttp 24779 6127497216 "GET /en/admin/accounts/user/1/change/ HTTP/1.1" 200 185605 INFO 2025-08-04 23:46:11,424 basehttp 24779 6127497216 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 23:46:17,824 basehttp 24779 6127497216 "POST /en/admin/accounts/user/1/change/ HTTP/1.1" 302 0 INFO 2025-08-04 23:46:17,871 basehttp 24779 6127497216 "GET /en/admin/accounts/user/ HTTP/1.1" 200 159716 INFO 2025-08-04 23:46:17,884 basehttp 24779 6127497216 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-04 23:46:30,105 basehttp 24779 6127497216 "GET / HTTP/1.1" 302 0 INFO 2025-08-04 23:46:30,118 basehttp 24779 13203795968 "GET /en/ HTTP/1.1" 200 50322 INFO 2025-08-04 23:46:30,216 basehttp 24779 13203795968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6729 INFO 2025-08-04 23:46:30,219 basehttp 24779 13186969600 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-04 23:46:30,219 basehttp 24779 13170143232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 23:46:30,220 basehttp 24779 6144323584 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 ERROR 2025-08-04 23:46:36,769 log 24779 6144323584 Internal Server Error: /en/hr/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/hr/views.py", line 52, in get_context_data 'pending_reviews': PerformanceReview.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: areas_for_improvement, competency_ratings, created_at, development_plan, employee, employee_comments, employee_id, employee_signature_date, future_goals, goals_achieved, goals_not_achieved, id, notes, overall_rating, review_date, review_id, review_period_end, review_period_start, review_type, reviewer, reviewer_id, status, strengths, training_recommendations, updated_at ERROR 2025-08-04 23:46:36,770 basehttp 24779 6144323584 "GET /en/hr/ HTTP/1.1" 500 137548 INFO 2025-08-04 23:47:24,874 basehttp 24779 6144323584 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-04 23:47:30,215 basehttp 24779 13170143232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-04 23:47:30,215 basehttp 24779 6144323584 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6729 INFO 2025-08-04 23:47:33,207 basehttp 24779 6144323584 "GET /en/inpatients/ HTTP/1.1" 200 44336 INFO 2025-08-04 23:47:33,241 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-04 23:47:33,267 basehttp 24779 13170143232 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 WARNING 2025-08-04 23:47:40,550 log 24779 13170143232 Not Found: /en/inpatient WARNING 2025-08-04 23:47:40,551 basehttp 24779 13170143232 "GET /en/inpatient HTTP/1.1" 404 28070 WARNING 2025-08-04 23:47:50,653 log 24779 13170143232 Not Found: /en/inpatients/gh WARNING 2025-08-04 23:47:50,653 basehttp 24779 13170143232 "GET /en/inpatients/gh HTTP/1.1" 404 33880 INFO 2025-08-04 23:48:04,969 basehttp 24779 13170143232 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 ERROR 2025-08-04 23:48:38,568 log 24779 13170143232 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 198, in render values = list(values) ^^^^^^^^^^^^ TypeError: 'RelatedManager' object is not iterable ERROR 2025-08-04 23:48:38,569 basehttp 24779 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 500 227905 ERROR 2025-08-04 23:49:41,174 log 24779 13170143232 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 198, in render values = list(values) ^^^^^^^^^^^^ TypeError: 'Ward' object is not iterable ERROR 2025-08-04 23:49:41,177 basehttp 24779 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 500 227887 ERROR 2025-08-04 23:51:21,243 log 24779 13170143232 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 198, in render values = list(values) ^^^^^^^^^^^^ TypeError: 'RelatedManager' object is not iterable ERROR 2025-08-04 23:51:21,247 basehttp 24779 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 500 228042 INFO 2025-08-04 23:51:54,645 basehttp 24779 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 775047 WARNING 2025-08-04 23:52:47,827 log 24779 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-04 23:52:47,827 basehttp 24779 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 00:04:48,924 basehttp 24779 6127497216 "GET /en/inpatients/beds/ HTTP/1.1" 200 791206 WARNING 2025-08-05 00:04:48,944 log 24779 6127497216 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:04:48,944 basehttp 24779 6127497216 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 00:06:04,062 basehttp 24779 6127497216 "GET /en/inpatients/beds/ HTTP/1.1" 200 775047 INFO 2025-08-05 00:06:04,073 basehttp 24779 6161149952 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-05 00:06:04,075 basehttp 24779 13203795968 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-05 00:06:04,079 basehttp 24779 13203795968 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-05 00:06:04,082 basehttp 24779 13186969600 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 WARNING 2025-08-05 00:06:04,083 log 24779 6161149952 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:06:04,084 basehttp 24779 6161149952 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 00:06:04,084 basehttp 24779 13203795968 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-05 00:06:04,085 basehttp 24779 6127497216 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-05 00:06:04,090 basehttp 24779 13203795968 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-05 00:06:04,093 basehttp 24779 6144323584 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-05 00:06:04,094 basehttp 24779 13170143232 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-05 00:06:04,096 basehttp 24779 13186969600 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-05 00:06:04,276 basehttp 24779 13186969600 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-05 00:06:04,277 basehttp 24779 13170143232 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-05 00:06:04,278 basehttp 24779 6127497216 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-05 00:06:04,280 basehttp 24779 13203795968 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-05 00:06:04,280 basehttp 24779 6144323584 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-05 00:06:04,281 basehttp 24779 13170143232 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-05 00:06:04,281 basehttp 24779 6161149952 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-05 00:06:04,281 basehttp 24779 6127497216 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-05 00:06:04,283 basehttp 24779 13203795968 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-05 00:06:04,284 basehttp 24779 6144323584 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-05 00:06:04,284 basehttp 24779 6161149952 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-05 00:06:04,285 basehttp 24779 13203795968 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-05 00:06:04,285 basehttp 24779 13170143232 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-05 00:06:04,286 basehttp 24779 6127497216 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-05 00:06:04,287 basehttp 24779 6144323584 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-05 00:06:04,287 basehttp 24779 6161149952 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-05 00:06:04,288 basehttp 24779 13186969600 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-05 00:06:04,288 basehttp 24779 13203795968 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-05 00:06:04,289 basehttp 24779 13186969600 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-05 00:06:04,290 basehttp 24779 6161149952 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-05 00:06:04,290 basehttp 24779 6127497216 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-05 00:06:04,290 basehttp 24779 13170143232 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-05 00:06:04,290 basehttp 24779 6144323584 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-05 00:06:04,314 basehttp 24779 6144323584 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 WARNING 2025-08-05 00:06:04,404 log 24779 6144323584 Not Found: /favicon.ico WARNING 2025-08-05 00:06:04,404 basehttp 24779 6144323584 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-05 00:07:21,286 basehttp 24779 6144323584 "GET /en/inpatients/beds/ HTTP/1.1" 200 775047 WARNING 2025-08-05 00:07:21,319 log 24779 6144323584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:07:21,320 basehttp 24779 6144323584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 00:08:42,865 log 24779 6144323584 Not Found: /en/inpatients/gh WARNING 2025-08-05 00:08:42,865 basehttp 24779 6144323584 "GET /en/inpatients/gh HTTP/1.1" 404 33880 INFO 2025-08-05 00:08:58,315 basehttp 24779 6144323584 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-05 00:09:29,130 basehttp 24779 6144323584 "GET /en/inpatients/wards/ HTTP/1.1" 200 53073 INFO 2025-08-05 00:09:35,618 basehttp 24779 6144323584 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 200 775047 WARNING 2025-08-05 00:09:54,833 log 24779 6144323584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:09:54,833 basehttp 24779 6144323584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:11:31,731 log 24779 6144323584 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bed_create' not found. 'bed_create' is not a valid view function or pattern name. ERROR 2025-08-05 00:11:31,732 basehttp 24779 6144323584 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 219958 WARNING 2025-08-05 00:11:31,759 log 24779 6144323584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:11:31,759 basehttp 24779 6144323584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 00:14:08,653 autoreload 24779 8489639680 /Users/marwanalwali/manus_project/hospital_management_system_v4/hr/views.py changed, reloading. INFO 2025-08-05 00:18:55,382 autoreload 2166 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 00:19:24,565 basehttp 2166 6132477952 "GET / HTTP/1.1" 302 0 INFO 2025-08-05 00:19:24,652 basehttp 2166 6132477952 "GET /en/ HTTP/1.1" 200 50332 INFO 2025-08-05 00:19:24,743 basehttp 2166 6132477952 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6769 WARNING 2025-08-05 00:19:24,753 log 2166 13052751872 Not Found: /favicon.ico WARNING 2025-08-05 00:19:24,754 basehttp 2166 13052751872 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-05 00:19:24,768 basehttp 2166 13035925504 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-05 00:19:24,769 basehttp 2166 6166130688 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 00:19:24,771 basehttp 2166 6149304320 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-05 00:19:28,862 log 2166 6149304320 Forbidden (CSRF token missing.): /en/notifications/7f5f7eca-e3c3-4e6c-9eb7-4b8fb82c9740/dismiss/ WARNING 2025-08-05 00:19:28,862 basehttp 2166 6149304320 "POST /en/notifications/7f5f7eca-e3c3-4e6c-9eb7-4b8fb82c9740/dismiss/ HTTP/1.1" 403 2491 WARNING 2025-08-05 00:19:31,262 log 2166 6149304320 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:19:31,262 basehttp 2166 6149304320 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 00:19:54,738 basehttp 2166 6149304320 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 00:20:24,764 basehttp 2166 6132477952 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6769 INFO 2025-08-05 00:20:24,766 basehttp 2166 6149304320 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 00:20:24,769 basehttp 2166 6166130688 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 00:20:33,337 basehttp 2166 6166130688 "GET /en/inpatients/wards/ HTTP/1.1" 200 53073 WARNING 2025-08-05 00:20:33,354 log 2166 6166130688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:20:33,354 basehttp 2166 6166130688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:20:47,703 log 2166 6166130688 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'b' not found. 'b' is not a valid view function or pattern name. ERROR 2025-08-05 00:20:47,707 basehttp 2166 6166130688 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 219572 WARNING 2025-08-05 00:20:47,722 log 2166 6166130688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:20:47,722 basehttp 2166 6166130688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:25:06,034 log 2166 6166130688 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'b' not found. 'b' is not a valid view function or pattern name. ERROR 2025-08-05 00:25:06,038 basehttp 2166 6166130688 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 219709 WARNING 2025-08-05 00:25:06,055 log 2166 6166130688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:25:06,055 basehttp 2166 6166130688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 00:26:57,360 autoreload 2166 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-05 00:26:57,671 autoreload 5887 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 00:30:19,747 autoreload 5887 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-05 00:30:20,033 autoreload 7351 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 00:32:29,324 autoreload 7351 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-05 00:32:29,576 autoreload 8272 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 00:33:13,808 autoreload 8272 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-05 00:33:14,060 autoreload 8655 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 00:37:57,066 autoreload 8655 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-05 00:37:57,331 autoreload 10641 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 00:39:36,561 autoreload 10641 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-05 00:39:36,844 autoreload 11813 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 00:39:42,475 log 11813 6122631168 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'b' not found. 'b' is not a valid view function or pattern name. ERROR 2025-08-05 00:39:42,477 basehttp 11813 6122631168 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 219719 WARNING 2025-08-05 00:39:42,492 log 11813 6122631168 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:39:42,492 basehttp 11813 6122631168 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:39:44,318 log 11813 6122631168 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'b' not found. 'b' is not a valid view function or pattern name. ERROR 2025-08-05 00:39:44,319 basehttp 11813 6122631168 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 219719 WARNING 2025-08-05 00:39:44,335 log 11813 6122631168 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:39:44,335 basehttp 11813 6122631168 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:41:18,495 log 11813 6122631168 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for '' not found. '' is not a valid view function or pattern name. ERROR 2025-08-05 00:41:18,497 basehttp 11813 6122631168 "GET /en/inpatients/beds/ HTTP/1.1" 500 218467 WARNING 2025-08-05 00:41:18,512 log 11813 6122631168 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:41:18,512 basehttp 11813 6122631168 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:41:44,967 log 11813 6122631168 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bed_edit' not found. 'bed_edit' is not a valid view function or pattern name. ERROR 2025-08-05 00:41:44,969 basehttp 11813 6122631168 "GET /en/inpatients/beds/ HTTP/1.1" 500 218424 WARNING 2025-08-05 00:41:44,986 log 11813 6122631168 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:41:44,986 basehttp 11813 6122631168 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 00:42:20,161 autoreload 11813 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/urls.py changed, reloading. INFO 2025-08-05 00:42:20,439 autoreload 12958 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 00:42:21,394 log 12958 6157414400 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bed_edit' not found. 'bed_edit' is not a valid view function or pattern name. ERROR 2025-08-05 00:42:21,396 basehttp 12958 6157414400 "GET /en/inpatients/beds/ HTTP/1.1" 500 219004 WARNING 2025-08-05 00:42:21,411 log 12958 6157414400 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:42:21,411 basehttp 12958 6157414400 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:42:22,897 log 12958 6157414400 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bed_edit' not found. 'bed_edit' is not a valid view function or pattern name. ERROR 2025-08-05 00:42:22,898 basehttp 12958 6157414400 "GET /en/inpatients/beds/ HTTP/1.1" 500 219004 WARNING 2025-08-05 00:42:22,912 log 12958 6157414400 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:42:22,912 basehttp 12958 6157414400 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:42:47,345 log 12958 6157414400 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bed_updatet' not found. 'bed_updatet' is not a valid view function or pattern name. ERROR 2025-08-05 00:42:47,346 basehttp 12958 6157414400 "GET /en/inpatients/beds/ HTTP/1.1" 500 219082 WARNING 2025-08-05 00:42:47,364 log 12958 6157414400 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:42:47,364 basehttp 12958 6157414400 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:42:56,262 log 12958 6157414400 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bed_details_ajax' not found. 'bed_details_ajax' is not a valid view function or pattern name. ERROR 2025-08-05 00:42:56,263 basehttp 12958 6157414400 "GET /en/inpatients/beds/ HTTP/1.1" 500 219258 WARNING 2025-08-05 00:42:56,282 log 12958 6157414400 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:42:56,282 basehttp 12958 6157414400 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:44:04,429 log 12958 6157414400 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bed_detail' with no arguments not found. 1 pattern(s) tried: ['en/inpatients/beds/(?P[0-9]+)/\\Z'] ERROR 2025-08-05 00:44:04,430 basehttp 12958 6157414400 "GET /en/inpatients/beds/ HTTP/1.1" 500 220933 WARNING 2025-08-05 00:44:04,447 log 12958 6157414400 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:44:04,447 basehttp 12958 6157414400 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:44:56,616 log 12958 6157414400 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'assign_patient_to_bed' not found. 'assign_patient_to_bed' is not a valid view function or pattern name. ERROR 2025-08-05 00:44:56,618 basehttp 12958 6157414400 "GET /en/inpatients/beds/ HTTP/1.1" 500 218912 WARNING 2025-08-05 00:44:56,636 log 12958 6157414400 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:44:56,636 basehttp 12958 6157414400 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 00:47:30,718 autoreload 12958 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/urls.py changed, reloading. INFO 2025-08-05 00:47:31,017 autoreload 15270 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 00:50:08,941 autoreload 15270 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-05 00:50:09,181 autoreload 16412 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 00:50:14,216 log 16412 6203092992 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'assign_patient_to_bed' not found. 'assign_patient_to_bed' is not a valid view function or pattern name. ERROR 2025-08-05 00:50:14,218 basehttp 16412 6203092992 "GET /en/inpatients/beds/ HTTP/1.1" 500 218912 WARNING 2025-08-05 00:50:14,235 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:50:14,235 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 00:51:46,815 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:51:46,816 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:51:47,890 log 16412 6203092992 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'assign_patient_to_bed' not found. 'assign_patient_to_bed' is not a valid view function or pattern name. ERROR 2025-08-05 00:51:47,891 basehttp 16412 6203092992 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 220001 WARNING 2025-08-05 00:51:47,910 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:51:47,910 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:51:49,109 log 16412 6203092992 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'assign_patient_to_bed' not found. 'assign_patient_to_bed' is not a valid view function or pattern name. ERROR 2025-08-05 00:51:49,110 basehttp 16412 6203092992 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 220001 WARNING 2025-08-05 00:51:49,127 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:51:49,127 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:52:23,133 log 16412 6203092992 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'assign_patient_to_bed' not found. 'assign_patient_to_bed' is not a valid view function or pattern name. ERROR 2025-08-05 00:52:23,134 basehttp 16412 6203092992 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 220009 WARNING 2025-08-05 00:52:23,152 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:52:23,152 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:52:24,206 log 16412 6203092992 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'assign_patient_to_bed' not found. 'assign_patient_to_bed' is not a valid view function or pattern name. ERROR 2025-08-05 00:52:24,207 basehttp 16412 6203092992 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 220009 WARNING 2025-08-05 00:52:24,221 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:52:24,221 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:52:35,615 log 16412 6203092992 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'assign_patient_to_bed' not found. 'assign_patient_to_bed' is not a valid view function or pattern name. ERROR 2025-08-05 00:52:35,617 basehttp 16412 6203092992 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 220137 WARNING 2025-08-05 00:52:35,627 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:52:35,627 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 00:52:35,650 log 16412 6203092992 Not Found: /favicon.ico WARNING 2025-08-05 00:52:35,650 basehttp 16412 6203092992 "GET /favicon.ico HTTP/1.1" 404 2557 ERROR 2025-08-05 00:52:54,913 log 16412 6203092992 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'discharge_patient_from_bed' not found. 'discharge_patient_from_bed' is not a valid view function or pattern name. ERROR 2025-08-05 00:52:54,914 basehttp 16412 6203092992 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 219872 WARNING 2025-08-05 00:52:54,929 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:52:54,930 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:53:06,660 log 16412 6203092992 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'schedule_bed_maintenance' not found. 'schedule_bed_maintenance' is not a valid view function or pattern name. ERROR 2025-08-05 00:53:06,661 basehttp 16412 6203092992 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 219066 WARNING 2025-08-05 00:53:06,676 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:53:06,676 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:53:07,888 log 16412 6203092992 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'schedule_bed_maintenance' not found. 'schedule_bed_maintenance' is not a valid view function or pattern name. ERROR 2025-08-05 00:53:07,889 basehttp 16412 6203092992 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 219066 WARNING 2025-08-05 00:53:07,904 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:53:07,904 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:53:38,068 log 16412 6203092992 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bed_history' not found. 'bed_history' is not a valid view function or pattern name. ERROR 2025-08-05 00:53:38,069 basehttp 16412 6203092992 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 216915 WARNING 2025-08-05 00:53:38,085 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:53:38,085 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:55:57,584 log 16412 6203092992 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bed_history' not found. 'bed_history' is not a valid view function or pattern name. ERROR 2025-08-05 00:55:57,586 basehttp 16412 6203092992 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 217242 WARNING 2025-08-05 00:55:57,604 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:55:57,604 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:58:53,771 log 16412 6203092992 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bed_bulk_update' not found. 'bed_bulk_update' is not a valid view function or pattern name. ERROR 2025-08-05 00:58:53,775 basehttp 16412 6203092992 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 217112 WARNING 2025-08-05 00:58:53,790 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:58:53,790 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 00:59:18,993 log 16412 6203092992 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bed_status_update' not found. 'bed_status_update' is not a valid view function or pattern name. ERROR 2025-08-05 00:59:18,995 basehttp 16412 6203092992 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 500 216042 WARNING 2025-08-05 00:59:19,010 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 00:59:19,010 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 00:59:28,986 basehttp 16412 6203092992 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 200 784157 WARNING 2025-08-05 00:59:29,009 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-05 00:59:29,009 basehttp 16412 6253572096 "GET /static/css/custom.css HTTP/1.1" 200 1855 WARNING 2025-08-05 00:59:29,010 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 00:59:29,011 basehttp 16412 6287224832 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-05 00:59:29,012 basehttp 16412 6253572096 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-05 00:59:29,014 basehttp 16412 6253572096 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-05 00:59:29,014 basehttp 16412 6203092992 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-05 00:59:29,016 basehttp 16412 6219919360 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-05 00:59:29,022 basehttp 16412 6203092992 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-05 00:59:29,024 basehttp 16412 6270398464 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-05 00:59:29,026 basehttp 16412 6236745728 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-05 00:59:29,028 basehttp 16412 6253572096 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-05 00:59:29,342 basehttp 16412 6253572096 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-05 00:59:29,346 basehttp 16412 6236745728 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-05 00:59:29,367 basehttp 16412 6236745728 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-05 00:59:29,369 basehttp 16412 6219919360 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-05 00:59:29,369 basehttp 16412 6203092992 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-05 00:59:29,369 basehttp 16412 6270398464 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-05 00:59:29,370 basehttp 16412 6253572096 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-05 00:59:29,371 basehttp 16412 6203092992 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-05 00:59:29,372 basehttp 16412 6270398464 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-05 00:59:29,372 basehttp 16412 6219919360 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-05 00:59:29,372 basehttp 16412 6287224832 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-05 00:59:29,372 basehttp 16412 6236745728 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-05 00:59:29,372 basehttp 16412 6253572096 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-05 00:59:29,375 basehttp 16412 6287224832 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-05 00:59:29,375 basehttp 16412 6270398464 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-05 00:59:29,376 basehttp 16412 6219919360 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-05 00:59:29,377 basehttp 16412 6203092992 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-05 00:59:29,377 basehttp 16412 6236745728 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-05 00:59:29,378 basehttp 16412 6253572096 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-05 00:59:29,380 basehttp 16412 6236745728 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-05 00:59:29,380 basehttp 16412 6270398464 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-05 00:59:29,381 basehttp 16412 6219919360 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-05 00:59:29,381 basehttp 16412 6203092992 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-05 00:59:29,382 basehttp 16412 6287224832 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-05 00:59:30,260 basehttp 16412 6287224832 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 200 784157 INFO 2025-08-05 01:00:00,269 basehttp 16412 6287224832 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 200 784157 INFO 2025-08-05 01:00:30,269 basehttp 16412 6287224832 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 200 784157 WARNING 2025-08-05 01:00:59,018 log 16412 6287224832 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 01:00:59,019 basehttp 16412 6287224832 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 01:01:00,298 basehttp 16412 6287224832 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 200 784140 INFO 2025-08-05 01:01:00,831 basehttp 16412 6287224832 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 200 784140 INFO 2025-08-05 01:01:00,840 basehttp 16412 6219919360 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-05 01:01:00,843 basehttp 16412 6253572096 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-05 01:01:00,843 basehttp 16412 6219919360 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-05 01:01:00,845 basehttp 16412 6219919360 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-05 01:01:00,847 basehttp 16412 6253572096 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 WARNING 2025-08-05 01:01:00,848 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 01:01:00,849 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 01:01:00,849 basehttp 16412 6287224832 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-05 01:01:00,854 basehttp 16412 6253572096 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-05 01:01:00,857 basehttp 16412 6236745728 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-05 01:01:00,859 basehttp 16412 6270398464 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-05 01:01:00,860 basehttp 16412 6219919360 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-05 01:01:00,975 basehttp 16412 6219919360 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-05 01:01:01,006 basehttp 16412 6219919360 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-05 01:01:01,008 basehttp 16412 6236745728 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-05 01:01:01,008 basehttp 16412 6253572096 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-05 01:01:01,009 basehttp 16412 6270398464 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-05 01:01:01,009 basehttp 16412 6287224832 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-05 01:01:01,011 basehttp 16412 6253572096 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-05 01:01:01,011 basehttp 16412 6270398464 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-05 01:01:01,011 basehttp 16412 6236745728 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-05 01:01:01,012 basehttp 16412 6287224832 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-05 01:01:01,012 basehttp 16412 6203092992 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-05 01:01:01,013 basehttp 16412 6236745728 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-05 01:01:01,014 basehttp 16412 6253572096 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-05 01:01:01,014 basehttp 16412 6270398464 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-05 01:01:01,014 basehttp 16412 6219919360 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-05 01:01:01,014 basehttp 16412 6287224832 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-05 01:01:01,015 basehttp 16412 6203092992 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-05 01:01:01,016 basehttp 16412 6253572096 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-05 01:01:01,017 basehttp 16412 6236745728 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-05 01:01:01,017 basehttp 16412 6287224832 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-05 01:01:01,017 basehttp 16412 6270398464 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-05 01:01:01,018 basehttp 16412 6219919360 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-05 01:01:01,018 basehttp 16412 6203092992 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-05 01:01:01,018 basehttp 16412 6253572096 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-05 01:01:01,102 basehttp 16412 6253572096 "GET /en/inpatients/beds/?ward=80 HTTP/1.1" 200 784140 WARNING 2025-08-05 01:01:01,154 log 16412 6253572096 Not Found: /favicon.ico WARNING 2025-08-05 01:01:01,154 basehttp 16412 6253572096 "GET /favicon.ico HTTP/1.1" 404 2557 ERROR 2025-08-05 01:01:30,426 log 16412 6253572096 Internal Server Error: /en/inpatients/wards/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 231, in render raise ValueError( ValueError: Need 2 values to unpack in for loop; got 8. ERROR 2025-08-05 01:01:30,427 basehttp 16412 6253572096 "GET /en/inpatients/wards/ HTTP/1.1" 500 177287 WARNING 2025-08-05 01:01:30,446 log 16412 6253572096 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 01:01:30,446 basehttp 16412 6253572096 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 01:01:31,355 basehttp 16412 6253572096 "GET /en/ HTTP/1.1" 200 50322 WARNING 2025-08-05 01:01:31,371 log 16412 6253572096 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 01:01:31,372 basehttp 16412 6253572096 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 01:01:31,489 basehttp 16412 6253572096 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6774 INFO 2025-08-05 01:01:31,490 basehttp 16412 6287224832 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-05 01:01:31,491 basehttp 16412 6203092992 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 01:01:31,492 basehttp 16412 6219919360 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 01:01:36,320 basehttp 16412 6219919360 "GET /en/hr HTTP/1.1" 301 0 ERROR 2025-08-05 01:01:36,375 log 16412 6203092992 Internal Server Error: /en/hr/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/hr/views.py", line 52, in get_context_data 'pending_reviews': PerformanceReview.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: areas_for_improvement, competency_ratings, created_at, development_plan, employee, employee_comments, employee_id, employee_signature_date, future_goals, goals_achieved, goals_not_achieved, id, notes, overall_rating, review_date, review_id, review_period_end, review_period_start, review_type, reviewer, reviewer_id, status, strengths, training_recommendations, updated_at ERROR 2025-08-05 01:01:36,376 basehttp 16412 6203092992 "GET /en/hr/ HTTP/1.1" 500 137549 WARNING 2025-08-05 01:01:36,393 log 16412 6203092992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 01:01:36,393 basehttp 16412 6203092992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 01:03:08,066 autoreload 16412 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/hr/views.py changed, reloading. INFO 2025-08-05 01:03:08,412 autoreload 22123 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 01:03:11,389 log 22123 6171734016 Internal Server Error: /en/hr/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/hr/views.py", line 52, in get_context_data 'pending_reviews': PerformanceReview.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: areas_for_improvement, competency_ratings, created_at, development_plan, employee, employee_comments, employee_id, employee_signature_date, future_goals, goals_achieved, goals_not_achieved, id, notes, overall_rating, review_date, review_id, review_period_end, review_period_start, review_type, reviewer, reviewer_id, status, strengths, training_recommendations, updated_at ERROR 2025-08-05 01:03:11,391 basehttp 22123 6171734016 "GET /en/hr/ HTTP/1.1" 500 137686 WARNING 2025-08-05 01:03:11,407 log 22123 6171734016 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 01:03:11,407 basehttp 22123 6171734016 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 01:03:12,779 log 22123 6171734016 Internal Server Error: /en/hr/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/hr/views.py", line 52, in get_context_data 'pending_reviews': PerformanceReview.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: areas_for_improvement, competency_ratings, created_at, development_plan, employee, employee_comments, employee_id, employee_signature_date, future_goals, goals_achieved, goals_not_achieved, id, notes, overall_rating, review_date, review_id, review_period_end, review_period_start, review_type, reviewer, reviewer_id, status, strengths, training_recommendations, updated_at ERROR 2025-08-05 01:03:12,780 basehttp 22123 6171734016 "GET /en/hr/ HTTP/1.1" 500 137686 WARNING 2025-08-05 01:03:12,800 log 22123 6171734016 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 01:03:12,800 basehttp 22123 6171734016 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 01:03:31,372 autoreload 22123 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/hr/views.py changed, reloading. INFO 2025-08-05 01:03:31,702 autoreload 22284 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 01:03:38,424 log 22284 6171111424 Internal Server Error: /en/hr/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/hr/views.py", line 83, in get_context_data 'total_hours_today': TimeEntry.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: approval_date, approved_by, approved_by_id, break_end_time, break_start_time, clock_in_time, clock_out_time, created_at, department, department_id, employee, employee_id, entry_id, entry_type, id, location, lunch_end_time, lunch_start_time, notes, overtime_hours, regular_hours, status, total_hours, updated_at, work_date ERROR 2025-08-05 01:03:38,426 basehttp 22284 6171111424 "GET /en/hr/ HTTP/1.1" 500 137336 WARNING 2025-08-05 01:03:38,442 log 22284 6171111424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 01:03:38,442 basehttp 22284 6171111424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 01:03:50,473 autoreload 22284 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/hr/views.py changed, reloading. INFO 2025-08-05 01:03:50,752 autoreload 22437 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 01:03:55,902 basehttp 22437 6203240448 "GET /en/hr/ HTTP/1.1" 200 45654 WARNING 2025-08-05 01:03:55,920 log 22437 6203240448 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 01:03:55,920 basehttp 22437 6203240448 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 01:05:33,906 basehttp 22437 6203240448 "GET /en/hr/ HTTP/1.1" 200 43963 WARNING 2025-08-05 01:05:39,976 log 22437 6203240448 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 01:05:39,976 basehttp 22437 6203240448 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 01:05:43,427 basehttp 22437 6203240448 "GET /en/hr/ HTTP/1.1" 200 43963 INFO 2025-08-05 01:05:43,442 basehttp 22437 6287372288 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-05 01:05:43,442 basehttp 22437 6236893184 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-05 01:05:43,447 basehttp 22437 6270545920 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-05 01:05:43,448 basehttp 22437 6287372288 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-05 01:05:43,450 basehttp 22437 6287372288 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-05 01:05:43,450 basehttp 22437 6203240448 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 WARNING 2025-08-05 01:05:43,456 log 22437 6236893184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 01:05:43,456 basehttp 22437 6236893184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 01:05:43,458 basehttp 22437 6287372288 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-05 01:05:43,461 basehttp 22437 6253719552 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-05 01:05:43,462 basehttp 22437 6220066816 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-05 01:05:43,463 basehttp 22437 6270545920 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-05 01:05:43,690 basehttp 22437 6253719552 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-05 01:05:43,690 basehttp 22437 6270545920 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-05 01:05:43,690 basehttp 22437 6220066816 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-05 01:05:43,691 basehttp 22437 6236893184 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-05 01:05:43,691 basehttp 22437 6287372288 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-05 01:05:43,693 basehttp 22437 6203240448 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-05 01:05:43,695 basehttp 22437 6287372288 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-05 01:05:43,696 basehttp 22437 6236893184 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-05 01:05:43,696 basehttp 22437 6203240448 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-05 01:05:43,696 basehttp 22437 6270545920 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-05 01:05:43,696 basehttp 22437 6220066816 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-05 01:05:43,698 basehttp 22437 6236893184 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-05 01:05:43,699 basehttp 22437 6287372288 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-05 01:05:43,699 basehttp 22437 6220066816 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-05 01:05:43,699 basehttp 22437 6270545920 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-05 01:05:43,700 basehttp 22437 6203240448 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-05 01:05:43,701 basehttp 22437 6236893184 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-05 01:05:43,702 basehttp 22437 6287372288 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-05 01:05:43,702 basehttp 22437 6253719552 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-05 01:05:43,702 basehttp 22437 6270545920 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-05 01:05:43,703 basehttp 22437 6220066816 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-05 01:05:43,704 basehttp 22437 6287372288 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-05 01:05:43,704 basehttp 22437 6203240448 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-05 01:05:43,706 basehttp 22437 6236893184 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 WARNING 2025-08-05 01:05:43,817 log 22437 6236893184 Not Found: /favicon.ico WARNING 2025-08-05 01:05:43,817 basehttp 22437 6236893184 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-05 01:05:53,967 basehttp 22437 6236893184 "GET /en/hr/employees/create/ HTTP/1.1" 200 57333 INFO 2025-08-05 01:05:59,529 basehttp 22437 6236893184 "GET /en/hr/employees/ HTTP/1.1" 200 130752 WARNING 2025-08-05 01:06:05,878 log 22437 6236893184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 01:06:05,878 basehttp 22437 6236893184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 01:06:42,093 basehttp 22437 6236893184 "GET /en/hr/employees/892/ HTTP/1.1" 200 37245 WARNING 2025-08-05 01:06:42,113 log 22437 6236893184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 01:06:42,113 basehttp 22437 6236893184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 01:07:27,592 basehttp 22437 6236893184 "GET /en/hr/employees/892/ HTTP/1.1" 200 37232 INFO 2025-08-05 01:07:37,606 basehttp 22437 6236893184 "GET /en/hr/employees/892/ HTTP/1.1" 200 37231 INFO 2025-08-05 01:07:57,625 basehttp 22437 6236893184 "GET /en/hr/employees/892/update/ HTTP/1.1" 200 57107 INFO 2025-08-05 01:08:46,395 basehttp 22437 6236893184 "GET /en/hr/employees/892/ HTTP/1.1" 200 37231 INFO 2025-08-05 01:08:57,249 basehttp 22437 6236893184 "GET /en/hr/employees/892/update/ HTTP/1.1" 200 57107 INFO 2025-08-05 01:08:59,308 basehttp 22437 6236893184 "GET /en/hr/employees/892/ HTTP/1.1" 200 37231 ERROR 2025-08-05 01:09:01,939 log 22437 6236893184 Internal Server Error: /en/hr/employees/892/delete/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'employee_deactivate' not found. 'employee_deactivate' is not a valid view function or pattern name. ERROR 2025-08-05 01:09:01,941 basehttp 22437 6236893184 "GET /en/hr/employees/892/delete/ HTTP/1.1" 500 167669 INFO 2025-08-05 11:05:21,289 autoreload 22964 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 11:05:31,881 basehttp 22964 6159216640 "GET /en/hr/employees/ HTTP/1.1" 200 130752 INFO 2025-08-05 11:05:40,935 basehttp 22964 6159216640 "GET /en/hr/employees/892/ HTTP/1.1" 200 37233 INFO 2025-08-05 11:08:17,185 basehttp 22964 6159216640 "GET /en/hr/ HTTP/1.1" 200 43973 INFO 2025-08-05 11:09:09,127 basehttp 22964 6159216640 "GET /en/hr/employees/ HTTP/1.1" 200 130752 ERROR 2025-08-05 11:09:16,687 log 22964 6159216640 Internal Server Error: /en/hr/departments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 199, in render len_values = len(values) ^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 366, in __len__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 131, in __iter__ setattr(obj, attr_name, row[col_pos]) AttributeError: property 'employee_count' of 'Department' object has no setter ERROR 2025-08-05 11:09:16,691 basehttp 22964 6159216640 "GET /en/hr/departments/ HTTP/1.1" 500 168367 INFO 2025-08-05 11:12:24,406 basehttp 22964 6159216640 "GET /en/hr/ HTTP/1.1" 200 43973 INFO 2025-08-05 11:12:39,105 basehttp 22964 6159216640 "GET /en/hr/schedules/ HTTP/1.1" 200 123870 WARNING 2025-08-05 11:12:39,115 basehttp 22964 13186969600 "GET /static/plugins/fullcalendar/main.min.css HTTP/1.1" 404 2026 INFO 2025-08-05 11:12:39,117 basehttp 22964 13170143232 "GET /static/plugins/datatables.net-responsive-bs5/css/responsive.bootstrap5.min.css HTTP/1.1" 200 6044 INFO 2025-08-05 11:12:39,118 basehttp 22964 6159216640 "GET /static/plugins/datatables.net-bs5/css/dataTables.bootstrap5.min.css HTTP/1.1" 200 15096 WARNING 2025-08-05 11:12:39,119 basehttp 22964 13186969600 "GET /static/plugins/datatables.net/js/jquery.dataTables.min.js HTTP/1.1" 404 2077 INFO 2025-08-05 11:12:39,121 basehttp 22964 13203795968 "GET /static/plugins/datatables.net-bs5/js/dataTables.bootstrap5.min.js HTTP/1.1" 200 1470 WARNING 2025-08-05 11:12:39,121 basehttp 22964 13220622336 "GET /static/plugins/fullcalendar/main.min.js HTTP/1.1" 404 2023 INFO 2025-08-05 11:12:39,122 basehttp 22964 13170143232 "GET /static/plugins/datatables.net-responsive-bs5/js/responsive.bootstrap5.min.js HTTP/1.1" 200 1796 INFO 2025-08-05 11:12:39,122 basehttp 22964 6159216640 "GET /static/plugins/datatables.net-responsive/js/dataTables.responsive.min.js HTTP/1.1" 200 16086 ERROR 2025-08-05 11:13:01,522 log 22964 6159216640 Internal Server Error: /en/hr/schedules/841/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'schedule_assignment_delete' not found. 'schedule_assignment_delete' is not a valid view function or pattern name. ERROR 2025-08-05 11:13:01,524 basehttp 22964 6159216640 "GET /en/hr/schedules/841/ HTTP/1.1" 500 212878 INFO 2025-08-05 11:13:09,178 basehttp 22964 6159216640 "GET /en/hr/schedules/?page=2 HTTP/1.1" 200 125320 WARNING 2025-08-05 11:13:09,189 basehttp 22964 13170143232 "GET /static/plugins/datatables.net/js/jquery.dataTables.min.js HTTP/1.1" 404 2077 WARNING 2025-08-05 11:13:09,190 basehttp 22964 13203795968 "GET /static/plugins/fullcalendar/main.min.js HTTP/1.1" 404 2023 WARNING 2025-08-05 11:13:09,191 basehttp 22964 6159216640 "GET /static/plugins/fullcalendar/main.min.css HTTP/1.1" 404 2026 INFO 2025-08-05 11:13:18,661 basehttp 22964 6159216640 "GET /en/hr/schedules/2081/update/ HTTP/1.1" 200 36775 INFO 2025-08-05 11:13:18,667 basehttp 22964 6159216640 "GET /static/plugins/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css HTTP/1.1" 200 15733 INFO 2025-08-05 11:13:18,669 basehttp 22964 13186969600 "GET /static/plugins/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js HTTP/1.1" 200 33871 INFO 2025-08-05 11:13:18,669 basehttp 22964 13170143232 "GET /static/plugins/select2/dist/css/select2.min.css HTTP/1.1" 200 14966 INFO 2025-08-05 11:13:18,670 basehttp 22964 13203795968 "GET /static/plugins/select2/dist/js/select2.min.js HTTP/1.1" 200 70851 INFO 2025-08-05 11:29:05,166 autoreload 28424 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 11:29:07,783 basehttp 28424 6195310592 "GET / HTTP/1.1" 302 0 INFO 2025-08-05 11:29:07,873 basehttp 28424 6195310592 "GET /en/ HTTP/1.1" 200 50312 INFO 2025-08-05 11:29:07,963 basehttp 28424 6195310592 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6784 INFO 2025-08-05 11:29:07,965 basehttp 28424 6228963328 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 11:29:07,965 basehttp 28424 6245789696 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-05 11:29:07,966 basehttp 28424 6212136960 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 11:29:18,818 basehttp 28424 6212136960 "GET /en/appointments/create/ HTTP/1.1" 200 35081 INFO 2025-08-05 11:30:21,161 basehttp 28424 6195310592 "GET /en/appointments/list/ HTTP/1.1" 200 28845 INFO 2025-08-05 12:16:21,735 autoreload 42493 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 12:18:41,456 autoreload 43487 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 12:18:42,551 basehttp 43487 6162247680 "GET / HTTP/1.1" 302 0 INFO 2025-08-05 12:18:42,634 basehttp 43487 6162247680 "GET /en/ HTTP/1.1" 302 0 WARNING 2025-08-05 12:18:42,639 log 43487 6162247680 Not Found: /accounts/login/ WARNING 2025-08-05 12:18:42,639 basehttp 43487 6162247680 "GET /accounts/login/?next=/en/ HTTP/1.1" 404 2579 INFO 2025-08-05 12:18:53,122 basehttp 43487 6162247680 "GET /admin/ HTTP/1.1" 302 0 INFO 2025-08-05 12:18:53,158 basehttp 43487 6162247680 "GET /en/admin/ HTTP/1.1" 302 0 INFO 2025-08-05 12:18:53,172 basehttp 43487 6162247680 "GET /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4212 INFO 2025-08-05 12:18:56,159 basehttp 43487 6162247680 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 302 0 INFO 2025-08-05 12:18:56,179 basehttp 43487 6162247680 "GET /en/admin/ HTTP/1.1" 200 85466 INFO 2025-08-05 12:18:59,486 basehttp 43487 6162247680 "GET / HTTP/1.1" 302 0 INFO 2025-08-05 12:18:59,514 basehttp 43487 6162247680 "GET /en/ HTTP/1.1" 200 50321 INFO 2025-08-05 12:18:59,580 basehttp 43487 6162247680 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6779 INFO 2025-08-05 12:18:59,590 basehttp 43487 12935360512 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-05 12:18:59,590 basehttp 43487 12918534144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 12:18:59,592 basehttp 43487 12901707776 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 12:19:10,350 basehttp 43487 12901707776 "GET /en/appointments/create/ HTTP/1.1" 200 35081 INFO 2025-08-05 12:19:29,582 basehttp 43487 12901707776 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 12:19:59,603 basehttp 43487 12901707776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6779 INFO 2025-08-05 12:19:59,603 basehttp 43487 12918534144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 12:19:59,604 basehttp 43487 12935360512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 12:20:29,587 basehttp 43487 12935360512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 14:00:49,850 autoreload 52185 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 14:00:54,393 basehttp 52185 6164049920 "GET /en/ HTTP/1.1" 302 0 WARNING 2025-08-05 14:00:54,401 log 52185 6164049920 Not Found: /accounts/login/ WARNING 2025-08-05 14:00:54,401 basehttp 52185 6164049920 "GET /accounts/login/?next=/en/ HTTP/1.1" 404 2579 INFO 2025-08-05 14:01:01,393 basehttp 52185 6164049920 "GET /admin/ HTTP/1.1" 302 0 INFO 2025-08-05 14:01:01,426 basehttp 52185 6164049920 "GET /en/admin/ HTTP/1.1" 302 0 INFO 2025-08-05 14:01:01,441 basehttp 52185 6164049920 "GET /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4212 INFO 2025-08-05 14:01:07,334 basehttp 52185 6164049920 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 302 0 INFO 2025-08-05 14:01:07,354 basehttp 52185 6164049920 "GET /en/admin/ HTTP/1.1" 200 85466 INFO 2025-08-05 14:01:12,542 basehttp 52185 6164049920 "GET / HTTP/1.1" 302 0 INFO 2025-08-05 14:01:12,571 basehttp 52185 6164049920 "GET /en/ HTTP/1.1" 200 50311 INFO 2025-08-05 14:01:12,665 basehttp 52185 6164049920 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6784 INFO 2025-08-05 14:01:12,669 basehttp 52185 6180876288 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 14:01:12,673 basehttp 52185 6214529024 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-05 14:01:12,674 basehttp 52185 6197702656 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 14:01:42,661 basehttp 52185 6197702656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 14:02:12,666 basehttp 52185 6197702656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6784 INFO 2025-08-05 14:02:12,668 basehttp 52185 6214529024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 14:02:12,670 basehttp 52185 6180876288 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 14:02:14,951 basehttp 52185 6180876288 "GET /en/hr HTTP/1.1" 301 0 INFO 2025-08-05 14:02:14,989 basehttp 52185 6214529024 "GET /en/hr/ HTTP/1.1" 200 43973 INFO 2025-08-05 14:02:21,219 basehttp 52185 6214529024 "GET /en/hr/employees/create/ HTTP/1.1" 200 57333 INFO 2025-08-05 14:02:35,037 basehttp 52185 6214529024 "GET /en/hr/employees/ HTTP/1.1" 200 130752 INFO 2025-08-05 14:02:41,081 basehttp 52185 6214529024 "GET /en/hr/employees/892/ HTTP/1.1" 200 37233 INFO 2025-08-05 14:03:13,558 basehttp 52185 6214529024 "GET /en/hr/employees/ HTTP/1.1" 200 130752 INFO 2025-08-05 14:03:21,960 basehttp 52185 6214529024 "GET /en/hr/schedules/ HTTP/1.1" 200 123870 WARNING 2025-08-05 14:03:21,972 basehttp 52185 6197702656 "GET /static/plugins/datatables.net/js/jquery.dataTables.min.js HTTP/1.1" 404 2077 WARNING 2025-08-05 14:03:21,972 basehttp 52185 6214529024 "GET /static/plugins/fullcalendar/main.min.css HTTP/1.1" 404 2026 WARNING 2025-08-05 14:03:21,974 basehttp 52185 6164049920 "GET /static/plugins/fullcalendar/main.min.js HTTP/1.1" 404 2023 ERROR 2025-08-05 14:03:28,074 log 52185 6164049920 Internal Server Error: /en/hr/schedules/841/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'schedule_assignment_delete' not found. 'schedule_assignment_delete' is not a valid view function or pattern name. ERROR 2025-08-05 14:03:28,077 basehttp 52185 6164049920 "GET /en/hr/schedules/841/ HTTP/1.1" 500 212878 INFO 2025-08-05 14:03:52,665 basehttp 52185 6164049920 "GET /en/hr/departments/create/ HTTP/1.1" 200 43137 WARNING 2025-08-05 14:03:52,674 basehttp 52185 6164049920 "GET /static/plugins/select2-bootstrap5-theme/select2-bootstrap5.min.css HTTP/1.1" 404 2104 INFO 2025-08-05 14:04:04,488 basehttp 52185 6164049920 "GET /en/patients/register/ HTTP/1.1" 200 29341 INFO 2025-08-05 14:04:08,428 basehttp 52185 6164049920 "GET /en/appointments/create/ HTTP/1.1" 200 35081 INFO 2025-08-05 14:04:17,074 basehttp 52185 6164049920 "GET /en/ HTTP/1.1" 200 50311 INFO 2025-08-05 14:04:17,130 basehttp 52185 6164049920 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6784 INFO 2025-08-05 14:04:17,136 basehttp 52185 13203795968 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-05 14:04:17,137 basehttp 52185 13186969600 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 14:04:17,138 basehttp 52185 13170143232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 14:04:21,144 basehttp 52185 13170143232 "GET /en/admin/ HTTP/1.1" 200 85466 INFO 2025-08-05 14:04:27,175 basehttp 52185 13170143232 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 49633 WARNING 2025-08-05 14:04:55,609 log 52185 13170143232 Not Found: /en/ajax/dashboard-data/ WARNING 2025-08-05 14:04:55,609 basehttp 52185 13170143232 "GET /en/ajax/dashboard-data/ HTTP/1.1" 404 28103 INFO 2025-08-05 14:05:16,329 basehttp 52185 13170143232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 14:05:17,127 basehttp 52185 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6784 INFO 2025-08-05 14:05:17,127 basehttp 52185 13186969600 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 14:05:25,403 basehttp 52185 13170143232 "GET /en/billing/bills/create/ HTTP/1.1" 200 42938 INFO 2025-08-05 14:05:34,311 basehttp 52185 13170143232 "GET /en/ HTTP/1.1" 200 50311 INFO 2025-08-05 14:05:34,383 basehttp 52185 6164049920 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-05 14:05:34,385 basehttp 52185 13203795968 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 14:05:34,385 basehttp 52185 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6784 INFO 2025-08-05 14:05:34,387 basehttp 52185 13186969600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 14:05:36,500 basehttp 52185 13186969600 "GET /en/admin/ HTTP/1.1" 200 85466 INFO 2025-08-05 14:05:41,690 basehttp 52185 13186969600 "GET /en/ HTTP/1.1" 200 50311 INFO 2025-08-05 14:05:41,756 basehttp 52185 6164049920 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-05 14:05:41,757 basehttp 52185 13203795968 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 14:05:41,757 basehttp 52185 13186969600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6784 INFO 2025-08-05 14:05:41,760 basehttp 52185 13170143232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 14:05:43,834 basehttp 52185 13170143232 "GET /en/admin/ HTTP/1.1" 200 85466 INFO 2025-08-05 14:05:52,600 basehttp 52185 13170143232 "GET /en/billing HTTP/1.1" 301 0 ERROR 2025-08-05 14:05:52,627 log 52185 13186969600 Internal Server Error: /en/billing/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 198, in render values = list(values) ^^^^^^^^^^^^ TypeError: 'int' object is not iterable ERROR 2025-08-05 14:05:52,628 basehttp 52185 13186969600 "GET /en/billing/ HTTP/1.1" 500 151289 ERROR 2025-08-05 14:05:52,746 log 52185 13186969600 Internal Server Error: /en/billing/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 198, in render values = list(values) ^^^^^^^^^^^^ TypeError: 'int' object is not iterable ERROR 2025-08-05 14:05:52,747 basehttp 52185 13186969600 "GET /en/billing/ HTTP/1.1" 500 151015 INFO 2025-08-05 14:05:58,233 basehttp 52185 13186969600 "GET /en/admin/ HTTP/1.1" 200 85466 INFO 2025-08-05 14:06:05,272 basehttp 52185 13186969600 "GET /en/emr HTTP/1.1" 301 0 INFO 2025-08-05 14:06:05,290 basehttp 52185 13203795968 "GET /en/emr/ HTTP/1.1" 200 40039 INFO 2025-08-05 14:06:05,320 basehttp 52185 13203795968 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:06:35,324 basehttp 52185 13203795968 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:07:05,324 basehttp 52185 13203795968 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:07:35,325 basehttp 52185 13203795968 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:07:53,251 basehttp 52185 13203795968 "GET /en/inpatients HTTP/1.1" 301 0 INFO 2025-08-05 14:07:53,290 basehttp 52185 6164049920 "GET /en/inpatients/ HTTP/1.1" 200 44336 INFO 2025-08-05 14:07:53,318 basehttp 52185 6164049920 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-05 14:07:53,344 basehttp 52185 13170143232 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-05 14:08:05,276 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:08:05,380 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:08:35,402 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:09:05,400 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:09:35,404 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 WARNING 2025-08-05 14:09:55,597 log 52185 13170143232 Not Found: /en/ajax/dashboard-data/ WARNING 2025-08-05 14:09:55,598 basehttp 52185 13170143232 "GET /en/ajax/dashboard-data/ HTTP/1.1" 404 28103 INFO 2025-08-05 14:10:05,401 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:10:35,400 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:11:05,400 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:11:35,400 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:12:05,403 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:12:35,399 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:13:05,398 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:13:35,399 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:14:05,398 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:14:35,398 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 WARNING 2025-08-05 14:14:55,593 log 52185 13170143232 Not Found: /en/ajax/dashboard-data/ WARNING 2025-08-05 14:14:55,593 basehttp 52185 13170143232 "GET /en/ajax/dashboard-data/ HTTP/1.1" 404 28103 INFO 2025-08-05 14:15:05,397 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:15:35,398 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:16:05,397 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:16:35,391 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:17:05,399 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:17:35,400 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:18:05,396 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:18:35,398 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:19:05,374 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:19:35,398 basehttp 52185 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 WARNING 2025-08-05 14:19:55,589 log 52185 6164049920 Not Found: /en/ajax/dashboard-data/ WARNING 2025-08-05 14:19:55,589 basehttp 52185 6164049920 "GET /en/ajax/dashboard-data/ HTTP/1.1" 404 28103 INFO 2025-08-05 14:20:05,399 basehttp 52185 6164049920 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:20:35,396 basehttp 52185 6164049920 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:21:05,401 basehttp 52185 6164049920 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:21:35,395 basehttp 52185 6164049920 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:22:05,395 basehttp 52185 6164049920 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:22:35,396 basehttp 52185 6164049920 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:23:05,617 basehttp 52185 6164049920 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:23:35,645 basehttp 52185 6164049920 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:24:37,636 basehttp 52185 6164049920 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 WARNING 2025-08-05 14:24:55,582 log 52185 6164049920 Not Found: /en/ajax/dashboard-data/ WARNING 2025-08-05 14:24:55,583 basehttp 52185 6164049920 "GET /en/ajax/dashboard-data/ HTTP/1.1" 404 28103 INFO 2025-08-05 14:25:55,630 basehttp 52185 6164049920 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:26:55,627 basehttp 52185 6164049920 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:27:54,256 basehttp 52185 6164049920 "GET /en/inpatients/beds/ HTTP/1.1" 200 784140 INFO 2025-08-05 14:28:07,029 basehttp 52185 6164049920 "GET /en/emr/encounters/ HTTP/1.1" 200 37556 INFO 2025-08-05 14:28:12,547 basehttp 52185 6164049920 "GET /en/emr/vital-signs/ HTTP/1.1" 200 23858 INFO 2025-08-05 14:28:16,993 basehttp 52185 6164049920 "GET /en/emr/problems/ HTTP/1.1" 200 26398 INFO 2025-08-05 14:29:31,619 basehttp 52185 6164049920 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:29:35,998 basehttp 52185 6164049920 "GET /en/emr/problems/ HTTP/1.1" 200 26398 INFO 2025-08-05 14:29:46,184 basehttp 52185 6164049920 "GET /en/emr/notes/ HTTP/1.1" 200 26840 INFO 2025-08-05 14:29:55,422 basehttp 52185 6164049920 "GET /en/emr/notes/?status=unsigned HTTP/1.1" 200 26840 WARNING 2025-08-05 14:29:55,581 log 52185 6164049920 Not Found: /en/ajax/dashboard-data/ WARNING 2025-08-05 14:29:55,582 basehttp 52185 6164049920 "GET /en/ajax/dashboard-data/ HTTP/1.1" 404 28103 INFO 2025-08-05 14:29:58,813 basehttp 52185 6164049920 "GET /en/emr/encounters/?documentation_complete=false HTTP/1.1" 200 37556 INFO 2025-08-05 14:30:05,131 basehttp 52185 6164049920 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:30:33,328 basehttp 52185 6164049920 "GET /en/emr/encounters/ HTTP/1.1" 200 37556 INFO 2025-08-05 14:30:35,305 basehttp 52185 6164049920 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:31:05,304 basehttp 52185 6164049920 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:31:35,306 basehttp 52185 6164049920 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:32:05,312 basehttp 52185 6164049920 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:32:35,319 basehttp 52185 6164049920 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:33:05,321 basehttp 52185 6164049920 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:33:35,325 basehttp 52185 6164049920 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:34:05,328 basehttp 52185 6164049920 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:34:35,336 basehttp 52185 6164049920 "GET /en/emr/stats/ HTTP/1.1" 200 2966 WARNING 2025-08-05 14:34:55,587 log 52185 6164049920 Not Found: /en/ajax/dashboard-data/ WARNING 2025-08-05 14:34:55,587 basehttp 52185 6164049920 "GET /en/ajax/dashboard-data/ HTTP/1.1" 404 28103 INFO 2025-08-05 14:35:05,334 basehttp 52185 6164049920 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:35:15,044 basehttp 52185 6164049920 "GET /en/admin/ HTTP/1.1" 200 85466 INFO 2025-08-05 14:35:35,336 basehttp 52185 6164049920 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:35:53,535 basehttp 52185 6164049920 "GET /en/appointments/ HTTP/1.1" 200 25088 INFO 2025-08-05 14:35:53,569 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:36:23,581 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:36:53,582 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:37:23,810 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:37:53,813 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:38:23,821 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:38:53,828 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:39:23,829 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:39:53,834 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 WARNING 2025-08-05 14:39:55,819 log 52185 6164049920 Not Found: /en/ajax/dashboard-data/ WARNING 2025-08-05 14:39:55,819 basehttp 52185 6164049920 "GET /en/ajax/dashboard-data/ HTTP/1.1" 404 28103 INFO 2025-08-05 14:40:23,839 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:40:53,841 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:41:23,841 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:41:53,847 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:42:23,851 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:42:53,851 basehttp 52185 6164049920 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:43:00,302 basehttp 52185 6164049920 "GET /en/appointments/calendar/ HTTP/1.1" 200 23564 INFO 2025-08-05 14:43:00,350 basehttp 52185 6164049920 "GET /en/appointments/calendar/appointments/ HTTP/1.1" 200 220 INFO 2025-08-05 14:43:00,350 basehttp 52185 13170143232 "GET /en/appointments/slots/available/ HTTP/1.1" 200 7396 INFO 2025-08-05 14:43:18,087 basehttp 52185 13170143232 "GET /en/appointments/calendar/ HTTP/1.1" 200 23564 INFO 2025-08-05 14:43:18,128 basehttp 52185 6164049920 "GET /en/appointments/slots/available/ HTTP/1.1" 200 7396 INFO 2025-08-05 14:43:18,128 basehttp 52185 13170143232 "GET /en/appointments/calendar/appointments/ HTTP/1.1" 200 220 INFO 2025-08-05 14:43:28,613 basehttp 52185 13170143232 "GET /en/appointments/stats/ HTTP/1.1" 200 3134 INFO 2025-08-05 14:43:30,960 basehttp 52185 13170143232 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-05 14:43:32,846 basehttp 52185 13170143232 "GET /en/admin/ HTTP/1.1" 200 85466 INFO 2025-08-05 14:43:39,940 basehttp 52185 13170143232 "GET /en/admin/core/tenant/ HTTP/1.1" 200 77794 INFO 2025-08-05 14:43:39,953 basehttp 52185 6164049920 "GET /static/admin/img/search.svg HTTP/1.1" 200 458 INFO 2025-08-05 14:43:39,956 basehttp 52185 13170143232 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-05 14:43:39,962 basehttp 52185 13170143232 "GET /static/admin/img/sorting-icons.svg HTTP/1.1" 200 1097 INFO 2025-08-05 14:43:39,963 basehttp 52185 6164049920 "GET /static/admin/img/icon-viewlink.svg HTTP/1.1" 200 581 INFO 2025-08-05 14:44:04,569 basehttp 52185 6164049920 "GET /en/admin/inpatients/admission/ HTTP/1.1" 200 89420 INFO 2025-08-05 14:44:04,580 basehttp 52185 6164049920 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-05 14:44:12,306 basehttp 52185 6164049920 "GET /en/admin/communications/message/ HTTP/1.1" 200 71503 INFO 2025-08-05 14:44:12,320 basehttp 52185 6164049920 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-05 14:44:29,973 basehttp 52185 6164049920 "GET /en/admin/inventory/inventorylocation/ HTTP/1.1" 200 71093 INFO 2025-08-05 14:44:29,987 basehttp 52185 6164049920 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 WARNING 2025-08-05 14:44:55,831 log 52185 6164049920 Not Found: /en/ajax/dashboard-data/ WARNING 2025-08-05 14:44:55,831 basehttp 52185 6164049920 "GET /en/ajax/dashboard-data/ HTTP/1.1" 404 28103 WARNING 2025-08-05 14:49:55,828 log 52185 6164049920 Not Found: /en/ajax/dashboard-data/ WARNING 2025-08-05 14:49:55,828 basehttp 52185 6164049920 "GET /en/ajax/dashboard-data/ HTTP/1.1" 404 28103 WARNING 2025-08-05 14:54:55,760 log 52185 6164049920 Not Found: /en/ajax/dashboard-data/ WARNING 2025-08-05 14:54:55,761 basehttp 52185 6164049920 "GET /en/ajax/dashboard-data/ HTTP/1.1" 404 28103 WARNING 2025-08-05 14:59:55,764 log 52185 6164049920 Not Found: /en/ajax/dashboard-data/ WARNING 2025-08-05 14:59:55,765 basehttp 52185 6164049920 "GET /en/ajax/dashboard-data/ HTTP/1.1" 404 28103 INFO 2025-08-05 15:10:54,569 basehttp 52185 6164049920 "GET /en/admin/inventory/inventorylocation/?location_type__exact=OR_STORAGE HTTP/1.1" 200 72385 INFO 2025-08-05 15:10:54,582 basehttp 52185 6164049920 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-05 15:18:42,753 autoreload 52185 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/accounts/views.py changed, reloading. INFO 2025-08-05 15:18:43,107 autoreload 85921 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:19:40,759 autoreload 85921 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-05 15:19:41,053 autoreload 86399 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:21:01,228 autoreload 86399 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/appointments/views.py changed, reloading. INFO 2025-08-05 15:21:01,502 autoreload 86947 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:21:44,870 autoreload 86947 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-05 15:21:45,161 autoreload 87254 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:22:41,861 autoreload 87254 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/communications/views.py changed, reloading. INFO 2025-08-05 15:22:42,140 autoreload 87712 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:23:34,668 autoreload 87712 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/views.py changed, reloading. INFO 2025-08-05 15:23:34,951 autoreload 88093 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:24:40,853 autoreload 88093 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/emr/views.py changed, reloading. INFO 2025-08-05 15:24:41,132 autoreload 88554 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:25:16,246 autoreload 88554 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/hr/views.py changed, reloading. INFO 2025-08-05 15:25:16,519 autoreload 88788 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:26:11,045 autoreload 88788 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-05 15:26:11,334 autoreload 89244 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:26:48,417 autoreload 89244 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/integration/views.py changed, reloading. INFO 2025-08-05 15:26:48,693 autoreload 89476 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:27:39,218 autoreload 89476 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-05 15:27:39,503 autoreload 89858 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:28:40,206 autoreload 89858 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/views.py changed, reloading. INFO 2025-08-05 15:28:40,498 autoreload 90319 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:30:26,888 autoreload 90319 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py changed, reloading. INFO 2025-08-05 15:30:27,175 autoreload 91089 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:31:19,677 autoreload 91089 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-05 15:31:19,958 autoreload 91471 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:32:06,326 autoreload 91471 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-05 15:32:06,615 autoreload 91779 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:33:35,032 autoreload 91779 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-05 15:33:35,323 autoreload 92471 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 15:34:49,538 autoreload 92471 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-05 15:34:49,829 autoreload 93005 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 16:27:00,668 autoreload 16307 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 16:27:01,814 basehttp 16307 6194114560 "GET / HTTP/1.1" 302 0 INFO 2025-08-05 16:27:01,912 basehttp 16307 6194114560 "GET /en/ HTTP/1.1" 200 50322 INFO 2025-08-05 16:27:01,987 basehttp 16307 6194114560 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6784 INFO 2025-08-05 16:27:01,994 basehttp 16307 6244593664 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-05 16:27:01,995 basehttp 16307 6227767296 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 16:27:01,997 basehttp 16307 6210940928 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 16:27:07,915 basehttp 16307 6210940928 "GET /en/inventory HTTP/1.1" 301 0 ERROR 2025-08-05 16:27:07,977 log 16307 6227767296 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 55, in get_context_data low_stock_items = InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'quantity' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-05 16:27:07,978 basehttp 16307 6227767296 "GET /en/inventory/ HTTP/1.1" 500 137576 INFO 2025-08-05 16:28:04,823 autoreload 16307 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-05 16:28:05,100 autoreload 16778 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 16:28:07,494 log 16778 6204092416 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 55, in get_context_data low_stock_items = InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1535, in build_filter value = self.resolve_lookup_value(value, can_reuse, allow_joins, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1300, in resolve_lookup_value value = value.resolve_expression( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 902, in resolve_expression return query.resolve_ref(self.name, allow_joins, reuse, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2049, in resolve_ref join_info = self.setup_joins( ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1900, in setup_joins path, final_field, targets, rest = self.names_to_path( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'minimum_stock_level' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-05 16:28:07,496 basehttp 16778 6204092416 "GET /en/inventory/ HTTP/1.1" 500 153287 INFO 2025-08-05 16:31:49,899 autoreload 16778 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/models.py changed, reloading. INFO 2025-08-05 16:31:50,249 autoreload 18380 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 16:32:25,567 autoreload 18697 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 16:32:26,994 basehttp 18697 6168375296 "GET / HTTP/1.1" 302 0 INFO 2025-08-05 16:32:27,072 basehttp 18697 6168375296 "GET /en/ HTTP/1.1" 200 50322 INFO 2025-08-05 16:32:27,159 basehttp 18697 6168375296 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6784 INFO 2025-08-05 16:32:27,162 basehttp 18697 6218854400 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-05 16:32:27,164 basehttp 18697 6202028032 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 16:32:27,165 basehttp 18697 6185201664 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 ERROR 2025-08-05 16:32:31,063 log 18697 6185201664 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 55, in get_context_data low_stock_items = InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1535, in build_filter value = self.resolve_lookup_value(value, can_reuse, allow_joins, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1300, in resolve_lookup_value value = value.resolve_expression( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 902, in resolve_expression return query.resolve_ref(self.name, allow_joins, reuse, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2049, in resolve_ref join_info = self.setup_joins( ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1900, in setup_joins path, final_field, targets, rest = self.names_to_path( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'min_stock_level' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-05 16:32:31,064 basehttp 18697 6185201664 "GET /en/inventory/ HTTP/1.1" 500 153199 INFO 2025-08-05 16:33:32,808 autoreload 18697 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-05 16:33:33,161 autoreload 19168 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 16:33:35,827 log 19168 6194720768 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 61, in get_context_data expired_items = InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'expiry_date' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-05 16:33:35,829 basehttp 19168 6194720768 "GET /en/inventory/ HTTP/1.1" 500 137697 INFO 2025-08-05 16:34:54,785 autoreload 19168 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-05 16:34:55,123 autoreload 19777 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 16:34:57,836 log 19777 6137344000 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 61, in get_context_data expired_items = InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-05 16:34:57,837 basehttp 19777 6137344000 "GET /en/inventory/ HTTP/1.1" 500 138336 INFO 2025-08-05 16:35:56,098 autoreload 19777 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-05 16:35:56,378 autoreload 20242 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 16:37:20,893 log 20242 6192197632 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 67, in get_context_data expiring_soon_items = InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-05 16:37:20,894 basehttp 20242 6192197632 "GET /en/inventory/ HTTP/1.1" 500 139022 ERROR 2025-08-05 16:37:22,312 log 20242 6192197632 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 67, in get_context_data expiring_soon_items = InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-05 16:37:22,313 basehttp 20242 6192197632 "GET /en/inventory/ HTTP/1.1" 500 139022 INFO 2025-08-05 16:38:13,665 autoreload 20242 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-05 16:38:13,944 autoreload 21230 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 16:38:14,204 log 21230 6171865088 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 77, in get_context_data ).aggregate( ^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 588, in aggregate return self.query.chain().get_aggregation(self.db, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 460, in get_aggregation aggregate = aggregate_expr.resolve_expression( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/aggregates.py", line 63, in resolve_expression c = super().resolve_expression(query, allow_joins, reuse, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 300, in resolve_expression expr.resolve_expression(query, allow_joins, reuse, summarize, for_save) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 775, in resolve_expression resolved = super().resolve_expression( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 300, in resolve_expression expr.resolve_expression(query, allow_joins, reuse, summarize, for_save) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 902, in resolve_expression return query.resolve_ref(self.name, allow_joins, reuse, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2049, in resolve_ref join_info = self.setup_joins( ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1900, in setup_joins path, final_field, targets, rest = self.names_to_path( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'quantity' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-05 16:38:14,205 basehttp 21230 6171865088 "GET /en/inventory/ HTTP/1.1" 500 137022 INFO 2025-08-05 16:39:41,813 autoreload 21230 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-05 16:39:42,131 autoreload 21848 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 16:39:45,214 log 21848 6133231616 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 77, in get_context_data ).aggregate( ^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 588, in aggregate return self.query.chain().get_aggregation(self.db, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 460, in get_aggregation aggregate = aggregate_expr.resolve_expression( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/aggregates.py", line 63, in resolve_expression c = super().resolve_expression(query, allow_joins, reuse, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 300, in resolve_expression expr.resolve_expression(query, allow_joins, reuse, summarize, for_save) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 775, in resolve_expression resolved = super().resolve_expression( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 300, in resolve_expression expr.resolve_expression(query, allow_joins, reuse, summarize, for_save) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 902, in resolve_expression return query.resolve_ref(self.name, allow_joins, reuse, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2049, in resolve_ref join_info = self.setup_joins( ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1900, in setup_joins path, final_field, targets, rest = self.names_to_path( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'quantity' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-05 16:39:45,216 basehttp 21848 6133231616 "GET /en/inventory/ HTTP/1.1" 500 137022 ERROR 2025-08-05 16:39:46,194 log 21848 6133231616 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 77, in get_context_data ).aggregate( ^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 588, in aggregate return self.query.chain().get_aggregation(self.db, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 460, in get_aggregation aggregate = aggregate_expr.resolve_expression( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/aggregates.py", line 63, in resolve_expression c = super().resolve_expression(query, allow_joins, reuse, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 300, in resolve_expression expr.resolve_expression(query, allow_joins, reuse, summarize, for_save) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 775, in resolve_expression resolved = super().resolve_expression( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 300, in resolve_expression expr.resolve_expression(query, allow_joins, reuse, summarize, for_save) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 902, in resolve_expression return query.resolve_ref(self.name, allow_joins, reuse, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2049, in resolve_ref join_info = self.setup_joins( ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1900, in setup_joins path, final_field, targets, rest = self.names_to_path( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'quantity' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-05 16:39:46,196 basehttp 21848 6133231616 "GET /en/inventory/ HTTP/1.1" 500 137022 INFO 2025-08-05 16:42:41,858 autoreload 21848 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-05 16:42:42,124 autoreload 23150 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 16:42:42,780 log 23150 6167310336 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 42, in select_template return engine.get_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 79, in get_template return Template(self.engine.get_template(template_name), self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 177, in get_template template, origin = self.find_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 159, in find_template template = loader.get_template(name, skip=skip) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loaders/cached.py", line 57, in get_template template = super().get_template(template_name, skip) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loaders/base.py", line 28, in get_template return Template( ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 154, in __init__ self.nodelist = self.compile_nodelist() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 196, in compile_nodelist nodelist = parser.parse() ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 518, in parse raise self.error(token, e) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 516, in parse compiled_result = compile_func(self, token) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 299, in do_extends nodelist = parser.parse() ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 518, in parse raise self.error(token, e) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 516, in parse compiled_result = compile_func(self, token) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 234, in do_block nodelist = parser.parse(("endblock",)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 489, in parse raise self.error(token, e) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 487, in parse filter_expression = self.compile_filter(token.contents) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 609, in compile_filter return FilterExpression(token, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 710, in __init__ raise TemplateSyntaxError( django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: '{ expired_items' from '{ expired_items' ERROR 2025-08-05 16:42:42,781 basehttp 23150 6167310336 "GET /en/inventory/ HTTP/1.1" 500 200749 ERROR 2025-08-05 16:44:04,529 log 23150 6167310336 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'chart_data' not found. 'chart_data' is not a valid view function or pattern name. ERROR 2025-08-05 16:44:04,530 basehttp 23150 6167310336 "GET /en/inventory/ HTTP/1.1" 500 167206 INFO 2025-08-05 16:44:58,415 basehttp 23150 6167310336 "GET /en/inventory/ HTTP/1.1" 200 40976 ERROR 2025-08-05 16:44:58,517 log 23150 6167310336 Internal Server Error: /en/inventory/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 889, in inventory_stats 'low_stock_items': InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'quantity' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-05 16:44:58,518 basehttp 23150 6167310336 "GET /en/inventory/htmx/stats/ HTTP/1.1" 500 123781 ERROR 2025-08-05 16:45:05,159 log 23150 6167310336 Internal Server Error: /en/inventory/items/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 485, in get_context_data context['categories'] = InventoryItem.CATEGORY_CHOICES ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: type object 'InventoryItem' has no attribute 'CATEGORY_CHOICES' ERROR 2025-08-05 16:45:05,162 basehttp 23150 6167310336 "GET /en/inventory/items/ HTTP/1.1" 500 85280 ERROR 2025-08-05 16:45:12,175 log 23150 6167310336 Internal Server Error: /en/inventory/items/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 485, in get_context_data context['categories'] = InventoryItem.CATEGORY_CHOICES ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: type object 'InventoryItem' has no attribute 'CATEGORY_CHOICES' ERROR 2025-08-05 16:45:12,178 basehttp 23150 6167310336 "GET /en/inventory/items/ HTTP/1.1" 500 85280 INFO 2025-08-05 16:46:45,023 autoreload 23150 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/models.py changed, reloading. INFO 2025-08-05 16:46:45,317 autoreload 24914 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 16:46:55,392 log 24914 6163263488 Internal Server Error: /en/inventory/items/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 47, in select_template raise TemplateDoesNotExist(", ".join(template_name_list), chain=chain) django.template.exceptions.TemplateDoesNotExist: inventory/item_list.html, inventory/inventoryitem_list.html ERROR 2025-08-05 16:46:55,393 basehttp 24914 6163263488 "GET /en/inventory/items/ HTTP/1.1" 500 84832 INFO 2025-08-05 16:53:02,055 autoreload 24914 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-05 16:53:02,337 autoreload 27677 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 16:53:07,342 log 27677 6191394816 Internal Server Error: /en/inventory/items/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'item_list_api' not found. 'item_list_api' is not a valid view function or pattern name. ERROR 2025-08-05 16:53:07,344 basehttp 27677 6191394816 "GET /en/inventory/items/ HTTP/1.1" 500 179428 ERROR 2025-08-05 18:17:15,640 log 27677 6191394816 Internal Server Error: /en/inventory/items/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'lab_order_list' not found. 'lab_order_list' is not a valid view function or pattern name. ERROR 2025-08-05 18:17:15,645 basehttp 27677 6191394816 "GET /en/inventory/items/ HTTP/1.1" 500 179454 ERROR 2025-08-05 18:18:49,631 log 27677 6191394816 Internal Server Error: /en/inventory/items/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'manufacturer_list_api' not found. 'manufacturer_list_api' is not a valid view function or pattern name. ERROR 2025-08-05 18:18:49,638 basehttp 27677 6191394816 "GET /en/inventory/items/ HTTP/1.1" 500 178485 ERROR 2025-08-05 18:19:19,746 log 27677 6191394816 Internal Server Error: /en/inventory/items/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'item_stats' not found. 'item_stats' is not a valid view function or pattern name. ERROR 2025-08-05 18:19:19,749 basehttp 27677 6191394816 "GET /en/inventory/items/ HTTP/1.1" 500 178042 ERROR 2025-08-05 18:19:58,365 log 27677 6191394816 Internal Server Error: /en/inventory/items/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'item_export' not found. 'item_export' is not a valid view function or pattern name. ERROR 2025-08-05 18:19:58,367 basehttp 27677 6191394816 "GET /en/inventory/items/ HTTP/1.1" 500 177800 ERROR 2025-08-05 18:20:37,801 log 27677 6191394816 Internal Server Error: /en/inventory/items/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'item_bulk_deactivate' not found. 'item_bulk_deactivate' is not a valid view function or pattern name. ERROR 2025-08-05 18:20:37,803 basehttp 27677 6191394816 "GET /en/inventory/items/ HTTP/1.1" 500 179237 ERROR 2025-08-05 18:20:58,942 log 27677 6191394816 Internal Server Error: /en/inventory/items/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'stock_alerts_api' not found. 'stock_alerts_api' is not a valid view function or pattern name. ERROR 2025-08-05 18:20:58,944 basehttp 27677 6191394816 "GET /en/inventory/items/ HTTP/1.1" 500 177953 ERROR 2025-08-05 18:21:13,987 log 27677 6191394816 Internal Server Error: /en/inventory/items/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'reorder_report' not found. 'reorder_report' is not a valid view function or pattern name. ERROR 2025-08-05 18:21:13,989 basehttp 27677 6191394816 "GET /en/inventory/items/ HTTP/1.1" 500 178745 INFO 2025-08-05 18:21:30,527 basehttp 27677 6191394816 "GET /en/inventory/items/ HTTP/1.1" 200 44218 INFO 2025-08-05 18:21:30,547 basehttp 27677 6191394816 "GET /static/plugins/datatables.net/js/dataTables.min.js HTTP/1.1" 200 95735 INFO 2025-08-05 18:21:30,613 basehttp 27677 6191394816 "GET /en/inventory/items/ HTTP/1.1" 200 44218 ERROR 2025-08-05 18:21:30,658 log 27677 6208221184 Internal Server Error: /en/inventory/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 889, in inventory_stats 'low_stock_items': InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'quantity' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-05 18:21:30,659 basehttp 27677 6208221184 "GET /en/inventory/htmx/stats/ HTTP/1.1" 500 123639 WARNING 2025-08-05 18:21:57,055 log 27677 6208221184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:21:57,055 basehttp 27677 6208221184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 18:25:10,446 log 27677 6208221184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:25:10,446 basehttp 27677 6208221184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 18:25:14,898 log 27677 6208221184 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 626, in get_queryset queryset = InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-05 18:25:14,899 basehttp 27677 6208221184 "GET /en/inventory/stock/ HTTP/1.1" 500 136405 WARNING 2025-08-05 18:25:14,911 log 27677 6208221184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:25:14,911 basehttp 27677 6208221184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 18:25:17,976 log 27677 6208221184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:25:17,977 basehttp 27677 6208221184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 18:25:17,986 log 27677 6208221184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:25:17,986 basehttp 27677 6208221184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 18:25:19,117 log 27677 6208221184 Internal Server Error: /en/inventory/orders/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 779, in get_context_data context['statuses'] = PurchaseOrder.STATUS_CHOICES ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: type object 'PurchaseOrder' has no attribute 'STATUS_CHOICES' ERROR 2025-08-05 18:25:19,120 basehttp 27677 6208221184 "GET /en/inventory/orders/ HTTP/1.1" 500 85293 WARNING 2025-08-05 18:25:19,137 log 27677 6208221184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:25:19,137 basehttp 27677 6208221184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 18:25:25,695 log 27677 6208221184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:25:25,695 basehttp 27677 6208221184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 18:25:25,713 log 27677 6208221184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:25:25,713 basehttp 27677 6208221184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 18:25:27,318 log 27677 6208221184 Internal Server Error: /en/inventory/suppliers/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 135, in get_queryset return queryset.order_by('supplier_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'supplier_name' into field. Choices are: address_line_1, address_line_2, certifications, city, contact_person, contract_end_date, contract_start_date, country, created_at, created_by, created_by_id, duns_number, email, id, inventory_stocks, is_active, is_preferred, name, notes, on_time_delivery_rate, payment_terms, performance_rating, phone, postal_code, primary_items, purchase_orders, quality_rating, state, supplier_code, supplier_id, supplier_type, tax_id, tenant, tenant_id, updated_at, website ERROR 2025-08-05 18:25:27,319 basehttp 27677 6208221184 "GET /en/inventory/suppliers/ HTTP/1.1" 500 102260 WARNING 2025-08-05 18:25:27,334 log 27677 6208221184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:25:27,334 basehttp 27677 6208221184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 18:30:38,949 autoreload 27677 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-05 18:30:39,351 autoreload 70474 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 18:30:40,005 log 70474 6167097344 Internal Server Error: /en/inventory/suppliers/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 135, in get_queryset return queryset.order_by('supplier_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'supplier_name' into field. Choices are: address_line_1, address_line_2, certifications, city, contact_person, contract_end_date, contract_start_date, country, created_at, created_by, created_by_id, duns_number, email, id, inventory_stocks, is_active, is_preferred, name, notes, on_time_delivery_rate, payment_terms, performance_rating, phone, postal_code, primary_items, purchase_orders, quality_rating, state, supplier_code, supplier_id, supplier_type, tax_id, tenant, tenant_id, updated_at, website ERROR 2025-08-05 18:30:40,008 basehttp 70474 6167097344 "GET /en/inventory/suppliers/ HTTP/1.1" 500 102397 WARNING 2025-08-05 18:30:40,024 log 70474 6167097344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:30:40,024 basehttp 70474 6167097344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 18:30:41,216 log 70474 6167097344 Internal Server Error: /en/inventory/suppliers/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 135, in get_queryset return queryset.order_by('supplier_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'supplier_name' into field. Choices are: address_line_1, address_line_2, certifications, city, contact_person, contract_end_date, contract_start_date, country, created_at, created_by, created_by_id, duns_number, email, id, inventory_stocks, is_active, is_preferred, name, notes, on_time_delivery_rate, payment_terms, performance_rating, phone, postal_code, primary_items, purchase_orders, quality_rating, state, supplier_code, supplier_id, supplier_type, tax_id, tenant, tenant_id, updated_at, website ERROR 2025-08-05 18:30:41,219 basehttp 70474 6167097344 "GET /en/inventory/suppliers/ HTTP/1.1" 500 102397 WARNING 2025-08-05 18:30:41,232 log 70474 6167097344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:30:41,232 basehttp 70474 6167097344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 18:36:03,673 autoreload 70474 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/models.py changed, reloading. INFO 2025-08-05 18:36:03,996 autoreload 72838 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 18:36:06,435 log 72838 6165852160 Internal Server Error: /en/inventory/suppliers/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'supplier_bulk_actions' not found. 'supplier_bulk_actions' is not a valid view function or pattern name. ERROR 2025-08-05 18:36:06,438 basehttp 72838 6165852160 "GET /en/inventory/suppliers/ HTTP/1.1" 500 166743 WARNING 2025-08-05 18:36:06,454 log 72838 6165852160 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:36:06,454 basehttp 72838 6165852160 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 18:37:44,001 autoreload 72838 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-05 18:37:44,287 autoreload 73534 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 18:50:16,990 log 73534 6158807040 Internal Server Error: /en/inventory/suppliers/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'supplier_bulk_actions' not found. 'supplier_bulk_actions' is not a valid view function or pattern name. ERROR 2025-08-05 18:50:16,994 basehttp 73534 6158807040 "GET /en/inventory/suppliers/ HTTP/1.1" 500 167148 WARNING 2025-08-05 18:50:17,011 log 73534 6158807040 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:50:17,011 basehttp 73534 6158807040 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 18:50:18,251 log 73534 6158807040 Internal Server Error: /en/inventory/suppliers/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'supplier_bulk_actions' not found. 'supplier_bulk_actions' is not a valid view function or pattern name. ERROR 2025-08-05 18:50:18,254 basehttp 73534 6158807040 "GET /en/inventory/suppliers/ HTTP/1.1" 500 167148 WARNING 2025-08-05 18:50:18,270 log 73534 6158807040 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:50:18,270 basehttp 73534 6158807040 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 18:51:02,433 basehttp 73534 6158807040 "GET /en/inventory/suppliers/ HTTP/1.1" 200 35269 WARNING 2025-08-05 18:51:02,446 log 73534 6158807040 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:51:02,446 basehttp 73534 6158807040 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 18:51:14,746 log 73534 6158807040 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:51:14,746 basehttp 73534 6158807040 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 18:51:18,008 log 73534 6158807040 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 626, in get_queryset queryset = InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-05 18:51:18,012 basehttp 73534 6158807040 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 136877 WARNING 2025-08-05 18:51:18,027 log 73534 6158807040 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:51:18,027 basehttp 73534 6158807040 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 18:51:24,365 log 73534 6158807040 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:51:24,365 basehttp 73534 6158807040 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 18:51:24,378 log 73534 6158807040 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:51:24,378 basehttp 73534 6158807040 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 18:51:25,477 log 73534 6158807040 Internal Server Error: /en/inventory/locations/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 319, in get_queryset return queryset.order_by('location_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'location_name' into field. Choices are: access_control, aisle, bin, building, capacity_cubic_feet, child_locations, created_at, created_by, created_by_id, description, floor, humidity_controlled, humidity_max, humidity_min, id, inventory_stocks, is_active, location_code, location_id, location_manager, location_manager_id, location_type, max_weight_pounds, name, notes, parent_location, parent_location_id, purchase_orders, room, secure_location, shelf, temperature_controlled, temperature_max, temperature_min, tenant, tenant_id, updated_at, zone ERROR 2025-08-05 18:51:25,479 basehttp 73534 6158807040 "GET /en/inventory/locations/ HTTP/1.1" 500 102391 WARNING 2025-08-05 18:51:25,496 log 73534 6158807040 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:51:25,496 basehttp 73534 6158807040 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 18:52:07,789 autoreload 73534 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-05 18:52:08,186 autoreload 79820 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 18:52:08,781 log 79820 6199226368 Internal Server Error: /en/inventory/locations/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 323, in get_context_data context['location_types'] = InventoryLocation.LOCATION_TYPE_CHOICES ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: type object 'InventoryLocation' has no attribute 'LOCATION_TYPE_CHOICES' ERROR 2025-08-05 18:52:08,783 basehttp 79820 6199226368 "GET /en/inventory/locations/ HTTP/1.1" 500 85598 WARNING 2025-08-05 18:52:08,799 log 79820 6199226368 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:52:08,799 basehttp 79820 6199226368 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 18:53:38,706 autoreload 79820 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/models.py changed, reloading. INFO 2025-08-05 18:53:57,378 autoreload 80672 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 18:54:00,269 log 80672 6121844736 Internal Server Error: /en/inventory/locations/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 47, in select_template raise TemplateDoesNotExist(", ".join(template_name_list), chain=chain) django.template.exceptions.TemplateDoesNotExist: inventory/location_list.html, inventory/inventorylocation_list.html ERROR 2025-08-05 18:54:00,270 basehttp 80672 6121844736 "GET /en/inventory/locations/ HTTP/1.1" 500 85012 WARNING 2025-08-05 18:54:00,285 log 80672 6121844736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 18:54:00,285 basehttp 80672 6121844736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 19:08:50,657 autoreload 80672 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-05 19:08:50,927 autoreload 87095 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 19:08:53,419 basehttp 87095 6193541120 "GET /en/inventory/locations/ HTTP/1.1" 200 37882 WARNING 2025-08-05 19:08:53,436 basehttp 87095 6210367488 "GET /static/img/icons/plus.svg HTTP/1.1" 404 1981 WARNING 2025-08-05 19:08:53,438 log 87095 6193541120 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 19:08:53,438 basehttp 87095 6193541120 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 19:08:53,441 basehttp 87095 6193541120 "GET /static/img/icons/dash1.svg HTTP/1.1" 404 1984 WARNING 2025-08-05 19:08:53,465 basehttp 87095 6193541120 "GET /static/img/icons/dash2.svg HTTP/1.1" 404 1984 WARNING 2025-08-05 19:08:53,468 basehttp 87095 6244020224 "GET /static/img/icons/filter.svg HTTP/1.1" 404 1987 WARNING 2025-08-05 19:08:53,469 basehttp 87095 6210367488 "GET /static/img/icons/dash3.svg HTTP/1.1" 404 1984 WARNING 2025-08-05 19:08:53,469 basehttp 87095 6260846592 "GET /static/img/icons/closes.svg HTTP/1.1" 404 1987 WARNING 2025-08-05 19:08:53,469 basehttp 87095 6227193856 "GET /static/img/icons/dash4.svg HTTP/1.1" 404 1984 WARNING 2025-08-05 19:08:53,469 basehttp 87095 6277672960 "GET /static/img/icons/search-white.svg HTTP/1.1" 404 2005 WARNING 2025-08-05 19:08:53,470 basehttp 87095 6193541120 "GET /static/img/icons/pdf.svg HTTP/1.1" 404 1978 WARNING 2025-08-05 19:08:53,472 basehttp 87095 6210367488 "GET /static/img/icons/excel.svg HTTP/1.1" 404 1984 WARNING 2025-08-05 19:08:53,475 basehttp 87095 6227193856 "GET /static/img/icons/search-whites.svg HTTP/1.1" 404 2008 WARNING 2025-08-05 19:08:53,475 basehttp 87095 6244020224 "GET /static/img/icons/printer.svg HTTP/1.1" 404 1990 WARNING 2025-08-05 19:08:53,476 basehttp 87095 6260846592 "GET /static/img/icons/close-circle1.svg HTTP/1.1" 404 2008 INFO 2025-08-05 19:15:08,193 basehttp 87095 6193541120 "GET /en/inventory/locations/ HTTP/1.1" 200 37620 WARNING 2025-08-05 19:15:08,210 log 87095 6193541120 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 19:15:08,210 basehttp 87095 6193541120 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 19:57:32,435 autoreload 8956 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 19:57:35,877 basehttp 8956 6166769664 "GET /en/inventory/locations/ HTTP/1.1" 200 37620 WARNING 2025-08-05 19:57:35,895 log 8956 6166769664 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 19:57:35,895 basehttp 8956 6166769664 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 19:57:38,081 basehttp 8956 6166769664 "GET / HTTP/1.1" 302 0 INFO 2025-08-05 19:57:38,103 basehttp 8956 6166769664 "GET /en/ HTTP/1.1" 200 50324 WARNING 2025-08-05 19:57:38,117 log 8956 6166769664 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 19:57:38,117 basehttp 8956 6166769664 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 19:57:38,180 basehttp 8956 6166769664 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6784 INFO 2025-08-05 19:57:38,191 basehttp 8956 6358691840 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-05 19:57:38,191 basehttp 8956 6341865472 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 19:57:38,194 basehttp 8956 6325039104 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 ERROR 2025-08-05 19:57:49,552 log 8956 6325039104 Internal Server Error: /en/billing/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 198, in render values = list(values) ^^^^^^^^^^^^ TypeError: 'int' object is not iterable ERROR 2025-08-05 19:57:49,553 basehttp 8956 6325039104 "GET /en/billing/ HTTP/1.1" 500 162999 WARNING 2025-08-05 19:57:49,570 log 8956 6325039104 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 19:57:49,570 basehttp 8956 6325039104 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:02:05,961 autoreload 8956 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-05 20:02:06,259 autoreload 10947 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 20:02:06,529 log 10947 6134689792 Internal Server Error: /en/billing/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 198, in render values = list(values) ^^^^^^^^^^^^ TypeError: 'int' object is not iterable ERROR 2025-08-05 20:02:06,533 basehttp 10947 6134689792 "GET /en/billing/ HTTP/1.1" 500 163712 WARNING 2025-08-05 20:02:06,550 log 10947 6134689792 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:02:06,550 basehttp 10947 6134689792 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:02:35,314 autoreload 10947 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-05 20:02:35,603 autoreload 11176 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 20:02:35,901 basehttp 11176 6204190720 "GET /en/billing/ HTTP/1.1" 200 45274 WARNING 2025-08-05 20:02:35,920 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:02:35,921 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:02:35,968 basehttp 11176 6204190720 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 105 ERROR 2025-08-05 20:02:45,157 log 11176 6204190720 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py", line 204, in get_context_data context['line_items'] = bill.billlineitem_set.all().order_by('line_number') ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MedicalBill' object has no attribute 'billlineitem_set' ERROR 2025-08-05 20:02:45,162 basehttp 11176 6204190720 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 86142 WARNING 2025-08-05 20:02:45,178 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:02:45,178 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:02:53,040 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:02:53,040 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:02:53,048 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:02:53,049 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:03:05,981 basehttp 11176 6204190720 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 105 INFO 2025-08-05 20:03:10,417 basehttp 11176 6204190720 "GET /en/billing/bills/create/ HTTP/1.1" 200 43534 WARNING 2025-08-05 20:03:10,434 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:03:10,434 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:03:17,767 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:03:17,767 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:03:17,776 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:03:17,776 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 20:03:19,039 log 11176 6204190720 Internal Server Error: /en/billing/payments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'export_payments' not found. 'export_payments' is not a valid view function or pattern name. ERROR 2025-08-05 20:03:19,040 basehttp 11176 6204190720 "GET /en/billing/payments/ HTTP/1.1" 500 164306 WARNING 2025-08-05 20:03:19,056 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:03:19,056 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 20:04:10,491 log 11176 6204190720 Internal Server Error: /en/billing/payments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'payment_stats' not found. 'payment_stats' is not a valid view function or pattern name. ERROR 2025-08-05 20:04:10,492 basehttp 11176 6204190720 "GET /en/billing/payments/ HTTP/1.1" 500 164063 WARNING 2025-08-05 20:04:10,508 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:04:10,508 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 20:05:01,921 log 11176 6204190720 Internal Server Error: /en/billing/payments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'export_payments' not found. 'export_payments' is not a valid view function or pattern name. ERROR 2025-08-05 20:05:01,922 basehttp 11176 6204190720 "GET /en/billing/payments/ HTTP/1.1" 500 167688 WARNING 2025-08-05 20:05:01,935 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:05:01,935 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:05:24,915 basehttp 11176 6204190720 "GET /en/billing/payments/ HTTP/1.1" 200 30551 WARNING 2025-08-05 20:05:24,931 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:05:24,931 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:05:32,034 basehttp 11176 6204190720 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 105 WARNING 2025-08-05 20:05:32,036 log 11176 6221017088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:05:32,036 basehttp 11176 6221017088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:05:32,048 log 11176 6221017088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:05:32,048 basehttp 11176 6221017088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:05:34,366 basehttp 11176 6221017088 "GET /en/billing/payments/ HTTP/1.1" 200 30551 WARNING 2025-08-05 20:05:34,386 log 11176 6221017088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:05:34,386 basehttp 11176 6221017088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 20:05:38,488 log 11176 6221017088 Internal Server Error: /en/billing/payments/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bill_details_api' not found. 'bill_details_api' is not a valid view function or pattern name. ERROR 2025-08-05 20:05:38,490 basehttp 11176 6221017088 "GET /en/billing/payments/create/ HTTP/1.1" 500 168939 WARNING 2025-08-05 20:05:38,507 log 11176 6221017088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:05:38,507 basehttp 11176 6221017088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:09:53,236 log 11176 6221017088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:09:53,236 basehttp 11176 6221017088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:09:53,247 log 11176 6221017088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:09:53,247 basehttp 11176 6221017088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:09:53,885 basehttp 11176 6221017088 "GET /en/billing/payments/ HTTP/1.1" 200 30551 WARNING 2025-08-05 20:09:53,901 log 11176 6221017088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:09:53,902 basehttp 11176 6221017088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:09:56,611 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-05 20:09:56,612 basehttp 11176 6221017088 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 105 WARNING 2025-08-05 20:09:56,612 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:09:56,621 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:09:56,621 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 20:09:59,146 log 11176 6204190720 Internal Server Error: /en/billing/claims/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'export_claims' not found. 'export_claims' is not a valid view function or pattern name. ERROR 2025-08-05 20:09:59,147 basehttp 11176 6204190720 "GET /en/billing/claims/ HTTP/1.1" 500 165857 WARNING 2025-08-05 20:09:59,162 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:09:59,162 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:10:01,201 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:10:01,201 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:10:01,212 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:10:01,213 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:10:06,463 basehttp 11176 6204190720 "GET /en/billing/export/bills/ HTTP/1.1" 200 829 INFO 2025-08-05 20:10:26,631 basehttp 11176 6204190720 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 105 INFO 2025-08-05 20:10:27,818 basehttp 11176 6204190720 "GET /en/billing/payments/ HTTP/1.1" 200 30551 WARNING 2025-08-05 20:10:27,835 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:10:27,835 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:10:29,812 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:10:29,812 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:10:29,820 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:10:29,820 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 20:10:31,043 log 11176 6204190720 Internal Server Error: /en/billing/bills/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bill_print' not found. 'bill_print' is not a valid view function or pattern name. ERROR 2025-08-05 20:10:31,044 basehttp 11176 6204190720 "GET /en/billing/bills/ HTTP/1.1" 500 200491 WARNING 2025-08-05 20:10:31,058 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:10:31,058 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:11:12,894 basehttp 11176 6204190720 "GET /en/billing/bills/ HTTP/1.1" 200 68717 WARNING 2025-08-05 20:11:12,910 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:11:12,910 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:11:12,957 basehttp 11176 6204190720 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 105 ERROR 2025-08-05 20:11:23,575 log 11176 6204190720 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py", line 204, in get_context_data context['line_items'] = bill.billlineitem_set.all().order_by('line_number') ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MedicalBill' object has no attribute 'billlineitem_set' ERROR 2025-08-05 20:11:23,578 basehttp 11176 6204190720 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 86148 WARNING 2025-08-05 20:11:23,597 log 11176 6204190720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:11:23,597 basehttp 11176 6204190720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:12:41,860 autoreload 11176 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-05 20:12:42,191 autoreload 15621 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 20:12:42,462 log 15621 6202060800 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py", line 204, in get_context_data context['line_items'] = bill.objects.all().order_by('line_number') ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 186, in __get__ raise AttributeError( AttributeError: Manager isn't accessible via MedicalBill instances ERROR 2025-08-05 20:12:42,463 basehttp 15621 6202060800 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 90226 WARNING 2025-08-05 20:12:42,481 log 15621 6202060800 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:12:42,481 basehttp 15621 6202060800 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:13:12,228 autoreload 15621 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-05 20:13:12,510 autoreload 15773 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 20:13:13,246 log 15773 6136950784 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py", line 204, in get_context_data context['line_items'] = bill.billitem_set.all().order_by('line_number') ^^^^^^^^^^^^^^^^^ AttributeError: 'MedicalBill' object has no attribute 'billitem_set' ERROR 2025-08-05 20:13:13,251 basehttp 15773 6136950784 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 86253 WARNING 2025-08-05 20:13:13,263 log 15773 6136950784 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:13:13,263 basehttp 15773 6136950784 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:13:31,204 autoreload 15773 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-05 20:13:31,507 autoreload 15928 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 20:14:27,353 autoreload 15928 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-05 20:14:27,642 autoreload 16385 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 20:14:27,958 log 16385 6161182720 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py", line 204, in get_context_data context['line_items'] = bill.line_items_set.all().order_by('line_number') ^^^^^^^^^^^^^^^^^^^ AttributeError: 'MedicalBill' object has no attribute 'line_items_set'. Did you mean: 'line_items'? ERROR 2025-08-05 20:14:27,960 basehttp 16385 6161182720 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 86269 WARNING 2025-08-05 20:14:27,974 log 16385 6161182720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:14:27,975 basehttp 16385 6161182720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:15:07,875 autoreload 16385 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-05 20:15:08,159 autoreload 16620 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 20:15:09,371 log 16620 6200258560 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py", line 204, in get_context_data context['line_items'] = bill.billlineitems.all().order_by('line_number') ^^^^^^^^^^^^^^^^^^ AttributeError: 'MedicalBill' object has no attribute 'billlineitems' ERROR 2025-08-05 20:15:09,373 basehttp 16620 6200258560 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 86261 WARNING 2025-08-05 20:15:09,385 log 16620 6200258560 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:15:09,385 basehttp 16620 6200258560 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 20:15:11,013 log 16620 6200258560 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py", line 204, in get_context_data context['line_items'] = bill.billlineitems.all().order_by('line_number') ^^^^^^^^^^^^^^^^^^ AttributeError: 'MedicalBill' object has no attribute 'billlineitems' ERROR 2025-08-05 20:15:11,015 basehttp 16620 6200258560 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 86261 WARNING 2025-08-05 20:15:11,030 log 16620 6200258560 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:15:11,030 basehttp 16620 6200258560 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:15:29,975 autoreload 16620 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-05 20:15:30,270 autoreload 16859 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 20:15:31,075 log 16859 6194786304 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py", line 204, in get_context_data context['line_items'] = bill.lineitems.all().order_by('line_number') ^^^^^^^^^^^^^^ AttributeError: 'MedicalBill' object has no attribute 'lineitems'. Did you mean: 'line_items'? ERROR 2025-08-05 20:15:31,077 basehttp 16859 6194786304 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 86229 WARNING 2025-08-05 20:15:31,096 log 16859 6194786304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:15:31,096 basehttp 16859 6194786304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:16:22,794 autoreload 16859 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-05 20:16:23,139 autoreload 17242 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 20:16:25,280 log 17242 6167638016 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py", line 205, in get_context_data context['claims'] = bill.insuranceclaim_set.all().order_by('-submission_date') ^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MedicalBill' object has no attribute 'insuranceclaim_set'. Did you mean: 'insurance_claims'? ERROR 2025-08-05 20:16:25,283 basehttp 17242 6167638016 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 86361 WARNING 2025-08-05 20:16:25,297 log 17242 6167638016 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:16:25,297 basehttp 17242 6167638016 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:16:39,861 autoreload 17242 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-05 20:16:40,211 autoreload 17319 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 20:16:42,285 log 17319 6165229568 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py", line 206, in get_context_data context['payments'] = bill.payment_set.all().order_by('-payment_date') ^^^^^^^^^^^^^^^^ AttributeError: 'MedicalBill' object has no attribute 'payment_set'. Did you mean: 'payments'? ERROR 2025-08-05 20:16:42,287 basehttp 17319 6165229568 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 86373 WARNING 2025-08-05 20:16:42,304 log 17319 6165229568 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:16:42,304 basehttp 17319 6165229568 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:16:52,861 autoreload 17319 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-05 20:16:53,136 autoreload 17398 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 20:16:54,808 log 17398 6124875776 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bill_print' not found. 'bill_print' is not a valid view function or pattern name. ERROR 2025-08-05 20:16:54,810 basehttp 17398 6124875776 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 171486 WARNING 2025-08-05 20:16:54,828 log 17398 6124875776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:16:54,828 basehttp 17398 6124875776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 20:17:51,355 log 17398 6124875776 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bill_email' not found. 'bill_email' is not a valid view function or pattern name. ERROR 2025-08-05 20:17:51,356 basehttp 17398 6124875776 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 171564 WARNING 2025-08-05 20:17:51,372 log 17398 6124875776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:17:51,372 basehttp 17398 6124875776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 20:18:22,894 log 17398 6124875776 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bill_download' not found. 'bill_download' is not a valid view function or pattern name. ERROR 2025-08-05 20:18:22,895 basehttp 17398 6124875776 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 171779 WARNING 2025-08-05 20:18:22,910 log 17398 6124875776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:18:22,910 basehttp 17398 6124875776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 20:18:53,547 log 17398 6124875776 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'export_bills' with arguments '(UUID('53a8edf6-5fb7-4c0d-b505-1cb9b90c144a'),)' not found. 1 pattern(s) tried: ['en/billing/export/bills/\\Z'] ERROR 2025-08-05 20:18:53,549 basehttp 17398 6124875776 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 173747 WARNING 2025-08-05 20:18:53,564 log 17398 6124875776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:18:53,564 basehttp 17398 6124875776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 20:19:22,899 log 17398 6124875776 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bill_print' not found. 'bill_print' is not a valid view function or pattern name. ERROR 2025-08-05 20:19:22,900 basehttp 17398 6124875776 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 171358 WARNING 2025-08-05 20:19:22,914 log 17398 6124875776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:19:22,914 basehttp 17398 6124875776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-05 20:19:52,243 log 17398 6124875776 Internal Server Error: /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bill_email' not found. 'bill_email' is not a valid view function or pattern name. ERROR 2025-08-05 20:19:52,244 basehttp 17398 6124875776 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 500 170861 WARNING 2025-08-05 20:19:52,258 log 17398 6124875776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:19:52,258 basehttp 17398 6124875776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:20:04,366 basehttp 17398 6124875776 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 200 38548 WARNING 2025-08-05 20:20:04,380 log 17398 6124875776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:20:04,380 basehttp 17398 6124875776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:20:22,665 log 17398 6141702144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:20:22,666 basehttp 17398 6141702144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:20:22,667 basehttp 17398 6124875776 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 105 WARNING 2025-08-05 20:20:22,674 log 17398 6124875776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:20:22,674 basehttp 17398 6124875776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:20:26,413 basehttp 17398 6124875776 "GET /en/billing/bills/ HTTP/1.1" 200 68717 WARNING 2025-08-05 20:20:26,427 log 17398 6124875776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:20:26,427 basehttp 17398 6124875776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:20:26,503 basehttp 17398 6124875776 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 105 INFO 2025-08-05 20:20:36,549 basehttp 17398 6124875776 "GET /en/billing/bills/64b27867-1cb2-42ff-9212-5cbdaa087246/edit/ HTTP/1.1" 200 43487 WARNING 2025-08-05 20:20:36,564 log 17398 6124875776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:20:36,564 basehttp 17398 6124875776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:20:39,740 log 17398 6124875776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:20:39,740 basehttp 17398 6124875776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:20:39,750 log 17398 6124875776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:20:39,750 basehttp 17398 6124875776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:20:44,251 log 17398 6124875776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:20:44,252 basehttp 17398 6124875776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:20:46,291 log 17398 6124875776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:20:46,291 basehttp 17398 6124875776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:21:16,329 basehttp 17398 6124875776 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 20:21:46,336 basehttp 17398 6124875776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6784 INFO 2025-08-05 20:21:46,341 basehttp 17398 6141702144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 20:21:46,342 basehttp 17398 6158528512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-05 20:21:51,037 log 17398 6158528512 Forbidden (CSRF token missing.): /en/notifications/f4e559c3-3db1-4101-b774-a9f011e207d5/dismiss/ WARNING 2025-08-05 20:21:51,037 basehttp 17398 6158528512 "POST /en/notifications/f4e559c3-3db1-4101-b774-a9f011e207d5/dismiss/ HTTP/1.1" 403 2491 INFO 2025-08-05 20:22:16,336 basehttp 17398 6158528512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 20:22:46,350 basehttp 17398 6158528512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6784 INFO 2025-08-05 20:22:46,353 basehttp 17398 6141702144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 20:22:46,353 basehttp 17398 6124875776 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 20:23:16,325 basehttp 17398 6124875776 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 20:23:31,351 autoreload 17398 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/urls.py changed, reloading. INFO 2025-08-05 20:23:31,756 autoreload 20325 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 20:23:34,489 basehttp 20325 6137049088 "GET /en/ HTTP/1.1" 200 50324 WARNING 2025-08-05 20:23:34,509 log 20325 6137049088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:23:34,509 basehttp 20325 6137049088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:23:34,582 basehttp 20325 6137049088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6784 INFO 2025-08-05 20:23:34,586 basehttp 20325 6170701824 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 20:23:34,588 basehttp 20325 6325039104 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-05 20:23:34,589 basehttp 20325 6153875456 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-05 20:23:37,187 log 20325 6153875456 Forbidden (CSRF token missing.): /en/notifications/dcc05c3e-c8cc-49c3-b1f9-0b64d51a0717/dismiss/ WARNING 2025-08-05 20:23:37,188 basehttp 20325 6153875456 "POST /en/notifications/dcc05c3e-c8cc-49c3-b1f9-0b64d51a0717/dismiss/ HTTP/1.1" 403 2491 INFO 2025-08-05 20:24:04,587 basehttp 20325 6153875456 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 20:24:34,593 basehttp 20325 6153875456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6784 INFO 2025-08-05 20:24:34,593 basehttp 20325 6325039104 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 20:24:34,597 basehttp 20325 6170701824 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 20:24:38,984 autoreload 20325 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/urls.py changed, reloading. INFO 2025-08-05 20:24:39,327 autoreload 20862 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 20:24:42,581 basehttp 20862 6122729472 "GET /en/ HTTP/1.1" 200 50324 INFO 2025-08-05 20:24:42,595 basehttp 20862 6156382208 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-05 20:24:42,596 basehttp 20862 13186969600 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-05 20:24:42,598 basehttp 20862 13170143232 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-05 20:24:42,598 basehttp 20862 13186969600 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-05 20:24:42,601 basehttp 20862 13186969600 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-05 20:24:42,603 basehttp 20862 6122729472 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 WARNING 2025-08-05 20:24:42,604 log 20862 6156382208 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:24:42,604 basehttp 20862 6156382208 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:24:42,608 basehttp 20862 13186969600 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-05 20:24:42,609 basehttp 20862 6173208576 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-05 20:24:42,610 basehttp 20862 6139555840 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-05 20:24:42,613 basehttp 20862 13170143232 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-05 20:24:42,813 basehttp 20862 6139555840 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-05 20:24:42,814 basehttp 20862 13186969600 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-05 20:24:42,814 basehttp 20862 13170143232 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-05 20:24:42,815 basehttp 20862 6173208576 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-05 20:24:42,815 basehttp 20862 6122729472 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-05 20:24:42,816 basehttp 20862 6156382208 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-05 20:24:42,818 basehttp 20862 13186969600 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-05 20:24:42,818 basehttp 20862 13170143232 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-05 20:24:42,818 basehttp 20862 6122729472 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-05 20:24:42,819 basehttp 20862 6156382208 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-05 20:24:42,819 basehttp 20862 6173208576 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-05 20:24:42,821 basehttp 20862 6156382208 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-05 20:24:42,821 basehttp 20862 13170143232 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-05 20:24:42,822 basehttp 20862 6173208576 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-05 20:24:42,822 basehttp 20862 13186969600 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-05 20:24:42,822 basehttp 20862 6122729472 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-05 20:24:42,824 basehttp 20862 6139555840 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-05 20:24:42,824 basehttp 20862 6173208576 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-05 20:24:42,825 basehttp 20862 13170143232 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-05 20:24:42,826 basehttp 20862 6122729472 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-05 20:24:42,826 basehttp 20862 6156382208 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-05 20:24:42,826 basehttp 20862 13186969600 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-05 20:24:42,826 basehttp 20862 6139555840 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-05 20:24:42,833 basehttp 20862 6139555840 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-05 20:24:42,868 basehttp 20862 6122729472 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-05 20:24:42,873 basehttp 20862 6139555840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6804 INFO 2025-08-05 20:24:42,874 basehttp 20862 6156382208 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 20:24:42,877 basehttp 20862 13186969600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-05 20:24:42,944 log 20862 13186969600 Not Found: /favicon.ico WARNING 2025-08-05 20:24:42,945 basehttp 20862 13186969600 "GET /favicon.ico HTTP/1.1" 404 2557 WARNING 2025-08-05 20:24:45,491 log 20862 13186969600 Forbidden (CSRF token missing.): /en/htmx/dismiss-notification/dcc05c3e-c8cc-49c3-b1f9-0b64d51a0717/ WARNING 2025-08-05 20:24:45,491 basehttp 20862 13186969600 "POST /en/htmx/dismiss-notification/dcc05c3e-c8cc-49c3-b1f9-0b64d51a0717/ HTTP/1.1" 403 2491 INFO 2025-08-05 20:25:12,858 basehttp 20862 13186969600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 20:25:42,878 basehttp 20862 6156382208 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 20:25:42,879 basehttp 20862 13186969600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6804 INFO 2025-08-05 20:25:42,881 basehttp 20862 6139555840 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 20:26:12,861 basehttp 20862 6139555840 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 20:26:42,884 basehttp 20862 6139555840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6804 INFO 2025-08-05 20:26:42,884 basehttp 20862 13186969600 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 20:26:42,886 basehttp 20862 6156382208 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 20:27:12,868 basehttp 20862 6156382208 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 20:27:42,887 basehttp 20862 6156382208 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6804 INFO 2025-08-05 20:27:42,887 basehttp 20862 6139555840 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-05 20:27:42,889 basehttp 20862 13186969600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 20:28:12,875 basehttp 20862 13186969600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-05 20:28:40,814 basehttp 20862 13186969600 "GET /en/patients/register/ HTTP/1.1" 200 29341 WARNING 2025-08-05 20:28:40,842 log 20862 13186969600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:28:40,842 basehttp 20862 13186969600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:28:48,585 basehttp 20862 13186969600 "GET /en/patients/ HTTP/1.1" 200 69054 WARNING 2025-08-05 20:28:48,601 log 20862 13186969600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:28:48,602 basehttp 20862 13186969600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:28:48,626 basehttp 20862 13186969600 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 ERROR 2025-08-05 20:29:06,991 log 20862 13186969600 Internal Server Error: /en/patients/htmx/insurance-info/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1130, in insurance_info_list ).order_by('-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-05 20:29:06,993 basehttp 20862 13186969600 "GET /en/patients/htmx/insurance-info/115/ HTTP/1.1" 500 89442 ERROR 2025-08-05 20:29:17,577 log 20862 13186969600 Internal Server Error: /en/patients/85/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 132, in get_context_data ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: address_line_1, address_line_2, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-05 20:29:17,578 basehttp 20862 13186969600 "GET /en/patients/85/ HTTP/1.1" 500 102026 WARNING 2025-08-05 20:29:17,595 log 20862 13186969600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:29:17,595 basehttp 20862 13186969600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-05 20:29:55,538 log 20862 13186969600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:29:55,538 basehttp 20862 13186969600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:29:55,542 basehttp 20862 6156382208 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 WARNING 2025-08-05 20:29:55,545 log 20862 13186969600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-05 20:29:55,545 basehttp 20862 13186969600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-05 20:30:52,974 basehttp 20862 13186969600 "GET /en/patients/htmx/consent-forms/119/ HTTP/1.1" 200 1174 INFO 2025-08-05 20:30:55,502 basehttp 20862 13186969600 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-05 20:31:55,502 basehttp 20862 13186969600 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-05 20:32:10,911 basehttp 20862 13186969600 "GET /en/admin/inventory/inventorylocation/?location_type__exact=OR_STORAGE HTTP/1.1" 200 72385 INFO 2025-08-05 20:32:10,919 basehttp 20862 6139555840 "GET /static/admin/js/theme.js HTTP/1.1" 200 1653 INFO 2025-08-05 20:32:10,920 basehttp 20862 6156382208 "GET /static/admin/css/dark_mode.css HTTP/1.1" 200 2808 INFO 2025-08-05 20:32:10,920 basehttp 20862 13186969600 "GET /static/admin/css/base.css HTTP/1.1" 200 22120 INFO 2025-08-05 20:32:10,920 basehttp 20862 6173208576 "GET /static/admin/css/changelists.css HTTP/1.1" 200 6878 INFO 2025-08-05 20:32:10,921 basehttp 20862 6122729472 "GET /static/admin/css/nav_sidebar.css HTTP/1.1" 200 2810 INFO 2025-08-05 20:32:10,922 basehttp 20862 6139555840 "GET /static/admin/css/responsive.css HTTP/1.1" 200 16565 INFO 2025-08-05 20:32:10,923 basehttp 20862 13186969600 "GET /static/admin/js/jquery.init.js HTTP/1.1" 200 347 INFO 2025-08-05 20:32:10,923 basehttp 20862 6173208576 "GET /static/admin/js/core.js HTTP/1.1" 200 6208 INFO 2025-08-05 20:32:10,923 basehttp 20862 6122729472 "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 200 9777 INFO 2025-08-05 20:32:10,925 basehttp 20862 6173208576 "GET /static/admin/js/prepopulate.js HTTP/1.1" 200 1531 INFO 2025-08-05 20:32:10,925 basehttp 20862 6139555840 "GET /static/admin/js/actions.js HTTP/1.1" 200 8076 INFO 2025-08-05 20:32:10,926 basehttp 20862 13186969600 "GET /static/admin/js/urlify.js HTTP/1.1" 200 7887 INFO 2025-08-05 20:32:10,928 basehttp 20862 6173208576 "GET /static/admin/img/search.svg HTTP/1.1" 200 458 INFO 2025-08-05 20:32:10,930 basehttp 20862 13170143232 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-05 20:32:10,930 basehttp 20862 6156382208 "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 200 285314 INFO 2025-08-05 20:32:10,935 basehttp 20862 13170143232 "GET /static/admin/js/nav_sidebar.js HTTP/1.1" 200 3063 INFO 2025-08-05 20:32:10,935 basehttp 20862 6122729472 "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 200 325171 INFO 2025-08-05 20:32:10,936 basehttp 20862 13170143232 "GET /static/admin/js/filters.js HTTP/1.1" 200 978 INFO 2025-08-05 20:32:10,969 basehttp 20862 13170143232 "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 200 331 INFO 2025-08-05 20:32:10,969 basehttp 20862 6156382208 "GET /static/admin/img/icon-viewlink.svg HTTP/1.1" 200 581 INFO 2025-08-05 20:32:10,969 basehttp 20862 6122729472 "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 200 331 INFO 2025-08-05 20:32:20,393 basehttp 20862 6122729472 "GET /en/admin/patients/patientprofile/ HTTP/1.1" 200 143154 INFO 2025-08-05 20:32:20,405 basehttp 20862 6156382208 "GET /static/admin/img/icon-yes.svg HTTP/1.1" 200 436 INFO 2025-08-05 20:32:20,409 basehttp 20862 6122729472 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 ERROR 2025-08-05 20:32:27,958 log 20862 6122729472 Internal Server Error: /en/admin/patients/patientprofile/28/change/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 840, in get_form return modelform_factory(self.model, **defaults) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 654, in modelform_factory return type(form)(class_name, (form,), form_class_attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 312, in __new__ fields = fields_for_model( ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 207, in fields_for_model raise FieldError( django.core.exceptions.FieldError: 'registration_date' cannot be specified for PatientProfile model form as it is a non-editable field During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 719, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 192, in _view_wrapper result = _process_exception(request, e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 190, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/sites.py", line 246, in inner return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 1987, in change_view return self.changeform_view(request, object_id, form_url, extra_context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 192, in _view_wrapper result = _process_exception(request, e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 190, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 1840, in changeform_view return self._changeform_view(request, object_id, form_url, extra_context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 1878, in _changeform_view ModelForm = self.get_form( ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 842, in get_form raise FieldError( django.core.exceptions.FieldError: 'registration_date' cannot be specified for PatientProfile model form as it is a non-editable field. Check fields/fieldsets/exclude attributes of class PatientProfileAdmin. ERROR 2025-08-05 20:32:27,964 basehttp 20862 6122729472 "GET /en/admin/patients/patientprofile/28/change/ HTTP/1.1" 500 168185 INFO 2025-08-05 20:32:55,805 basehttp 20862 6122729472 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-05 20:33:01,867 autoreload 20862 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/admin.py changed, reloading. INFO 2025-08-05 20:33:02,288 autoreload 24523 8426135296 Watching for file changes with StatReloader ERROR 2025-08-05 20:33:04,460 log 24523 6194442240 Internal Server Error: /en/admin/patients/patientprofile/28/change/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 840, in get_form return modelform_factory(self.model, **defaults) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 654, in modelform_factory return type(form)(class_name, (form,), form_class_attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 312, in __new__ fields = fields_for_model( ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 207, in fields_for_model raise FieldError( django.core.exceptions.FieldError: 'registration_date' cannot be specified for PatientProfile model form as it is a non-editable field During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 719, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 192, in _view_wrapper result = _process_exception(request, e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 190, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/sites.py", line 246, in inner return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 1987, in change_view return self.changeform_view(request, object_id, form_url, extra_context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 192, in _view_wrapper result = _process_exception(request, e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 190, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 1840, in changeform_view return self._changeform_view(request, object_id, form_url, extra_context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 1878, in _changeform_view ModelForm = self.get_form( ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 842, in get_form raise FieldError( django.core.exceptions.FieldError: 'registration_date' cannot be specified for PatientProfile model form as it is a non-editable field. Check fields/fieldsets/exclude attributes of class PatientProfileAdmin. ERROR 2025-08-05 20:33:04,464 basehttp 24523 6194442240 "GET /en/admin/patients/patientprofile/28/change/ HTTP/1.1" 500 168322 ERROR 2025-08-05 20:33:05,419 log 24523 6194442240 Internal Server Error: /en/admin/patients/patientprofile/28/change/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 840, in get_form return modelform_factory(self.model, **defaults) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 654, in modelform_factory return type(form)(class_name, (form,), form_class_attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 312, in __new__ fields = fields_for_model( ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 207, in fields_for_model raise FieldError( django.core.exceptions.FieldError: 'registration_date' cannot be specified for PatientProfile model form as it is a non-editable field During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 719, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 192, in _view_wrapper result = _process_exception(request, e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 190, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/sites.py", line 246, in inner return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 1987, in change_view return self.changeform_view(request, object_id, form_url, extra_context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 192, in _view_wrapper result = _process_exception(request, e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 190, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 1840, in changeform_view return self._changeform_view(request, object_id, form_url, extra_context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 1878, in _changeform_view ModelForm = self.get_form( ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 842, in get_form raise FieldError( django.core.exceptions.FieldError: 'registration_date' cannot be specified for PatientProfile model form as it is a non-editable field. Check fields/fieldsets/exclude attributes of class PatientProfileAdmin. ERROR 2025-08-05 20:33:05,422 basehttp 24523 6194442240 "GET /en/admin/patients/patientprofile/28/change/ HTTP/1.1" 500 168322 INFO 2025-08-05 20:33:40,345 autoreload 24523 8426135296 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/admin.py changed, reloading. INFO 2025-08-05 20:33:40,622 autoreload 24793 8426135296 Watching for file changes with StatReloader INFO 2025-08-05 20:33:41,503 basehttp 24793 6155268096 "GET /en/admin/patients/patientprofile/28/change/ HTTP/1.1" 200 191533 INFO 2025-08-05 20:33:41,519 basehttp 24793 6155268096 "GET /static/admin/css/forms.css HTTP/1.1" 200 8525 INFO 2025-08-05 20:33:41,519 basehttp 24793 6239399936 "GET /static/admin/js/prepopulate_init.js HTTP/1.1" 200 586 INFO 2025-08-05 20:33:41,519 basehttp 24793 6188920832 "GET /static/admin/js/calendar.js HTTP/1.1" 200 9141 INFO 2025-08-05 20:33:41,520 basehttp 24793 6222573568 "GET /static/admin/js/inlines.js HTTP/1.1" 200 15628 INFO 2025-08-05 20:33:41,520 basehttp 24793 6205747200 "GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 200 19319 INFO 2025-08-05 20:33:41,521 basehttp 24793 6239399936 "GET /static/admin/css/widgets.css HTTP/1.1" 200 11991 INFO 2025-08-05 20:33:41,522 basehttp 24793 6239399936 "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 200 380 INFO 2025-08-05 20:33:41,523 basehttp 24793 6239399936 "GET /static/admin/img/icon-deletelink.svg HTTP/1.1" 200 392 INFO 2025-08-05 20:33:41,524 basehttp 24793 6172094464 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-05 20:33:41,524 basehttp 24793 6239399936 "GET /static/admin/img/icon-unknown.svg HTTP/1.1" 200 655 INFO 2025-08-05 20:33:41,525 basehttp 24793 6172094464 "GET /static/admin/js/change_form.js HTTP/1.1" 200 606 INFO 2025-08-05 20:33:41,555 basehttp 24793 6172094464 "GET /static/admin/img/inline-delete.svg HTTP/1.1" 200 537 INFO 2025-08-05 20:33:41,558 basehttp 24793 6172094464 "GET /static/admin/img/icon-calendar.svg HTTP/1.1" 200 1086 INFO 2025-08-05 20:33:41,558 basehttp 24793 6172094464 "GET /static/admin/img/icon-clock.svg HTTP/1.1" 200 677 INFO 2025-08-05 20:33:54,548 basehttp 24793 6172094464 "POST /en/admin/patients/patientprofile/28/change/ HTTP/1.1" 302 0 INFO 2025-08-05 20:33:54,610 basehttp 24793 6172094464 "GET /en/admin/patients/patientprofile/ HTTP/1.1" 200 135291 INFO 2025-08-05 20:33:54,629 basehttp 24793 6172094464 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-05 20:33:56,818 basehttp 24793 6172094464 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-05 20:34:04,215 basehttp 24793 6172094464 "GET /en/admin/patients/patientprofile/?all= HTTP/1.1" 200 169476 INFO 2025-08-05 20:34:04,225 basehttp 24793 6172094464 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-05 20:34:13,612 basehttp 24793 6172094464 "GET /en/admin/patients/patientprofile/49/change/?_changelist_filters=all%3D HTTP/1.1" 200 195573 INFO 2025-08-05 20:34:13,629 basehttp 24793 6172094464 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-05 20:34:20,819 basehttp 24793 6172094464 "POST /en/admin/patients/patientprofile/49/change/?_changelist_filters=all%3D HTTP/1.1" 302 0 INFO 2025-08-05 20:34:20,861 basehttp 24793 6172094464 "GET /en/admin/patients/patientprofile/ HTTP/1.1" 200 135277 INFO 2025-08-05 20:34:20,873 basehttp 24793 6172094464 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-05 20:34:23,571 basehttp 24793 6172094464 "GET /en/admin/patients/patientprofile/add/ HTTP/1.1" 200 186923 INFO 2025-08-05 20:34:23,588 basehttp 24793 6172094464 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-05 20:34:27,748 basehttp 24793 6172094464 "GET /en/admin/patients/patientprofile/ HTTP/1.1" 200 135031 INFO 2025-08-05 20:34:33,992 basehttp 24793 6172094464 "GET /en/admin/accounts/twofactordevice/ HTTP/1.1" 200 140797 INFO 2025-08-05 20:34:34,006 basehttp 24793 6172094464 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-05 20:34:36,702 basehttp 24793 6172094464 "GET /en/admin/accounts/twofactordevice/133/change/ HTTP/1.1" 200 115848 INFO 2025-08-05 20:34:36,716 basehttp 24793 6172094464 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-05 20:34:39,629 basehttp 24793 6172094464 "GET /en/admin/accounts/twofactordevice/ HTTP/1.1" 200 140797 INFO 2025-08-05 20:34:42,169 basehttp 24793 6172094464 "GET /en/admin/appointments/appointmenttemplate/ HTTP/1.1" 200 69499 INFO 2025-08-05 20:34:42,183 basehttp 24793 6172094464 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-05 20:34:46,680 basehttp 24793 6172094464 "GET /en/admin/appointments/queueentry/ HTTP/1.1" 200 126321 INFO 2025-08-05 20:34:46,693 basehttp 24793 6172094464 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-06 00:55:34,920 autoreload 4689 8601149632 Watching for file changes with StatReloader INFO 2025-08-06 00:55:38,126 basehttp 4689 6128496640 "GET /en/admin/appointments/queueentry/ HTTP/1.1" 200 134491 INFO 2025-08-06 00:55:38,138 basehttp 4689 6128496640 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 WARNING 2025-08-06 00:55:38,175 log 4689 6128496640 Not Found: /favicon.ico WARNING 2025-08-06 00:55:38,175 basehttp 4689 6128496640 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-06 00:55:40,637 basehttp 4689 6128496640 "GET / HTTP/1.1" 302 0 INFO 2025-08-06 00:55:40,674 basehttp 4689 6145323008 "GET /en/ HTTP/1.1" 200 50313 INFO 2025-08-06 00:55:40,759 basehttp 4689 6145323008 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6769 INFO 2025-08-06 00:55:40,764 basehttp 4689 6162149376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 00:55:40,765 basehttp 4689 13170143232 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 00:55:40,768 basehttp 4689 6128496640 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 00:55:54,298 basehttp 4689 6128496640 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 00:56:04,258 basehttp 4689 6128496640 "GET /en/patients/ HTTP/1.1" 200 69054 INFO 2025-08-06 00:56:04,278 basehttp 4689 6128496640 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 00:56:55,297 basehttp 4689 6128496640 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 00:57:04,290 basehttp 4689 6128496640 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 00:57:56,314 basehttp 4689 6128496640 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 00:58:04,303 basehttp 4689 6128496640 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 00:58:57,294 basehttp 4689 6128496640 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 00:59:04,309 basehttp 4689 6128496640 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 00:59:18,342 basehttp 4689 6128496640 "GET /en/patients/htmx/consent-forms/115/ HTTP/1.1" 200 590 INFO 2025-08-06 01:00:04,298 basehttp 4689 6128496640 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 ERROR 2025-08-06 01:00:09,652 log 4689 6128496640 Internal Server Error: /en/patients/htmx/insurance-info/85/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1130, in insurance_info_list ).order_by('-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-06 01:00:09,657 basehttp 4689 6128496640 "GET /en/patients/htmx/insurance-info/85/ HTTP/1.1" 500 89882 INFO 2025-08-06 01:00:50,282 basehttp 4689 6128496640 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:01:04,294 basehttp 4689 6128496640 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:01:50,280 basehttp 4689 6128496640 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:01:51,951 autoreload 4689 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py changed, reloading. INFO 2025-08-06 01:01:52,331 autoreload 7463 8601149632 Watching for file changes with StatReloader INFO 2025-08-06 01:01:59,085 basehttp 7463 6164443136 "GET /en/patients/ HTTP/1.1" 200 69054 INFO 2025-08-06 01:01:59,125 basehttp 7463 6164443136 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:02:02,257 basehttp 7463 6164443136 "GET /en/patients/htmx/insurance-info/115/ HTTP/1.1" 200 153 INFO 2025-08-06 01:02:07,271 basehttp 7463 6164443136 "GET /en/patients/htmx/consent-forms/115/ HTTP/1.1" 200 590 WARNING 2025-08-06 01:02:19,919 log 7463 6164443136 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:02:19,919 basehttp 7463 6164443136 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:02:23,005 basehttp 7463 6164443136 "GET /en/patients/htmx/insurance-info/137/ HTTP/1.1" 200 153 INFO 2025-08-06 01:02:39,244 basehttp 7463 6164443136 "GET /en/patients/htmx/consent-forms/85/ HTTP/1.1" 200 149 INFO 2025-08-06 01:02:59,132 basehttp 7463 6164443136 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:03:50,275 basehttp 7463 6164443136 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:03:59,128 basehttp 7463 6164443136 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:04:50,279 basehttp 7463 6164443136 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:04:59,131 basehttp 7463 6164443136 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:05:50,279 basehttp 7463 6164443136 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:05:59,145 basehttp 7463 6164443136 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:06:59,147 basehttp 7463 6164443136 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:07:50,272 basehttp 7463 6164443136 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:07:59,115 basehttp 7463 6164443136 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:08:50,228 basehttp 7463 6164443136 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:08:59,114 basehttp 7463 6164443136 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:09:42,714 autoreload 7463 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py changed, reloading. INFO 2025-08-06 01:09:43,006 autoreload 11749 8601149632 Watching for file changes with StatReloader INFO 2025-08-06 01:09:44,441 basehttp 11749 6202191872 "GET /en/patients/ HTTP/1.1" 200 69054 WARNING 2025-08-06 01:09:44,465 log 11749 6202191872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:09:44,465 basehttp 11749 6202191872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:09:44,508 basehttp 11749 6202191872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:09:50,232 basehttp 11749 6202191872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:10:23,993 basehttp 11749 6202191872 "GET /en/patients/register/ HTTP/1.1" 200 29341 WARNING 2025-08-06 01:10:24,008 log 11749 6202191872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:10:24,009 basehttp 11749 6202191872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 01:10:31,208 log 11749 6202191872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:10:31,208 basehttp 11749 6202191872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 01:10:31,226 log 11749 6202191872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:10:31,226 basehttp 11749 6202191872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 01:10:31,636 log 11749 6202191872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:10:31,636 basehttp 11749 6202191872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 01:10:34,601 log 11749 6202191872 Forbidden (CSRF token missing.): /en/htmx/dismiss-notification/7f5f7eca-e3c3-4e6c-9eb7-4b8fb82c9740/ WARNING 2025-08-06 01:10:34,602 basehttp 11749 6202191872 "POST /en/htmx/dismiss-notification/7f5f7eca-e3c3-4e6c-9eb7-4b8fb82c9740/ HTTP/1.1" 403 2491 WARNING 2025-08-06 01:10:35,748 log 11749 6202191872 Forbidden (CSRF token missing.): /en/htmx/dismiss-notification/7f5f7eca-e3c3-4e6c-9eb7-4b8fb82c9740/ WARNING 2025-08-06 01:10:35,750 basehttp 11749 6202191872 "POST /en/htmx/dismiss-notification/7f5f7eca-e3c3-4e6c-9eb7-4b8fb82c9740/ HTTP/1.1" 403 2491 INFO 2025-08-06 01:10:38,552 basehttp 11749 6202191872 "GET / HTTP/1.1" 302 0 INFO 2025-08-06 01:10:38,587 basehttp 11749 6219018240 "GET /en/ HTTP/1.1" 200 50314 WARNING 2025-08-06 01:10:38,602 log 11749 6219018240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:10:38,602 basehttp 11749 6219018240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:10:38,673 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6769 INFO 2025-08-06 01:10:38,676 basehttp 11749 6252670976 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:10:38,677 basehttp 11749 6235844608 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:10:38,678 basehttp 11749 6202191872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:10:42,296 basehttp 11749 6202191872 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 49633 WARNING 2025-08-06 01:10:42,317 log 11749 6202191872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:10:42,318 basehttp 11749 6202191872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:11:35,081 basehttp 11749 6202191872 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 49633 WARNING 2025-08-06 01:11:35,100 log 11749 6202191872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:11:35,101 basehttp 11749 6202191872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:11:50,239 basehttp 11749 6202191872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:12:50,241 basehttp 11749 6202191872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:13:08,096 basehttp 11749 6202191872 "GET /en/laboratory/tests/ HTTP/1.1" 200 32036 WARNING 2025-08-06 01:13:08,130 log 11749 6202191872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:13:08,131 basehttp 11749 6202191872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:14:13,369 basehttp 11749 6202191872 "GET /en/laboratory/tests/ HTTP/1.1" 200 32025 WARNING 2025-08-06 01:14:13,399 log 11749 6202191872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:14:13,399 basehttp 11749 6202191872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:14:21,161 basehttp 11749 6202191872 "GET / HTTP/1.1" 302 0 INFO 2025-08-06 01:14:21,180 basehttp 11749 6235844608 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:14:21,208 log 11749 6235844608 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:14:21,208 basehttp 11749 6235844608 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:14:21,263 basehttp 11749 6235844608 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6774 INFO 2025-08-06 01:14:21,275 basehttp 11749 6219018240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:14:21,276 basehttp 11749 6202191872 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:14:21,276 basehttp 11749 6252670976 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:14:50,235 basehttp 11749 6252670976 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:14:51,261 basehttp 11749 6252670976 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:15:21,276 basehttp 11749 6252670976 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6774 INFO 2025-08-06 01:15:21,277 basehttp 11749 6202191872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:15:21,279 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:15:50,225 basehttp 11749 6219018240 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:15:51,255 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:16:21,283 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6774 INFO 2025-08-06 01:16:21,285 basehttp 11749 6252670976 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:16:21,286 basehttp 11749 6202191872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:16:50,217 basehttp 11749 6202191872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:16:51,265 basehttp 11749 6202191872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:17:21,284 basehttp 11749 6202191872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6774 INFO 2025-08-06 01:17:21,286 basehttp 11749 6252670976 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:17:21,288 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:17:51,274 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:18:21,293 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6774 INFO 2025-08-06 01:18:21,294 basehttp 11749 6252670976 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:18:21,297 basehttp 11749 6202191872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:18:50,220 basehttp 11749 6202191872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:18:51,288 basehttp 11749 6202191872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:19:21,293 basehttp 11749 6202191872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6774 INFO 2025-08-06 01:19:21,297 basehttp 11749 6252670976 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:19:21,299 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:19:50,208 basehttp 11749 6219018240 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:19:51,276 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:20:21,275 basehttp 11749 6252670976 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:20:21,276 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6774 INFO 2025-08-06 01:20:21,281 basehttp 11749 6202191872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:20:50,208 basehttp 11749 6202191872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:20:51,284 basehttp 11749 6202191872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:21:21,285 basehttp 11749 6202191872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6774 INFO 2025-08-06 01:21:21,286 basehttp 11749 6219018240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:21:21,289 basehttp 11749 6252670976 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:21:33,743 basehttp 11749 6252670976 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:21:33,759 log 11749 6252670976 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:21:33,759 basehttp 11749 6252670976 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:21:33,814 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:21:33,829 basehttp 11749 6202191872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:21:33,831 basehttp 11749 6252670976 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6444 INFO 2025-08-06 01:21:33,832 basehttp 11749 6235844608 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:21:40,232 basehttp 11749 6235844608 "GET /en/ HTTP/1.1" 200 50303 INFO 2025-08-06 01:21:40,245 basehttp 11749 6286323712 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-06 01:21:40,246 basehttp 11749 6202191872 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-06 01:21:40,247 basehttp 11749 6269497344 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-06 01:21:40,248 basehttp 11749 6202191872 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 WARNING 2025-08-06 01:21:40,252 log 11749 6286323712 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:21:40,253 basehttp 11749 6286323712 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:21:40,254 basehttp 11749 6235844608 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-06 01:21:40,255 basehttp 11749 6269497344 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-06 01:21:40,266 basehttp 11749 6219018240 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-06 01:21:40,270 basehttp 11749 6252670976 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-06 01:21:40,275 basehttp 11749 6202191872 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-06 01:21:40,277 basehttp 11749 6269497344 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-06 01:21:40,435 basehttp 11749 6269497344 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-06 01:21:40,436 basehttp 11749 6235844608 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-06 01:21:40,436 basehttp 11749 6202191872 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-06 01:21:40,437 basehttp 11749 6219018240 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-06 01:21:40,438 basehttp 11749 6252670976 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-06 01:21:40,438 basehttp 11749 6286323712 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-06 01:21:40,442 basehttp 11749 6252670976 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-06 01:21:40,442 basehttp 11749 6219018240 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-06 01:21:40,443 basehttp 11749 6286323712 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-06 01:21:40,443 basehttp 11749 6202191872 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-06 01:21:40,444 basehttp 11749 6235844608 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-06 01:21:40,445 basehttp 11749 6269497344 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-06 01:21:40,446 basehttp 11749 6252670976 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-06 01:21:40,446 basehttp 11749 6202191872 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-06 01:21:40,446 basehttp 11749 6286323712 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-06 01:21:40,447 basehttp 11749 6235844608 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-06 01:21:40,448 basehttp 11749 6269497344 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-06 01:21:40,448 basehttp 11749 6219018240 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-06 01:21:40,450 basehttp 11749 6252670976 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-06 01:21:40,451 basehttp 11749 6235844608 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-06 01:21:40,451 basehttp 11749 6286323712 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-06 01:21:40,451 basehttp 11749 6202191872 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-06 01:21:40,451 basehttp 11749 6269497344 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-06 01:21:40,461 basehttp 11749 6219018240 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-06 01:21:40,485 basehttp 11749 6235844608 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:21:40,485 basehttp 11749 6202191872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6444 INFO 2025-08-06 01:21:40,487 basehttp 11749 6286323712 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:21:40,488 basehttp 11749 6269497344 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-06 01:21:40,566 log 11749 6269497344 Not Found: /favicon.ico WARNING 2025-08-06 01:21:40,566 basehttp 11749 6269497344 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-06 01:22:10,478 basehttp 11749 6269497344 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:22:40,483 basehttp 11749 6269497344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6444 INFO 2025-08-06 01:22:40,485 basehttp 11749 6286323712 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:22:40,489 basehttp 11749 6202191872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:22:50,433 basehttp 11749 6202191872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:23:07,977 basehttp 11749 6202191872 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:23:07,994 log 11749 6202191872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:23:07,994 basehttp 11749 6202191872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:23:08,108 basehttp 11749 6202191872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6774 INFO 2025-08-06 01:23:08,120 basehttp 11749 6252670976 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:23:08,121 basehttp 11749 6235844608 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:23:08,122 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:23:31,855 basehttp 11749 6219018240 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:23:31,877 log 11749 6219018240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:23:31,877 basehttp 11749 6219018240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:23:31,951 basehttp 11749 6202191872 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:23:31,953 basehttp 11749 6252670976 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:23:31,954 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6824 INFO 2025-08-06 01:23:31,956 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:23:50,426 basehttp 11749 6235844608 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:24:01,974 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:24:31,958 basehttp 11749 6235844608 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6824 INFO 2025-08-06 01:24:31,958 basehttp 11749 6219018240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:24:31,960 basehttp 11749 6252670976 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:25:01,945 basehttp 11749 6252670976 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:25:31,965 basehttp 11749 6235844608 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:25:31,965 basehttp 11749 6252670976 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6824 INFO 2025-08-06 01:25:31,965 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:25:50,425 basehttp 11749 6219018240 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:26:01,941 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:26:31,966 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6824 INFO 2025-08-06 01:26:31,967 basehttp 11749 6235844608 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:26:31,969 basehttp 11749 6252670976 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:26:50,417 basehttp 11749 6252670976 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:26:57,473 basehttp 11749 6252670976 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:26:57,496 log 11749 6252670976 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:26:57,496 basehttp 11749 6252670976 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:26:57,577 basehttp 11749 6252670976 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6781 INFO 2025-08-06 01:26:57,577 basehttp 11749 6202191872 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:26:57,578 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:26:57,578 basehttp 11749 6219018240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:27:27,361 basehttp 11749 6219018240 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:27:27,382 log 11749 6219018240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:27:27,383 basehttp 11749 6219018240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:27:27,459 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6781 INFO 2025-08-06 01:27:27,459 basehttp 11749 6252670976 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:27:27,461 basehttp 11749 6202191872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:27:27,462 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-06 01:27:45,262 log 11749 6235844608 Not Found: /extra/profile WARNING 2025-08-06 01:27:45,263 basehttp 11749 6235844608 "GET /extra/profile HTTP/1.1" 404 2563 WARNING 2025-08-06 01:27:45,284 log 11749 6235844608 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:27:45,285 basehttp 11749 6235844608 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 01:27:54,180 log 11749 6235844608 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:27:54,181 basehttp 11749 6235844608 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 01:27:54,198 log 11749 6235844608 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:27:54,198 basehttp 11749 6235844608 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:27:57,451 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:28:27,466 basehttp 11749 6235844608 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6781 INFO 2025-08-06 01:28:27,467 basehttp 11749 6202191872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:28:27,469 basehttp 11749 6252670976 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:28:43,412 basehttp 11749 6252670976 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:28:43,426 log 11749 6252670976 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:28:43,426 basehttp 11749 6252670976 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:28:43,511 basehttp 11749 6219018240 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:28:43,511 basehttp 11749 6252670976 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6777 INFO 2025-08-06 01:28:43,513 basehttp 11749 6202191872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:28:43,515 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:28:50,429 basehttp 11749 6235844608 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:29:01,603 basehttp 11749 6235844608 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:29:01,626 log 11749 6235844608 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:29:01,626 basehttp 11749 6235844608 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:29:01,708 basehttp 11749 6235844608 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6783 INFO 2025-08-06 01:29:01,708 basehttp 11749 6202191872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:29:01,709 basehttp 11749 6252670976 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:29:01,710 basehttp 11749 6219018240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:29:14,546 basehttp 11749 6219018240 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:29:14,566 log 11749 6219018240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:29:14,566 basehttp 11749 6219018240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:29:14,644 basehttp 11749 6235844608 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:29:14,644 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6783 INFO 2025-08-06 01:29:14,645 basehttp 11749 6202191872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:29:14,647 basehttp 11749 6252670976 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:29:40,459 basehttp 11749 6252670976 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:29:40,480 log 11749 6252670976 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:29:40,480 basehttp 11749 6252670976 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:29:40,556 basehttp 11749 6235844608 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:29:40,559 basehttp 11749 6252670976 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6782 INFO 2025-08-06 01:29:40,559 basehttp 11749 6219018240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:29:40,561 basehttp 11749 6202191872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:30:10,541 basehttp 11749 6202191872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:30:40,640 basehttp 11749 6202191872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6782 INFO 2025-08-06 01:30:40,641 basehttp 11749 6252670976 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:30:40,643 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:30:45,937 basehttp 11749 6219018240 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:30:45,959 log 11749 6219018240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:30:45,959 basehttp 11749 6219018240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:30:46,025 basehttp 11749 6252670976 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:30:46,035 basehttp 11749 6235844608 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:30:46,035 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7201 INFO 2025-08-06 01:30:46,035 basehttp 11749 6202191872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:30:50,422 basehttp 11749 6202191872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:31:02,570 basehttp 11749 6202191872 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:31:02,589 log 11749 6202191872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:31:02,589 basehttp 11749 6202191872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:31:02,665 basehttp 11749 6252670976 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:31:02,668 basehttp 11749 6235844608 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:31:02,668 basehttp 11749 6202191872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7196 INFO 2025-08-06 01:31:02,670 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:31:32,640 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:31:48,171 basehttp 11749 6219018240 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:31:48,184 log 11749 6219018240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:31:48,184 basehttp 11749 6219018240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:31:48,252 basehttp 11749 6252670976 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:31:48,253 basehttp 11749 6235844608 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:31:48,255 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7201 INFO 2025-08-06 01:31:48,259 basehttp 11749 6202191872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:31:50,473 basehttp 11749 6202191872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:32:07,474 basehttp 11749 6202191872 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:32:07,487 log 11749 6202191872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:32:07,487 basehttp 11749 6202191872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:32:07,562 basehttp 11749 6252670976 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:32:07,564 basehttp 11749 6235844608 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:32:07,564 basehttp 11749 6202191872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7204 INFO 2025-08-06 01:32:07,565 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:32:23,016 basehttp 11749 6219018240 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:32:23,028 log 11749 6219018240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:32:23,028 basehttp 11749 6219018240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:32:23,098 basehttp 11749 6252670976 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:32:23,099 basehttp 11749 6202191872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:32:23,099 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7196 INFO 2025-08-06 01:32:23,102 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:32:53,086 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:33:23,111 basehttp 11749 6235844608 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7196 INFO 2025-08-06 01:33:23,111 basehttp 11749 6219018240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:33:23,114 basehttp 11749 6202191872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:33:50,428 basehttp 11749 6202191872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:33:53,080 basehttp 11749 6202191872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:34:23,090 basehttp 11749 6202191872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7196 INFO 2025-08-06 01:34:23,092 basehttp 11749 6235844608 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:34:23,094 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:34:50,428 basehttp 11749 6219018240 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:34:53,097 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:35:23,114 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7196 INFO 2025-08-06 01:35:23,114 basehttp 11749 6235844608 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:35:23,116 basehttp 11749 6202191872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:35:49,599 basehttp 11749 6202191872 "GET /en/ HTTP/1.1" 200 50303 WARNING 2025-08-06 01:35:49,620 log 11749 6202191872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:35:49,621 basehttp 11749 6202191872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:35:49,698 basehttp 11749 6252670976 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:35:49,701 basehttp 11749 6202191872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7177 INFO 2025-08-06 01:35:49,701 basehttp 11749 6235844608 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:35:49,702 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:35:52,624 basehttp 11749 6219018240 "GET /en/ HTTP/1.1" 200 50303 INFO 2025-08-06 01:35:52,634 basehttp 11749 6202191872 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-06 01:35:52,636 basehttp 11749 6286323712 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-06 01:35:52,637 basehttp 11749 6269497344 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-06 01:35:52,638 basehttp 11749 6286323712 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-06 01:35:52,639 basehttp 11749 6219018240 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-06 01:35:52,641 basehttp 11749 6269497344 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 WARNING 2025-08-06 01:35:52,648 log 11749 6202191872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:35:52,649 basehttp 11749 6202191872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:35:52,653 basehttp 11749 6252670976 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-06 01:35:52,655 basehttp 11749 6269497344 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-06 01:35:52,657 basehttp 11749 6235844608 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-06 01:35:52,658 basehttp 11749 6286323712 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-06 01:35:52,936 basehttp 11749 6286323712 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-06 01:35:52,937 basehttp 11749 6269497344 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-06 01:35:52,938 basehttp 11749 6202191872 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-06 01:35:52,938 basehttp 11749 6219018240 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-06 01:35:52,938 basehttp 11749 6235844608 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-06 01:35:52,940 basehttp 11749 6252670976 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-06 01:35:52,943 basehttp 11749 6269497344 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-06 01:35:52,943 basehttp 11749 6235844608 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-06 01:35:52,943 basehttp 11749 6219018240 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-06 01:35:52,943 basehttp 11749 6252670976 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-06 01:35:52,944 basehttp 11749 6202191872 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-06 01:35:52,947 basehttp 11749 6286323712 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-06 01:35:52,948 basehttp 11749 6219018240 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-06 01:35:52,949 basehttp 11749 6252670976 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-06 01:35:52,951 basehttp 11749 6235844608 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-06 01:35:52,951 basehttp 11749 6202191872 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-06 01:35:52,954 basehttp 11749 6269497344 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-06 01:35:52,954 basehttp 11749 6286323712 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-06 01:35:52,956 basehttp 11749 6252670976 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-06 01:35:52,957 basehttp 11749 6202191872 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-06 01:35:52,957 basehttp 11749 6269497344 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-06 01:35:52,958 basehttp 11749 6235844608 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-06 01:35:52,959 basehttp 11749 6286323712 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-06 01:35:52,961 basehttp 11749 6219018240 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 WARNING 2025-08-06 01:35:53,043 log 11749 6202191872 Not Found: /favicon.ico WARNING 2025-08-06 01:35:53,043 basehttp 11749 6202191872 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-06 01:35:53,063 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7177 INFO 2025-08-06 01:35:53,064 basehttp 11749 6286323712 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:35:53,064 basehttp 11749 6269497344 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:35:53,066 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:36:23,004 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:36:50,417 basehttp 11749 6235844608 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:36:53,000 basehttp 11749 6235844608 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7177 INFO 2025-08-06 01:36:53,002 basehttp 11749 6286323712 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:36:53,003 basehttp 11749 6269497344 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:37:22,999 basehttp 11749 6269497344 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:37:50,327 basehttp 11749 6269497344 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:37:52,929 basehttp 11749 6286323712 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:37:52,930 basehttp 11749 6269497344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7177 INFO 2025-08-06 01:37:52,931 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:37:58,006 basehttp 11749 6235844608 "GET /en/ HTTP/1.1" 200 50312 WARNING 2025-08-06 01:37:58,023 log 11749 6235844608 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:37:58,023 basehttp 11749 6235844608 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:37:58,131 basehttp 11749 6219018240 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:37:58,133 basehttp 11749 6286323712 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:37:58,133 basehttp 11749 6235844608 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7157 INFO 2025-08-06 01:37:58,136 basehttp 11749 6269497344 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:38:00,976 basehttp 11749 6269497344 "GET /en/ HTTP/1.1" 200 50312 INFO 2025-08-06 01:38:00,987 basehttp 11749 6252670976 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-06 01:38:00,987 basehttp 11749 6235844608 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-06 01:38:00,992 basehttp 11749 6235844608 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-06 01:38:00,993 basehttp 11749 6202191872 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-06 01:38:00,996 basehttp 11749 6235844608 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-06 01:38:00,999 basehttp 11749 6269497344 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 WARNING 2025-08-06 01:38:01,005 log 11749 6252670976 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:38:01,005 basehttp 11749 6252670976 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:38:01,007 basehttp 11749 6235844608 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-06 01:38:01,010 basehttp 11749 6219018240 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-06 01:38:01,012 basehttp 11749 6286323712 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-06 01:38:01,012 basehttp 11749 6202191872 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-06 01:38:01,158 basehttp 11749 6202191872 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-06 01:38:01,159 basehttp 11749 6286323712 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-06 01:38:01,161 basehttp 11749 6219018240 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-06 01:38:01,161 basehttp 11749 6235844608 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-06 01:38:01,162 basehttp 11749 6286323712 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-06 01:38:01,162 basehttp 11749 6252670976 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-06 01:38:01,163 basehttp 11749 6235844608 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-06 01:38:01,164 basehttp 11749 6219018240 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-06 01:38:01,164 basehttp 11749 6269497344 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-06 01:38:01,165 basehttp 11749 6252670976 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-06 01:38:01,165 basehttp 11749 6235844608 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-06 01:38:01,166 basehttp 11749 6286323712 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-06 01:38:01,166 basehttp 11749 6269497344 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-06 01:38:01,166 basehttp 11749 6219018240 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-06 01:38:01,167 basehttp 11749 6202191872 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-06 01:38:01,169 basehttp 11749 6235844608 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-06 01:38:01,169 basehttp 11749 6269497344 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-06 01:38:01,169 basehttp 11749 6252670976 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-06 01:38:01,170 basehttp 11749 6286323712 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-06 01:38:01,170 basehttp 11749 6202191872 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-06 01:38:01,170 basehttp 11749 6219018240 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-06 01:38:01,171 basehttp 11749 6235844608 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-06 01:38:01,171 basehttp 11749 6269497344 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-06 01:38:01,175 basehttp 11749 6269497344 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-06 01:38:01,210 basehttp 11749 6219018240 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:38:01,210 basehttp 11749 6269497344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7157 INFO 2025-08-06 01:38:01,211 basehttp 11749 6286323712 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:38:01,213 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-06 01:38:01,302 log 11749 6235844608 Not Found: /favicon.ico WARNING 2025-08-06 01:38:01,303 basehttp 11749 6235844608 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-06 01:38:31,195 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:38:50,335 basehttp 11749 6235844608 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:39:01,209 basehttp 11749 6235844608 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7157 INFO 2025-08-06 01:39:01,211 basehttp 11749 6286323712 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:39:01,215 basehttp 11749 6269497344 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:39:31,214 basehttp 11749 6269497344 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:40:01,206 basehttp 11749 6269497344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7157 INFO 2025-08-06 01:40:01,207 basehttp 11749 6286323712 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:40:01,224 basehttp 11749 6269497344 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:40:31,232 basehttp 11749 6269497344 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:40:50,332 basehttp 11749 6269497344 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:41:01,215 basehttp 11749 6286323712 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:41:01,215 basehttp 11749 6269497344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7157 INFO 2025-08-06 01:41:01,224 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:41:23,661 basehttp 11749 6235844608 "GET /en/ HTTP/1.1" 200 50312 WARNING 2025-08-06 01:41:23,678 log 11749 6235844608 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:41:23,678 basehttp 11749 6235844608 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:41:23,779 basehttp 11749 6286323712 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:41:23,786 basehttp 11749 6219018240 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:41:23,787 basehttp 11749 6235844608 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7157 INFO 2025-08-06 01:41:23,789 basehttp 11749 6269497344 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:41:50,342 basehttp 11749 6269497344 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:41:53,776 basehttp 11749 6269497344 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:42:23,770 basehttp 11749 6235844608 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:42:23,770 basehttp 11749 6269497344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7157 INFO 2025-08-06 01:42:23,782 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:42:50,338 basehttp 11749 6219018240 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:42:53,782 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:43:02,382 basehttp 11749 6219018240 "GET /en/ HTTP/1.1" 200 50312 WARNING 2025-08-06 01:43:02,401 log 11749 6219018240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:43:02,401 basehttp 11749 6219018240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:43:02,478 basehttp 11749 6269497344 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:43:02,481 basehttp 11749 6286323712 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:43:02,483 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7184 INFO 2025-08-06 01:43:02,484 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:43:32,460 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:43:50,321 basehttp 11749 6235844608 "GET /en/ HTTP/1.1" 200 50312 WARNING 2025-08-06 01:43:50,335 log 11749 6235844608 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:43:50,335 basehttp 11749 6235844608 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:43:50,406 basehttp 11749 6269497344 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:43:50,413 basehttp 11749 6286323712 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:43:50,417 basehttp 11749 6235844608 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7214 INFO 2025-08-06 01:43:50,418 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-06 01:43:56,606 log 11749 6219018240 Forbidden (CSRF token missing.): /en/htmx/dismiss-notification/7f5f7eca-e3c3-4e6c-9eb7-4b8fb82c9740/ WARNING 2025-08-06 01:43:56,607 basehttp 11749 6219018240 "POST /en/htmx/dismiss-notification/7f5f7eca-e3c3-4e6c-9eb7-4b8fb82c9740/ HTTP/1.1" 403 2491 INFO 2025-08-06 01:44:20,400 basehttp 11749 6219018240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:44:50,340 basehttp 11749 6219018240 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 01:44:50,404 basehttp 11749 6219018240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7214 INFO 2025-08-06 01:44:50,407 basehttp 11749 6235844608 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:44:50,408 basehttp 11749 6286323712 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:45:20,391 basehttp 11749 6286323712 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:45:33,729 basehttp 11749 6286323712 "GET /en/ HTTP/1.1" 200 50312 WARNING 2025-08-06 01:45:33,749 log 11749 6286323712 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:45:33,749 basehttp 11749 6286323712 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:45:33,833 basehttp 11749 6219018240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 01:45:33,833 basehttp 11749 6269497344 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 01:45:33,835 basehttp 11749 6286323712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7214 INFO 2025-08-06 01:45:33,836 basehttp 11749 6235844608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 01:45:41,366 basehttp 11749 6235844608 "GET /en/radiology HTTP/1.1" 301 0 ERROR 2025-08-06 01:45:41,403 log 11749 6286323712 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 62, in get_context_data 'studies_completed_today': ImagingStudy.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'completed_datetime' into field. Choices are: accession_number, archive_location, archived, body_part, clinical_history, clinical_indication, completion_status, created_at, created_by, created_by_id, diagnosis_code, encounter, encounter_id, exposure_time, id, image_quality, imaging_order, imaging_order_id, kvp, manufacturer, mas, modality, model_name, number_of_instances, number_of_series, pacs_location, patient, patient_id, priority, radiologist, radiologist_id, referring_physician, referring_physician_id, report, series, slice_thickness, station_name, status, study_date, study_datetime, study_description, study_id, study_instance_uid, study_size, study_time, tenant, tenant_id, updated_at ERROR 2025-08-06 01:45:41,405 basehttp 11749 6286323712 "GET /en/radiology/ HTTP/1.1" 500 134125 WARNING 2025-08-06 01:45:41,416 log 11749 6286323712 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 01:45:41,417 basehttp 11749 6286323712 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 01:45:50,349 basehttp 11749 6286323712 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 14:22:23,889 autoreload 26249 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 14:22:30,791 log 26249 6202585088 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 62, in get_context_data 'studies_completed_today': ImagingStudy.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'completed_datetime' into field. Choices are: accession_number, archive_location, archived, body_part, clinical_history, clinical_indication, completion_status, created_at, created_by, created_by_id, diagnosis_code, encounter, encounter_id, exposure_time, id, image_quality, imaging_order, imaging_order_id, kvp, manufacturer, mas, modality, model_name, number_of_instances, number_of_series, pacs_location, patient, patient_id, priority, radiologist, radiologist_id, referring_physician, referring_physician_id, report, series, slice_thickness, station_name, status, study_date, study_datetime, study_description, study_id, study_instance_uid, study_size, study_time, tenant, tenant_id, updated_at ERROR 2025-08-06 14:22:30,803 basehttp 26249 6202585088 "GET /en/radiology/ HTTP/1.1" 500 134262 WARNING 2025-08-06 14:22:30,827 log 26249 6202585088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:22:30,827 basehttp 26249 6202585088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 14:22:31,836 log 26249 6202585088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:22:31,836 basehttp 26249 6202585088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:22:32,713 basehttp 26249 6202585088 "GET /en/laboratory/tests/ HTTP/1.1" 200 32025 WARNING 2025-08-06 14:22:32,725 log 26249 6202585088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:22:32,725 basehttp 26249 6202585088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:22:34,497 basehttp 26249 6202585088 "GET / HTTP/1.1" 302 0 INFO 2025-08-06 14:22:34,511 basehttp 26249 6202585088 "GET /en/ HTTP/1.1" 200 50300 WARNING 2025-08-06 14:22:34,523 log 26249 6202585088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:22:34,523 basehttp 26249 6202585088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:22:34,591 basehttp 26249 6202585088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7219 INFO 2025-08-06 14:22:34,594 basehttp 26249 6253064192 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 14:22:34,594 basehttp 26249 6236237824 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 14:22:34,597 basehttp 26249 6219411456 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 14:22:54,870 basehttp 26249 6219411456 "GET /static/webfonts/fa-brands-400.woff2 HTTP/1.1" 200 118684 INFO 2025-08-06 14:23:04,582 basehttp 26249 6219411456 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 14:23:34,591 basehttp 26249 6219411456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7219 INFO 2025-08-06 14:23:34,594 basehttp 26249 6236237824 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 14:23:34,597 basehttp 26249 6253064192 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 14:24:04,600 basehttp 26249 6253064192 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 14:24:34,595 basehttp 26249 6253064192 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7219 INFO 2025-08-06 14:24:34,597 basehttp 26249 6236237824 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 14:24:34,599 basehttp 26249 6219411456 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 14:25:04,600 basehttp 26249 6219411456 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 14:25:34,580 basehttp 26249 6219411456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7219 INFO 2025-08-06 14:25:34,581 basehttp 26249 6236237824 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 14:25:34,595 basehttp 26249 6236237824 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 14:26:04,615 basehttp 26249 6236237824 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 14:26:08,227 basehttp 26249 6236237824 "GET /en/notifications HTTP/1.1" 301 0 ERROR 2025-08-06 14:26:08,272 log 26249 6219411456 Internal Server Error: /en/notifications/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bulk_notification_action' not found. 'bulk_notification_action' is not a valid view function or pattern name. ERROR 2025-08-06 14:26:08,275 basehttp 26249 6219411456 "GET /en/notifications/ HTTP/1.1" 500 170856 WARNING 2025-08-06 14:26:08,288 log 26249 6219411456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:26:08,288 basehttp 26249 6219411456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 14:28:55,273 log 26249 6219411456 Internal Server Error: /en/notifications/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'system_notification_detail' with arguments '(35,)' not found. 1 pattern(s) tried: ['en/notifications/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-06 14:28:55,277 basehttp 26249 6219411456 "GET /en/notifications/ HTTP/1.1" 500 191683 WARNING 2025-08-06 14:28:55,287 log 26249 6219411456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:28:55,287 basehttp 26249 6219411456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 14:30:01,590 log 26249 6219411456 Internal Server Error: /en/notifications/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'system_notification_detail' with arguments '(35,)' not found. 1 pattern(s) tried: ['en/notifications/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-06 14:30:01,594 basehttp 26249 6219411456 "GET /en/notifications/ HTTP/1.1" 500 191683 WARNING 2025-08-06 14:30:01,608 log 26249 6219411456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:30:01,608 basehttp 26249 6219411456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:31:14,547 autoreload 26249 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/urls.py changed, reloading. INFO 2025-08-06 14:31:14,858 autoreload 30074 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 14:31:15,848 log 30074 6195064832 Internal Server Error: /en/notifications/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'system_notification_update' with arguments '(35,)' not found. 1 pattern(s) tried: ['en/notifications/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/edit/\\Z'] ERROR 2025-08-06 14:31:15,851 basehttp 30074 6195064832 "GET /en/notifications/ HTTP/1.1" 500 194287 WARNING 2025-08-06 14:31:15,866 log 30074 6195064832 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:31:15,866 basehttp 30074 6195064832 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:31:30,512 autoreload 30074 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/urls.py changed, reloading. INFO 2025-08-06 14:31:30,784 autoreload 30231 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 14:31:31,644 log 30231 6131216384 Internal Server Error: /en/notifications/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'deactivate_notification' not found. 'deactivate_notification' is not a valid view function or pattern name. ERROR 2025-08-06 14:31:31,647 basehttp 30231 6131216384 "GET /en/notifications/ HTTP/1.1" 500 207773 WARNING 2025-08-06 14:31:31,664 log 30231 6131216384 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:31:31,664 basehttp 30231 6131216384 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:33:00,559 autoreload 30231 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/urls.py changed, reloading. INFO 2025-08-06 14:33:00,863 autoreload 30856 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 14:33:01,640 log 30856 6129971200 Internal Server Error: /en/notifications/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'duplicate_notification' not found. 'duplicate_notification' is not a valid view function or pattern name. ERROR 2025-08-06 14:33:01,642 basehttp 30856 6129971200 "GET /en/notifications/ HTTP/1.1" 500 190800 WARNING 2025-08-06 14:33:01,660 log 30856 6129971200 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:33:01,661 basehttp 30856 6129971200 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 14:33:22,161 log 30856 6129971200 Internal Server Error: /en/notifications/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'export_notifications' not found. 'export_notifications' is not a valid view function or pattern name. ERROR 2025-08-06 14:33:22,163 basehttp 30856 6129971200 "GET /en/notifications/ HTTP/1.1" 500 166325 WARNING 2025-08-06 14:33:22,173 log 30856 6129971200 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:33:22,173 basehttp 30856 6129971200 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:34:18,545 basehttp 30856 6129971200 "GET /en/notifications/ HTTP/1.1" 200 68827 WARNING 2025-08-06 14:34:18,559 log 30856 6129971200 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:34:18,559 basehttp 30856 6129971200 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:34:28,847 basehttp 30856 6129971200 "GET /en/notifications/create/ HTTP/1.1" 200 54623 WARNING 2025-08-06 14:34:28,863 log 30856 6129971200 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:34:28,863 basehttp 30856 6129971200 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:34:57,833 basehttp 30856 6129971200 "GET /en/notifications/create/ HTTP/1.1" 200 54623 INFO 2025-08-06 14:34:57,856 basehttp 30856 6163623936 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-06 14:34:57,857 basehttp 30856 13740666880 "GET /static/img/user/user-1.jpg HTTP/1.1" 200 3528 INFO 2025-08-06 14:34:57,859 basehttp 30856 13723840512 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-06 14:34:57,859 basehttp 30856 13740666880 "GET /static/img/user/user-2.jpg HTTP/1.1" 200 8406 INFO 2025-08-06 14:34:57,862 basehttp 30856 13723840512 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 WARNING 2025-08-06 14:34:57,864 log 30856 6163623936 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:34:57,865 basehttp 30856 6163623936 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:34:57,866 basehttp 30856 6163623936 - Broken pipe from ('127.0.0.1', 56632) INFO 2025-08-06 14:34:57,866 basehttp 30856 6129971200 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-06 14:34:57,872 basehttp 30856 13707014144 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-06 14:34:57,873 basehttp 30856 13723840512 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-06 14:34:57,873 basehttp 30856 6146797568 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-06 14:34:57,879 basehttp 30856 13740666880 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-06 14:34:58,182 basehttp 30856 13740666880 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-06 14:34:58,183 basehttp 30856 6146797568 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-06 14:34:58,183 basehttp 30856 13707014144 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-06 14:34:58,184 basehttp 30856 6129971200 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-06 14:34:58,187 basehttp 30856 13723840512 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-06 14:34:58,187 basehttp 30856 6163623936 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-06 14:34:58,190 basehttp 30856 6129971200 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-06 14:34:58,191 basehttp 30856 13707014144 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-06 14:34:58,192 basehttp 30856 6146797568 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-06 14:34:58,192 basehttp 30856 13723840512 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-06 14:34:58,193 basehttp 30856 6163623936 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-06 14:34:58,196 basehttp 30856 6129971200 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-06 14:34:58,196 basehttp 30856 13707014144 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-06 14:34:58,196 basehttp 30856 6146797568 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-06 14:34:58,197 basehttp 30856 13740666880 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-06 14:34:58,197 basehttp 30856 13723840512 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-06 14:34:58,199 basehttp 30856 6163623936 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-06 14:34:58,199 basehttp 30856 6129971200 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-06 14:34:58,201 basehttp 30856 13707014144 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-06 14:34:58,202 basehttp 30856 13740666880 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-06 14:34:58,202 basehttp 30856 13723840512 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-06 14:34:58,203 basehttp 30856 6163623936 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-06 14:34:58,203 basehttp 30856 6129971200 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-06 14:34:58,217 basehttp 30856 6146797568 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 WARNING 2025-08-06 14:34:58,308 log 30856 6146797568 Not Found: /favicon.ico WARNING 2025-08-06 14:34:58,308 basehttp 30856 6146797568 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-06 14:36:20,863 basehttp 30856 6146797568 "GET /en/notifications/create/ HTTP/1.1" 200 54623 WARNING 2025-08-06 14:36:20,879 log 30856 6146797568 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:36:20,880 basehttp 30856 6146797568 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:40:44,593 basehttp 30856 6129971200 "GET /en/notifications/create/ HTTP/1.1" 200 55073 WARNING 2025-08-06 14:40:44,616 log 30856 6129971200 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:40:44,616 basehttp 30856 6129971200 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:42:18,085 basehttp 30856 6129971200 "GET /en/notifications/create/ HTTP/1.1" 200 54547 WARNING 2025-08-06 14:42:18,109 log 30856 6129971200 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:42:18,109 basehttp 30856 6129971200 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:43:22,372 basehttp 30856 6129971200 "GET /en/notifications/create/ HTTP/1.1" 200 54496 WARNING 2025-08-06 14:43:22,415 log 30856 6129971200 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:43:22,415 basehttp 30856 6129971200 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:46:30,991 autoreload 30856 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/models.py changed, reloading. INFO 2025-08-06 14:46:31,312 autoreload 36727 8601149632 Watching for file changes with StatReloader INFO 2025-08-06 14:46:32,101 basehttp 36727 6198521856 "GET /en/notifications/create/ HTTP/1.1" 200 54496 WARNING 2025-08-06 14:46:32,127 log 36727 6198521856 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:46:32,127 basehttp 36727 6198521856 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:47:07,478 basehttp 36727 6198521856 "GET /en/notifications/create/ HTTP/1.1" 200 54172 WARNING 2025-08-06 14:47:07,501 log 36727 6198521856 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:47:07,501 basehttp 36727 6198521856 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:47:47,212 basehttp 36727 6198521856 "GET /en/notifications/create/ HTTP/1.1" 200 54095 WARNING 2025-08-06 14:47:47,236 log 36727 6198521856 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:47:47,236 basehttp 36727 6198521856 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:48:26,354 basehttp 36727 6198521856 "GET /en/notifications/create/ HTTP/1.1" 200 53707 WARNING 2025-08-06 14:48:26,385 log 36727 6198521856 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:48:26,385 basehttp 36727 6198521856 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:49:30,080 basehttp 36727 6198521856 "GET /en/notifications/create/ HTTP/1.1" 200 53753 WARNING 2025-08-06 14:49:30,108 log 36727 6198521856 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:49:30,108 basehttp 36727 6198521856 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:50:18,661 basehttp 36727 6198521856 "GET /en/notifications/create/ HTTP/1.1" 200 53832 WARNING 2025-08-06 14:50:18,682 log 36727 6198521856 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:50:18,682 basehttp 36727 6198521856 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:51:00,962 basehttp 36727 6198521856 "GET /en/notifications/create/ HTTP/1.1" 200 53828 WARNING 2025-08-06 14:51:00,991 log 36727 6198521856 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:51:00,991 basehttp 36727 6198521856 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:51:20,836 basehttp 36727 6198521856 "GET /en/notifications/create/ HTTP/1.1" 200 53818 WARNING 2025-08-06 14:51:20,858 log 36727 6198521856 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:51:20,858 basehttp 36727 6198521856 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:52:39,467 basehttp 36727 6198521856 "GET /en/notifications/create/ HTTP/1.1" 200 53761 WARNING 2025-08-06 14:52:39,485 log 36727 6198521856 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:52:39,485 basehttp 36727 6198521856 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:53:16,814 basehttp 36727 6198521856 "GET /en/notifications/ HTTP/1.1" 200 68827 WARNING 2025-08-06 14:53:16,840 log 36727 6198521856 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:53:16,840 basehttp 36727 6198521856 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 14:53:30,415 log 36727 6198521856 Internal Server Error: /en/notifications/33/deactivate Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/core/views.py", line 1138, in deactivate_notification return redirect('core:notification_detail', pk=pk) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/shortcuts.py", line 51, in redirect resolve_url(to, *args, **kwargs), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/shortcuts.py", line 184, in resolve_url return reverse(to, args=args, kwargs=kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'notification_detail' not found. 'notification_detail' is not a valid view function or pattern name. ERROR 2025-08-06 14:53:30,418 basehttp 36727 6198521856 "GET /en/notifications/33/deactivate HTTP/1.1" 500 92274 WARNING 2025-08-06 14:53:30,444 log 36727 6198521856 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:53:30,444 basehttp 36727 6198521856 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:54:36,234 autoreload 36727 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/views.py changed, reloading. INFO 2025-08-06 14:54:36,589 autoreload 40234 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 14:54:37,886 log 40234 6204485632 Internal Server Error: /en/notifications/33/deactivate Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/core/views.py", line 1138, in deactivate_notification return redirect('core:system_configuration_detail', pk=pk) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/shortcuts.py", line 51, in redirect resolve_url(to, *args, **kwargs), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/shortcuts.py", line 184, in resolve_url return reverse(to, args=args, kwargs=kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'system_configuration_detail' with keyword arguments '{'pk': 33}' not found. 1 pattern(s) tried: ['en/system\\-configuration/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-06 14:54:37,888 basehttp 40234 6204485632 "GET /en/notifications/33/deactivate HTTP/1.1" 500 96547 WARNING 2025-08-06 14:54:39,810 log 40234 6204485632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:54:39,810 basehttp 40234 6204485632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:55:28,220 autoreload 40234 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/views.py changed, reloading. INFO 2025-08-06 14:55:28,552 autoreload 40622 8601149632 Watching for file changes with StatReloader INFO 2025-08-06 14:55:29,280 basehttp 40622 6195654656 "GET /en/notifications/33/deactivate HTTP/1.1" 302 0 ERROR 2025-08-06 14:55:29,307 log 40622 6195654656 Internal Server Error: /en/notifications/33/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'duplicate_notification' not found. 'duplicate_notification' is not a valid view function or pattern name. ERROR 2025-08-06 14:55:29,311 basehttp 40622 6195654656 "GET /en/notifications/33/ HTTP/1.1" 500 165975 WARNING 2025-08-06 14:55:29,328 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:55:29,329 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:56:06,036 basehttp 40622 6195654656 "GET /en/notifications/33/ HTTP/1.1" 200 36544 WARNING 2025-08-06 14:56:06,047 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:56:06,047 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:56:35,018 basehttp 40622 6195654656 "GET /en/notifications/33/ HTTP/1.1" 200 36544 WARNING 2025-08-06 14:56:35,042 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:56:35,042 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:56:41,370 basehttp 40622 6195654656 "GET /en/notifications/ HTTP/1.1" 200 68911 WARNING 2025-08-06 14:56:41,389 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:56:41,389 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:56:52,447 basehttp 40622 6195654656 "GET /en/notifications/31/edit/ HTTP/1.1" 200 54176 WARNING 2025-08-06 14:56:52,466 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:56:52,466 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 14:56:59,015 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:56:59,015 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 14:56:59,027 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:56:59,027 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:57:03,214 basehttp 40622 6195654656 "GET /en/notifications/34/deactivate HTTP/1.1" 302 0 INFO 2025-08-06 14:57:03,228 basehttp 40622 6195654656 "GET /en/notifications/34/ HTTP/1.1" 200 36940 WARNING 2025-08-06 14:57:03,242 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:57:03,242 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 14:57:08,194 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:57:08,194 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 14:57:08,214 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:57:08,215 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:57:10,830 basehttp 40622 6195654656 "GET /en/notifications/35/deactivate HTTP/1.1" 302 0 INFO 2025-08-06 14:57:10,845 basehttp 40622 6195654656 "GET /en/notifications/35/ HTTP/1.1" 200 36979 WARNING 2025-08-06 14:57:10,861 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:57:10,861 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 14:57:12,288 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:57:12,288 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 14:57:12,304 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:57:12,305 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:57:13,524 basehttp 40622 6195654656 "GET /en/notifications/33/activate HTTP/1.1" 302 0 INFO 2025-08-06 14:57:13,538 basehttp 40622 6195654656 "GET /en/notifications/33/ HTTP/1.1" 200 36943 WARNING 2025-08-06 14:57:13,555 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:57:13,556 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 14:57:15,743 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:57:15,743 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 14:57:15,758 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:57:15,759 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:57:17,232 basehttp 40622 6195654656 "GET /en/notifications/32/deactivate HTTP/1.1" 302 0 INFO 2025-08-06 14:57:17,248 basehttp 40622 6195654656 "GET /en/notifications/32/ HTTP/1.1" 200 36996 WARNING 2025-08-06 14:57:17,268 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:57:17,269 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 14:57:18,894 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:57:18,894 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 14:57:18,908 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:57:18,908 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:57:20,418 basehttp 40622 6195654656 "GET /en/notifications/31/deactivate HTTP/1.1" 302 0 INFO 2025-08-06 14:57:20,434 basehttp 40622 6195654656 "GET /en/notifications/31/ HTTP/1.1" 200 37012 WARNING 2025-08-06 14:57:20,454 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:57:20,454 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:57:22,170 basehttp 40622 6195654656 "GET / HTTP/1.1" 302 0 INFO 2025-08-06 14:57:22,199 basehttp 40622 6195654656 "GET /en/ HTTP/1.1" 200 49913 WARNING 2025-08-06 14:57:22,220 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:57:22,220 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:57:22,285 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 14:57:22,286 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 1370 INFO 2025-08-06 14:57:22,289 basehttp 40622 6246133760 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 14:57:22,289 basehttp 40622 6229307392 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 14:57:52,275 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 14:58:22,293 basehttp 40622 6229307392 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 1370 INFO 2025-08-06 14:58:22,293 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 14:58:22,295 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 14:58:52,287 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 14:59:22,295 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 1370 INFO 2025-08-06 14:59:22,296 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 14:59:22,297 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 14:59:33,488 basehttp 40622 6229307392 "GET /en/htmx/dismiss-notification/69e3d59c-e6f2-40de-851e-cf1c4b7b0855/ HTTP/1.1" 200 23 WARNING 2025-08-06 14:59:33,509 log 40622 6229307392 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:59:33,510 basehttp 40622 6229307392 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 14:59:39,773 log 40622 6229307392 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:59:39,774 basehttp 40622 6229307392 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 14:59:39,789 log 40622 6229307392 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:59:39,789 basehttp 40622 6229307392 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:59:40,432 basehttp 40622 6229307392 "GET /en/ HTTP/1.1" 200 49855 WARNING 2025-08-06 14:59:40,450 log 40622 6229307392 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:59:40,450 basehttp 40622 6229307392 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:59:40,541 basehttp 40622 6212481024 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 14:59:40,542 basehttp 40622 6229307392 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 1370 INFO 2025-08-06 14:59:40,543 basehttp 40622 6195654656 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 14:59:40,544 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 14:59:41,638 basehttp 40622 6246133760 "GET /en/ HTTP/1.1" 200 49855 WARNING 2025-08-06 14:59:41,661 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 14:59:41,661 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 14:59:41,737 basehttp 40622 6246133760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 1370 INFO 2025-08-06 14:59:41,739 basehttp 40622 6229307392 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 14:59:41,740 basehttp 40622 6212481024 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 14:59:41,742 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:00:11,705 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:00:41,737 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 1370 INFO 2025-08-06 15:00:41,739 basehttp 40622 6212481024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:00:41,740 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:01:11,724 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:01:41,793 basehttp 40622 6229307392 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 1370 INFO 2025-08-06 15:01:41,795 basehttp 40622 6212481024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:01:41,796 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:02:07,258 basehttp 40622 6195654656 "GET /en/ HTTP/1.1" 200 49850 WARNING 2025-08-06 15:02:07,279 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:02:07,279 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:02:07,366 basehttp 40622 6229307392 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:02:07,367 basehttp 40622 6246133760 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:02:07,373 basehttp 40622 6195654656 "GET /en/system-configuration/ HTTP/1.1" 200 64693 INFO 2025-08-06 15:02:07,374 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:02:37,335 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:03:07,361 basehttp 40622 6195654656 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:03:07,362 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:03:07,364 basehttp 40622 6212481024 "GET /en/system-configuration/ HTTP/1.1" 200 64693 INFO 2025-08-06 15:03:37,344 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:04:07,367 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:04:07,369 basehttp 40622 6212481024 "GET /en/system-configuration/ HTTP/1.1" 200 64693 INFO 2025-08-06 15:04:07,369 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:04:32,613 basehttp 40622 6195654656 "GET /static/webfonts/fa-brands-400.woff2 HTTP/1.1" 200 118684 INFO 2025-08-06 15:04:36,220 basehttp 40622 6195654656 "GET /en/ HTTP/1.1" 200 47387 WARNING 2025-08-06 15:04:36,244 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:04:36,244 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:04:36,311 basehttp 40622 6212481024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:04:36,316 basehttp 40622 6246133760 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:04:36,318 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:05:06,312 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:05:36,293 basehttp 40622 6195654656 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:05:36,296 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:06:06,297 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:06:36,319 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:06:36,321 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:06:44,582 basehttp 40622 6195654656 "GET /en/ HTTP/1.1" 200 46933 WARNING 2025-08-06 15:06:44,594 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:06:44,594 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:06:44,665 basehttp 40622 6212481024 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:06:44,684 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:06:44,692 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:07:14,645 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:07:26,249 basehttp 40622 6246133760 "GET /en/ HTTP/1.1" 200 46889 WARNING 2025-08-06 15:07:26,262 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:07:26,263 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:07:26,331 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-06 15:07:26,334 basehttp 40622 6195654656 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:07:26,336 basehttp 40622 6212481024 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:07:42,840 basehttp 40622 6212481024 "GET /en/notifications/ HTTP/1.1" 200 67505 WARNING 2025-08-06 15:07:42,863 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:07:42,863 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:07:42,883 basehttp 40622 6212481024 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 1370 INFO 2025-08-06 15:07:46,128 basehttp 40622 6212481024 "GET /en/notifications/35/activate HTTP/1.1" 302 0 INFO 2025-08-06 15:07:46,144 basehttp 40622 6212481024 "GET /en/notifications/35/ HTTP/1.1" 200 34395 WARNING 2025-08-06 15:07:46,162 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:07:46,163 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:07:48,893 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:07:48,894 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:07:48,914 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:07:48,914 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:07:50,449 basehttp 40622 6212481024 "GET /en/notifications/34/activate HTTP/1.1" 302 0 INFO 2025-08-06 15:07:50,465 basehttp 40622 6212481024 "GET /en/notifications/34/ HTTP/1.1" 200 34356 WARNING 2025-08-06 15:07:50,483 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:07:50,483 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:07:51,628 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:07:51,628 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:07:51,637 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:07:51,637 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:07:55,641 basehttp 40622 6212481024 "GET /en/notifications/32/activate HTTP/1.1" 302 0 INFO 2025-08-06 15:07:55,656 basehttp 40622 6212481024 "GET /en/notifications/32/ HTTP/1.1" 200 34412 WARNING 2025-08-06 15:07:55,676 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:07:55,676 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:07:57,173 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:07:57,174 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:07:57,190 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:07:57,190 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:08:00,276 basehttp 40622 6212481024 "GET /en/notifications/31/activate HTTP/1.1" 302 0 INFO 2025-08-06 15:08:00,291 basehttp 40622 6212481024 "GET /en/notifications/31/ HTTP/1.1" 200 34428 WARNING 2025-08-06 15:08:00,309 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:08:00,309 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:08:01,823 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:08:01,823 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:08:01,840 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:08:01,840 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:08:02,587 basehttp 40622 6212481024 "GET / HTTP/1.1" 302 0 INFO 2025-08-06 15:08:02,605 basehttp 40622 6195654656 "GET /en/ HTTP/1.1" 200 46802 WARNING 2025-08-06 15:08:02,627 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:08:02,627 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:08:02,704 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:08:02,705 basehttp 40622 6212481024 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:08:02,706 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:08:32,705 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:09:02,691 basehttp 40622 6195654656 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:09:02,693 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:09:32,698 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:09:44,974 basehttp 40622 6212481024 "GET /en/ HTTP/1.1" 200 47678 WARNING 2025-08-06 15:09:44,987 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:09:44,987 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:09:45,051 basehttp 40622 6212481024 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:09:45,060 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:09:45,061 basehttp 40622 6229307392 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:09:45,064 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:10:05,321 basehttp 40622 6195654656 "GET /en/htmx/dismiss-notification/179a5949-1eb9-4f15-8011-21a226384e84/ HTTP/1.1" 200 23 WARNING 2025-08-06 15:10:05,349 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:10:05,349 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:10:07,005 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:10:07,005 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:10:07,021 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:10:07,021 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:10:15,032 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:10:45,056 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:10:45,060 basehttp 40622 6212481024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:10:45,061 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:11:15,033 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:11:45,062 basehttp 40622 6212481024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:11:45,063 basehttp 40622 6229307392 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:11:45,064 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:12:15,051 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:12:45,063 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:12:45,064 basehttp 40622 6229307392 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:12:45,067 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:13:15,038 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:13:45,064 basehttp 40622 6212481024 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:13:45,065 basehttp 40622 6229307392 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:13:45,066 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:14:01,249 basehttp 40622 6195654656 "GET /en/ HTTP/1.1" 200 47679 WARNING 2025-08-06 15:14:01,269 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:14:01,269 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:14:01,377 basehttp 40622 6229307392 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:14:01,377 basehttp 40622 6246133760 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:14:01,382 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:14:01,387 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:14:20,439 basehttp 40622 6195654656 "GET /en/ HTTP/1.1" 200 47788 WARNING 2025-08-06 15:14:20,456 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:14:20,457 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:14:20,537 basehttp 40622 6229307392 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:14:20,539 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:14:20,543 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:14:20,547 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:14:50,513 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:15:20,534 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:15:20,536 basehttp 40622 6212481024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:15:20,537 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:15:50,520 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:16:20,532 basehttp 40622 6246133760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:16:20,532 basehttp 40622 6212481024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:16:20,535 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:16:50,523 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:17:20,529 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:17:20,535 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:17:20,538 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:17:50,524 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:18:20,543 basehttp 40622 6212481024 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:18:20,543 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:18:20,546 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:18:50,528 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:19:20,543 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:19:20,545 basehttp 40622 6212481024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:19:20,547 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:19:50,533 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:20:20,542 basehttp 40622 6195654656 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:20:20,544 basehttp 40622 6246133760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:20:20,546 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:20:50,539 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:21:20,548 basehttp 40622 6212481024 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:21:20,548 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:21:20,551 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:21:50,531 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:22:20,536 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:22:20,537 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:22:20,540 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:22:50,534 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:23:20,538 basehttp 40622 6212481024 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6712 INFO 2025-08-06 15:23:20,538 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:23:20,541 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:23:26,413 basehttp 40622 6195654656 "GET /en/ HTTP/1.1" 200 47471 WARNING 2025-08-06 15:23:26,425 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:23:26,425 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:23:26,512 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7095 INFO 2025-08-06 15:23:26,512 basehttp 40622 6212481024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:23:26,515 basehttp 40622 6229307392 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:23:26,516 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:23:56,491 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:24:26,515 basehttp 40622 6246133760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7095 INFO 2025-08-06 15:24:26,517 basehttp 40622 6229307392 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:24:26,518 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:24:56,495 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:25:24,956 basehttp 40622 6212481024 "GET /en/ HTTP/1.1" 200 47329 WARNING 2025-08-06 15:25:24,971 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:25:24,971 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:25:25,041 basehttp 40622 6212481024 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7234 INFO 2025-08-06 15:25:25,058 basehttp 40622 6195654656 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:25:25,059 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:25:25,061 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:25:55,041 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:26:25,055 basehttp 40622 6229307392 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7234 INFO 2025-08-06 15:26:25,056 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:26:25,057 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:26:54,961 basehttp 40622 6195654656 "GET /en/ HTTP/1.1" 200 47283 WARNING 2025-08-06 15:26:54,976 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:26:54,976 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:26:55,058 basehttp 40622 6212481024 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:26:55,060 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7284 INFO 2025-08-06 15:26:55,062 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:26:55,062 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:27:25,047 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:27:55,034 basehttp 40622 6246133760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7284 INFO 2025-08-06 15:27:55,037 basehttp 40622 6229307392 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:27:55,038 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:28:25,032 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:28:35,317 basehttp 40622 6195654656 "GET /en/ HTTP/1.1" 200 47283 WARNING 2025-08-06 15:28:35,338 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:28:35,338 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:28:35,424 basehttp 40622 6212481024 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:28:35,425 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 7202 INFO 2025-08-06 15:28:35,426 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:28:35,427 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:28:57,480 basehttp 40622 6229307392 "GET /en/ HTTP/1.1" 200 47283 WARNING 2025-08-06 15:28:57,500 log 40622 6229307392 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:28:57,500 basehttp 40622 6229307392 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:28:57,581 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:28:57,589 basehttp 40622 6195654656 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:28:57,593 basehttp 40622 6212481024 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:28:57,595 basehttp 40622 6229307392 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 6583 INFO 2025-08-06 15:29:27,562 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:29:40,217 basehttp 40622 6229307392 "GET /en/ HTTP/1.1" 200 47283 WARNING 2025-08-06 15:29:40,237 log 40622 6229307392 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:29:40,237 basehttp 40622 6229307392 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:29:40,304 basehttp 40622 6246133760 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:29:40,312 basehttp 40622 6195654656 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:29:40,314 basehttp 40622 6229307392 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 5178 INFO 2025-08-06 15:29:40,316 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:30:10,304 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:30:29,253 basehttp 40622 6212481024 "GET /en/ HTTP/1.1" 200 47283 WARNING 2025-08-06 15:30:29,273 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:30:29,273 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:30:29,355 basehttp 40622 6195654656 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:30:29,360 basehttp 40622 6246133760 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:30:29,360 basehttp 40622 6212481024 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 5208 INFO 2025-08-06 15:30:29,363 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:30:59,323 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:31:14,219 basehttp 40622 6229307392 "GET /en/ HTTP/1.1" 200 47283 WARNING 2025-08-06 15:31:14,236 log 40622 6229307392 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:31:14,237 basehttp 40622 6229307392 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:31:14,315 basehttp 40622 6195654656 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:31:14,323 basehttp 40622 6229307392 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4548 INFO 2025-08-06 15:31:14,324 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:31:14,325 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:31:44,430 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:32:14,427 basehttp 40622 6212481024 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4548 INFO 2025-08-06 15:32:14,428 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:32:14,429 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:32:22,994 basehttp 40622 6212481024 "GET /en/ HTTP/1.1" 200 47283 WARNING 2025-08-06 15:32:23,014 log 40622 6212481024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:32:23,014 basehttp 40622 6212481024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:32:23,103 basehttp 40622 6212481024 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4514 INFO 2025-08-06 15:32:23,104 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:32:23,105 basehttp 40622 6195654656 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:32:23,106 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:32:25,460 basehttp 40622 6246133760 "GET /en/notifications/ HTTP/1.1" 200 66760 WARNING 2025-08-06 15:32:25,476 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:32:25,477 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:32:25,515 basehttp 40622 6246133760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4514 WARNING 2025-08-06 15:32:30,906 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:32:30,907 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:32:30,921 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:32:30,921 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:32:53,081 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:33:23,101 basehttp 40622 6246133760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4514 INFO 2025-08-06 15:33:23,102 basehttp 40622 6229307392 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:33:23,103 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:33:53,075 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:33:59,769 basehttp 40622 6195654656 "GET /en/ HTTP/1.1" 200 47326 WARNING 2025-08-06 15:33:59,787 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:33:59,787 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:33:59,828 basehttp 40622 6212481024 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:33:59,830 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4454 INFO 2025-08-06 15:33:59,835 basehttp 40622 6246133760 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:33:59,864 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:34:29,821 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:34:37,956 basehttp 40622 6229307392 "GET /en/ HTTP/1.1" 200 47326 WARNING 2025-08-06 15:34:37,977 log 40622 6229307392 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:34:37,977 basehttp 40622 6229307392 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:34:38,057 basehttp 40622 6212481024 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:34:38,071 basehttp 40622 6229307392 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4448 INFO 2025-08-06 15:34:38,072 basehttp 40622 6195654656 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:34:38,074 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:34:59,666 basehttp 40622 6246133760 "GET /en/ HTTP/1.1" 200 47341 WARNING 2025-08-06 15:34:59,682 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:34:59,682 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:34:59,759 basehttp 40622 6212481024 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:34:59,760 basehttp 40622 6246133760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 15:34:59,762 basehttp 40622 6229307392 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:34:59,765 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:35:27,096 basehttp 40622 6195654656 "GET /en/ HTTP/1.1" 200 47335 WARNING 2025-08-06 15:35:27,110 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:35:27,110 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:35:27,151 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 15:35:27,159 basehttp 40622 6246133760 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:35:27,160 basehttp 40622 6212481024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:35:27,162 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:35:57,165 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:36:27,171 basehttp 40622 6212481024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:36:27,173 basehttp 40622 6229307392 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 15:36:27,174 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:36:31,673 basehttp 40622 6246133760 "GET /en/ HTTP/1.1" 200 47475 WARNING 2025-08-06 15:36:31,692 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:36:31,693 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:36:31,757 basehttp 40622 6195654656 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:36:31,766 basehttp 40622 6212481024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:36:31,768 basehttp 40622 6246133760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4300 INFO 2025-08-06 15:36:31,770 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:37:01,751 basehttp 40622 6229307392 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:37:06,803 basehttp 40622 6229307392 "GET /en/ HTTP/1.1" 200 47327 WARNING 2025-08-06 15:37:06,822 log 40622 6229307392 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:37:06,823 basehttp 40622 6229307392 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:37:06,901 basehttp 40622 6212481024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:37:06,902 basehttp 40622 6229307392 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 15:37:06,903 basehttp 40622 6195654656 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:37:06,905 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:37:33,042 basehttp 40622 6246133760 "GET /en/patients/ HTTP/1.1" 200 67020 INFO 2025-08-06 15:37:33,092 basehttp 40622 6246133760 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-06 15:37:37,238 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:38:06,953 basehttp 40622 6246133760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 15:38:06,955 basehttp 40622 6195654656 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:38:07,237 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:38:37,246 basehttp 40622 6195654656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 15:38:43,544 basehttp 40622 6195654656 "GET /en/appointments/create/ HTTP/1.1" 200 33640 WARNING 2025-08-06 15:38:43,563 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:38:43,563 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:38:43,604 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 WARNING 2025-08-06 15:38:46,521 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:38:46,522 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:38:46,539 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:38:46,539 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:38:47,926 basehttp 40622 6195654656 "GET /en/ HTTP/1.1" 200 47327 WARNING 2025-08-06 15:38:47,948 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:38:47,949 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:38:48,028 basehttp 40622 6229307392 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:38:48,029 basehttp 40622 6212481024 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:38:48,031 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 15:38:48,032 basehttp 40622 6246133760 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 WARNING 2025-08-06 15:38:52,345 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:38:52,346 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:38:55,448 basehttp 40622 6246133760 "GET /en/notifications/?search= HTTP/1.1" 200 66804 WARNING 2025-08-06 15:38:55,467 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:38:55,467 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:38:55,509 basehttp 40622 6246133760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 15:38:59,344 basehttp 40622 6246133760 "GET /en/notifications/?search= HTTP/1.1" 200 66804 WARNING 2025-08-06 15:38:59,360 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:38:59,360 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:38:59,405 basehttp 40622 6246133760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 15:39:02,657 basehttp 40622 6246133760 "GET /en/notifications/?search= HTTP/1.1" 200 66804 WARNING 2025-08-06 15:39:02,677 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:39:02,677 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:39:02,728 basehttp 40622 6246133760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 15:39:05,416 basehttp 40622 6246133760 "GET /en/notifications/34/ HTTP/1.1" 200 34440 WARNING 2025-08-06 15:39:05,442 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:39:05,442 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:39:05,485 basehttp 40622 6246133760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 WARNING 2025-08-06 15:39:17,210 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:39:17,211 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:39:17,234 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:39:17,234 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:39:35,570 log 40622 6246133760 Not Found: /extra/profile WARNING 2025-08-06 15:39:35,571 basehttp 40622 6246133760 "GET /extra/profile HTTP/1.1" 404 2563 WARNING 2025-08-06 15:39:35,598 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:39:35,599 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:39:38,101 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:39:38,102 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 15:39:38,128 log 40622 6246133760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:39:38,128 basehttp 40622 6246133760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:39:58,358 basehttp 40622 6246133760 "GET / HTTP/1.1" 302 0 INFO 2025-08-06 15:39:58,372 basehttp 40622 6195654656 "GET /en/ HTTP/1.1" 200 47327 WARNING 2025-08-06 15:39:58,391 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:39:58,391 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:39:58,481 basehttp 40622 6229307392 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 15:39:58,482 basehttp 40622 6195654656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 15:39:58,482 basehttp 40622 6246133760 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 15:39:58,482 basehttp 40622 6212481024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 ERROR 2025-08-06 15:40:28,329 log 40622 6195654656 Internal Server Error: /en/departments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bulk_department_action' not found. 'bulk_department_action' is not a valid view function or pattern name. ERROR 2025-08-06 15:40:28,330 basehttp 40622 6195654656 "GET /en/departments/ HTTP/1.1" 500 184470 WARNING 2025-08-06 15:40:28,349 log 40622 6195654656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:40:28,349 basehttp 40622 6195654656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:43:29,748 autoreload 40622 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/urls.py changed, reloading. INFO 2025-08-06 15:43:30,104 autoreload 61481 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 15:43:30,899 log 61481 6201913344 Internal Server Error: /en/departments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bulk_department_action' not found. 'bulk_department_action' is not a valid view function or pattern name. ERROR 2025-08-06 15:43:30,901 basehttp 61481 6201913344 "GET /en/departments/ HTTP/1.1" 500 184607 WARNING 2025-08-06 15:43:30,918 log 61481 6201913344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:43:30,918 basehttp 61481 6201913344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 15:43:32,033 log 61481 6201913344 Internal Server Error: /en/departments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bulk_department_action' not found. 'bulk_department_action' is not a valid view function or pattern name. ERROR 2025-08-06 15:43:32,036 basehttp 61481 6201913344 "GET /en/departments/ HTTP/1.1" 500 184607 WARNING 2025-08-06 15:43:32,053 log 61481 6201913344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:43:32,053 basehttp 61481 6201913344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 15:43:56,970 log 61481 6201913344 Internal Server Error: /en/departments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bulk_department_activate' not found. 'bulk_department_activate' is not a valid view function or pattern name. ERROR 2025-08-06 15:43:56,971 basehttp 61481 6201913344 "GET /en/departments/ HTTP/1.1" 500 184659 WARNING 2025-08-06 15:43:56,986 log 61481 6201913344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:43:56,986 basehttp 61481 6201913344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 15:43:58,522 log 61481 6201913344 Internal Server Error: /en/departments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bulk_department_activate' not found. 'bulk_department_activate' is not a valid view function or pattern name. ERROR 2025-08-06 15:43:58,523 basehttp 61481 6201913344 "GET /en/departments/ HTTP/1.1" 500 184659 WARNING 2025-08-06 15:43:58,538 log 61481 6201913344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:43:58,538 basehttp 61481 6201913344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 15:44:13,907 log 61481 6201913344 Internal Server Error: /en/departments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'department_detail' with arguments '(74,)' not found. 1 pattern(s) tried: ['en/departments/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-06 15:44:13,908 basehttp 61481 6201913344 "GET /en/departments/ HTTP/1.1" 500 206138 WARNING 2025-08-06 15:44:13,924 log 61481 6201913344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:44:13,924 basehttp 61481 6201913344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:44:39,742 autoreload 61481 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/urls.py changed, reloading. INFO 2025-08-06 15:44:40,103 autoreload 62023 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 15:44:40,825 log 62023 6189543424 Internal Server Error: /en/departments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'import_departments' not found. 'import_departments' is not a valid view function or pattern name. ERROR 2025-08-06 15:44:40,827 basehttp 62023 6189543424 "GET /en/departments/ HTTP/1.1" 500 185356 WARNING 2025-08-06 15:44:40,845 log 62023 6189543424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:44:40,846 basehttp 62023 6189543424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 15:45:41,831 log 62023 6189543424 Internal Server Error: /en/departments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'download_department_template' not found. 'download_department_template' is not a valid view function or pattern name. ERROR 2025-08-06 15:45:41,833 basehttp 62023 6189543424 "GET /en/departments/ HTTP/1.1" 500 184548 WARNING 2025-08-06 15:45:41,849 log 62023 6189543424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:45:41,849 basehttp 62023 6189543424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 15:45:55,932 log 62023 6189543424 Internal Server Error: /en/departments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'toggle_department_status' not found. 'toggle_department_status' is not a valid view function or pattern name. ERROR 2025-08-06 15:45:55,934 basehttp 62023 6189543424 "GET /en/departments/ HTTP/1.1" 500 180959 WARNING 2025-08-06 15:45:55,947 log 62023 6189543424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:45:55,947 basehttp 62023 6189543424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 15:45:56,917 log 62023 6189543424 Internal Server Error: /en/departments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'toggle_department_status' not found. 'toggle_department_status' is not a valid view function or pattern name. ERROR 2025-08-06 15:45:56,919 basehttp 62023 6189543424 "GET /en/departments/ HTTP/1.1" 500 180959 WARNING 2025-08-06 15:45:56,934 log 62023 6189543424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:45:56,935 basehttp 62023 6189543424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 15:48:35,503 log 62023 6189543424 Internal Server Error: /en/departments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'toggle_department_status' not found. 'toggle_department_status' is not a valid view function or pattern name. ERROR 2025-08-06 15:48:35,504 basehttp 62023 6189543424 "GET /en/departments/ HTTP/1.1" 500 180774 WARNING 2025-08-06 15:48:35,518 log 62023 6189543424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:48:35,518 basehttp 62023 6189543424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:49:08,807 basehttp 62023 6189543424 "GET /en/departments/ HTTP/1.1" 200 134360 WARNING 2025-08-06 15:49:08,818 log 62023 6189543424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:49:08,818 basehttp 62023 6189543424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:49:08,866 basehttp 62023 6189543424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 WARNING 2025-08-06 15:49:12,265 log 62023 6189543424 Not Found: /en/departments/74/activate/ WARNING 2025-08-06 15:49:12,266 basehttp 62023 6189543424 "POST /en/departments/74/activate/ HTTP/1.1" 404 8014 WARNING 2025-08-06 15:49:16,541 log 62023 6189543424 Not Found: /en/departments/74/activate/ WARNING 2025-08-06 15:49:16,541 basehttp 62023 6189543424 "POST /en/departments/74/activate/ HTTP/1.1" 404 8014 ERROR 2025-08-06 15:49:21,360 log 62023 6189543424 Internal Server Error: /en/departments/74/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/core/views.py", line 768, in get_context_data 'employee_count': department.get_employee_count(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Department' object has no attribute 'get_employee_count' ERROR 2025-08-06 15:49:21,366 basehttp 62023 6189543424 "GET /en/departments/74/ HTTP/1.1" 500 85615 WARNING 2025-08-06 15:49:21,386 log 62023 6189543424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:49:21,386 basehttp 62023 6189543424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:51:31,074 autoreload 62023 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/models.py changed, reloading. INFO 2025-08-06 15:51:31,368 autoreload 64989 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 15:51:32,421 log 64989 6123843584 Internal Server Error: /en/departments/74/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/core/views.py", line 768, in get_context_data 'employee_count': department.get_employee_count(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'int' object is not callable ERROR 2025-08-06 15:51:32,422 basehttp 64989 6123843584 "GET /en/departments/74/ HTTP/1.1" 500 85570 WARNING 2025-08-06 15:51:32,444 log 64989 6123843584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:51:32,444 basehttp 64989 6123843584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:52:43,910 autoreload 64989 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/models.py changed, reloading. INFO 2025-08-06 15:52:44,225 autoreload 65529 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 15:52:45,075 log 65529 6128906240 Internal Server Error: /en/departments/74/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/core/views.py", line 768, in get_context_data 'employee_count': department.get_employee_count(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'int' object is not callable ERROR 2025-08-06 15:52:45,077 basehttp 65529 6128906240 "GET /en/departments/74/ HTTP/1.1" 500 85570 WARNING 2025-08-06 15:52:45,099 log 65529 6128906240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:52:45,099 basehttp 65529 6128906240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 15:52:46,035 log 65529 6128906240 Internal Server Error: /en/departments/74/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/core/views.py", line 768, in get_context_data 'employee_count': department.get_employee_count(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'int' object is not callable ERROR 2025-08-06 15:52:46,036 basehttp 65529 6128906240 "GET /en/departments/74/ HTTP/1.1" 500 85570 WARNING 2025-08-06 15:52:46,049 log 65529 6128906240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:52:46,049 basehttp 65529 6128906240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 15:53:51,172 autoreload 65529 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/models.py changed, reloading. INFO 2025-08-06 15:53:51,538 autoreload 65991 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 15:53:52,584 log 65991 6198161408 Internal Server Error: /en/departments/74/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'assign_department_head' not found. 'assign_department_head' is not a valid view function or pattern name. ERROR 2025-08-06 15:53:52,587 basehttp 65991 6198161408 "GET /en/departments/74/ HTTP/1.1" 500 187358 WARNING 2025-08-06 15:53:52,598 log 65991 6198161408 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:53:52,598 basehttp 65991 6198161408 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 15:53:55,107 log 65991 6198161408 Internal Server Error: /en/departments/74/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'assign_department_head' not found. 'assign_department_head' is not a valid view function or pattern name. ERROR 2025-08-06 15:53:55,109 basehttp 65991 6198161408 "GET /en/departments/74/ HTTP/1.1" 500 187358 WARNING 2025-08-06 15:53:55,126 log 65991 6198161408 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 15:53:55,126 basehttp 65991 6198161408 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 16:12:33,585 autoreload 65991 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/views.py changed, reloading. INFO 2025-08-06 16:12:33,998 autoreload 74136 8601149632 Watching for file changes with StatReloader INFO 2025-08-06 16:15:37,931 autoreload 74136 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/urls.py changed, reloading. INFO 2025-08-06 16:15:38,185 autoreload 75513 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 16:15:41,589 log 75513 6157578240 Internal Server Error: /en/departments/74/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'assign_department_head' with arguments '(74,)' not found. 1 pattern(s) tried: ['en/departments/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/assign\\-head/\\Z'] ERROR 2025-08-06 16:15:41,592 basehttp 75513 6157578240 "GET /en/departments/74/ HTTP/1.1" 500 190969 WARNING 2025-08-06 16:15:41,609 log 75513 6157578240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 16:15:41,609 basehttp 75513 6157578240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 16:15:53,060 log 75513 6157578240 Internal Server Error: /en/departments/74/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'assign_department_head' with arguments '(74,)' not found. 1 pattern(s) tried: ['en/departments/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/assign\\-head/\\Z'] ERROR 2025-08-06 16:15:53,063 basehttp 75513 6157578240 "GET /en/departments/74/ HTTP/1.1" 500 190969 INFO 2025-08-06 16:15:53,065 autoreload 75513 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/urls.py changed, reloading. INFO 2025-08-06 16:15:53,344 autoreload 75593 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 16:15:54,196 log 75593 6170685440 Internal Server Error: /en/departments/74/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'toggle_department_status' not found. 'toggle_department_status' is not a valid view function or pattern name. ERROR 2025-08-06 16:15:54,198 basehttp 75593 6170685440 "GET /en/departments/74/ HTTP/1.1" 500 165739 WARNING 2025-08-06 16:15:54,214 log 75593 6170685440 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 16:15:54,214 basehttp 75593 6170685440 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 16:16:44,749 basehttp 75593 6170685440 "GET /en/departments/74/ HTTP/1.1" 200 38186 WARNING 2025-08-06 16:16:44,771 log 75593 6170685440 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 16:16:44,771 basehttp 75593 6170685440 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 16:16:45,136 basehttp 75593 6170685440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 16:17:45,139 basehttp 75593 6170685440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 16:18:45,145 basehttp 75593 6170685440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 16:19:00,420 autoreload 75593 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/urls.py changed, reloading. INFO 2025-08-06 16:19:00,693 autoreload 76968 8601149632 Watching for file changes with StatReloader INFO 2025-08-06 16:19:06,191 basehttp 76968 6190100480 "GET /en/departments/74/ HTTP/1.1" 200 38186 WARNING 2025-08-06 16:19:06,212 log 76968 6190100480 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 16:19:06,212 basehttp 76968 6190100480 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 16:19:06,271 basehttp 76968 6190100480 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 16:19:08,258 basehttp 76968 6190100480 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42184 INFO 2025-08-06 16:19:08,280 basehttp 76968 6223753216 "GET /static/plugins/datatables.net-responsive-bs5/css/responsive.bootstrap5.min.css HTTP/1.1" 200 6044 INFO 2025-08-06 16:19:08,281 basehttp 76968 6257405952 "GET /static/plugins/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css HTTP/1.1" 200 15733 INFO 2025-08-06 16:19:08,281 basehttp 76968 6206926848 "GET /static/plugins/datatables.net-bs5/css/dataTables.bootstrap5.min.css HTTP/1.1" 200 15096 WARNING 2025-08-06 16:19:08,284 log 76968 6190100480 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-06 16:19:08,285 basehttp 76968 6240579584 "GET /static/plugins/select2/dist/css/select2.min.css HTTP/1.1" 200 14966 WARNING 2025-08-06 16:19:08,286 basehttp 76968 6190100480 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 16:19:08,286 basehttp 76968 6223753216 "GET /static/plugins/datatables.net-responsive-bs5/js/responsive.bootstrap5.min.js HTTP/1.1" 200 1796 INFO 2025-08-06 16:19:08,287 basehttp 76968 6206926848 "GET /static/plugins/datatables.net-bs5/js/dataTables.bootstrap5.min.js HTTP/1.1" 200 1470 INFO 2025-08-06 16:19:08,287 basehttp 76968 6257405952 "GET /static/plugins/datatables.net-responsive/js/dataTables.responsive.min.js HTTP/1.1" 200 16086 INFO 2025-08-06 16:19:08,287 basehttp 76968 6274232320 "GET /static/plugins/datatables.net/js/dataTables.min.js HTTP/1.1" 200 95735 INFO 2025-08-06 16:19:08,291 basehttp 76968 6190100480 "GET /static/plugins/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js HTTP/1.1" 200 33871 INFO 2025-08-06 16:19:08,291 basehttp 76968 6240579584 "GET /static/plugins/select2/dist/js/select2.min.js HTTP/1.1" 200 70851 INFO 2025-08-06 16:19:08,338 basehttp 76968 6240579584 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 16:19:08,375 basehttp 76968 6240579584 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42184 ERROR 2025-08-06 16:19:08,414 log 76968 6190100480 Internal Server Error: /en/inventory/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 889, in inventory_stats 'low_stock_items': InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'quantity' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-06 16:19:08,416 basehttp 76968 6190100480 "GET /en/inventory/htmx/stats/ HTTP/1.1" 500 123947 WARNING 2025-08-06 16:19:14,872 log 76968 6190100480 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 16:19:14,872 basehttp 76968 6190100480 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 16:19:14,899 log 76968 6190100480 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 16:19:14,900 basehttp 76968 6190100480 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 16:20:06,294 basehttp 76968 6190100480 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 16:21:06,280 basehttp 76968 6190100480 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 18:02:57,774 autoreload 22862 8601149632 Watching for file changes with StatReloader INFO 2025-08-06 18:03:01,386 basehttp 22862 6189772800 "GET /en/departments/74/ HTTP/1.1" 200 38186 WARNING 2025-08-06 18:03:01,406 log 22862 6189772800 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:03:01,407 basehttp 22862 6189772800 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:03:01,449 basehttp 22862 6189772800 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 18:03:02,755 basehttp 22862 6189772800 "GET / HTTP/1.1" 302 0 INFO 2025-08-06 18:03:02,772 basehttp 22862 6189772800 "GET /en/ HTTP/1.1" 200 47422 WARNING 2025-08-06 18:03:02,785 log 22862 6189772800 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:03:02,785 basehttp 22862 6189772800 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:03:02,838 basehttp 22862 6189772800 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 18:03:02,857 basehttp 22862 6240251904 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 18:03:02,859 basehttp 22862 6223425536 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 18:03:02,862 basehttp 22862 6206599168 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 18:03:24,363 basehttp 22862 6206599168 "GET /en/ HTTP/1.1" 200 47422 WARNING 2025-08-06 18:03:24,378 log 22862 6206599168 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:03:24,378 basehttp 22862 6206599168 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:03:24,452 basehttp 22862 6189772800 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 18:03:24,454 basehttp 22862 6240251904 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 18:03:24,455 basehttp 22862 6206599168 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 18:03:24,456 basehttp 22862 6223425536 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 18:03:54,442 basehttp 22862 6223425536 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 18:04:22,122 basehttp 22862 6223425536 "GET /en/pharmacy HTTP/1.1" 301 0 ERROR 2025-08-06 18:04:22,171 log 22862 6206599168 Internal Server Error: /en/pharmacy/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 54, in get_context_data 'low_stock_items': InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-06 18:04:22,173 basehttp 22862 6206599168 "GET /en/pharmacy/ HTTP/1.1" 500 138581 WARNING 2025-08-06 18:04:22,188 log 22862 6206599168 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:04:22,188 basehttp 22862 6206599168 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:10:40,610 autoreload 26254 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 18:10:43,832 log 26254 6132166656 Internal Server Error: /en/pharmacy/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 58, in get_context_data 'expired_medications': InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'expiry_date' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-06 18:10:43,837 basehttp 26254 6132166656 "GET /en/pharmacy/ HTTP/1.1" 500 138737 WARNING 2025-08-06 18:10:43,854 log 26254 6132166656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:10:43,854 basehttp 26254 6132166656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 18:10:44,652 log 26254 6132166656 Internal Server Error: /en/pharmacy/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 58, in get_context_data 'expired_medications': InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'expiry_date' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-06 18:10:44,654 basehttp 26254 6132166656 "GET /en/pharmacy/ HTTP/1.1" 500 138737 WARNING 2025-08-06 18:10:44,670 log 26254 6132166656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:10:44,670 basehttp 26254 6132166656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:11:20,301 autoreload 26254 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-06 18:11:20,665 autoreload 26589 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 18:11:23,252 log 26589 6170882048 Internal Server Error: /en/pharmacy/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 62, in get_context_data 'todays_dispensed': DispenseRecord.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'dispensed_datetime' into field. Choices are: copay_amount, counseling_notes, created_at, date_dispensed, dispense_id, dispensed_by, dispensed_by_id, id, identification_verified, insurance_amount, inventory_item, inventory_item_id, is_refill, patient_counseled, picked_up_by, pickup_datetime, prescription, prescription_id, quality_check_performed, quality_notes, quantity_dispensed, quantity_remaining, refill_number, status, total_price, unit_price, updated_at, verified_by, verified_by_id ERROR 2025-08-06 18:11:23,256 basehttp 26589 6170882048 "GET /en/pharmacy/ HTTP/1.1" 500 137123 WARNING 2025-08-06 18:11:23,272 log 26589 6170882048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:11:23,272 basehttp 26589 6170882048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:11:56,235 autoreload 26589 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-06 18:11:56,575 autoreload 26897 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 18:11:59,354 log 26897 6204829696 Internal Server Error: /en/pharmacy/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 62, in get_context_data 'todays_dispensed': DispenseRecord.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: copay_amount, counseling_notes, created_at, date_dispensed, dispense_id, dispensed_by, dispensed_by_id, id, identification_verified, insurance_amount, inventory_item, inventory_item_id, is_refill, patient_counseled, picked_up_by, pickup_datetime, prescription, prescription_id, quality_check_performed, quality_notes, quantity_dispensed, quantity_remaining, refill_number, status, total_price, unit_price, updated_at, verified_by, verified_by_id ERROR 2025-08-06 18:11:59,372 basehttp 26897 6204829696 "GET /en/pharmacy/ HTTP/1.1" 500 137668 WARNING 2025-08-06 18:11:59,388 log 26897 6204829696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:11:59,388 basehttp 26897 6204829696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:13:01,705 autoreload 26897 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-06 18:13:02,014 autoreload 27354 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 18:13:04,482 log 27354 6137344000 Internal Server Error: /en/pharmacy/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'prescription_create' not found. 'prescription_create' is not a valid view function or pattern name. ERROR 2025-08-06 18:13:04,484 basehttp 27354 6137344000 "GET /en/pharmacy/ HTTP/1.1" 500 163477 WARNING 2025-08-06 18:13:04,501 log 27354 6137344000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:13:04,501 basehttp 27354 6137344000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:16:51,987 autoreload 27354 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-06 18:16:52,332 autoreload 29047 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 18:16:54,979 log 29047 6157627392 Internal Server Error: /en/pharmacy/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'medication_create' not found. 'medication_create' is not a valid view function or pattern name. ERROR 2025-08-06 18:16:55,120 basehttp 29047 6157627392 "GET /en/pharmacy/ HTTP/1.1" 500 163857 WARNING 2025-08-06 18:16:55,143 log 29047 6157627392 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:16:55,144 basehttp 29047 6157627392 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:20:50,793 autoreload 29047 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-06 18:20:51,095 autoreload 30723 8601149632 Watching for file changes with StatReloader INFO 2025-08-06 18:23:37,939 autoreload 30723 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-06 18:23:38,281 autoreload 31937 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 18:30:56,553 log 31937 6201815040 Internal Server Error: /en/pharmacy/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'medication_create' not found. 'medication_create' is not a valid view function or pattern name. ERROR 2025-08-06 18:30:56,555 basehttp 31937 6201815040 "GET /en/pharmacy/ HTTP/1.1" 500 163857 WARNING 2025-08-06 18:30:56,570 log 31937 6201815040 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:30:56,571 basehttp 31937 6201815040 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:35:14,339 autoreload 31937 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-06 18:35:14,709 autoreload 37039 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 18:35:17,221 log 37039 6199783424 Internal Server Error: /en/pharmacy/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'inventory_create' not found. 'inventory_create' is not a valid view function or pattern name. ERROR 2025-08-06 18:35:17,223 basehttp 37039 6199783424 "GET /en/pharmacy/ HTTP/1.1" 500 163868 WARNING 2025-08-06 18:35:17,237 log 37039 6199783424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:35:17,238 basehttp 37039 6199783424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:43:50,330 autoreload 37039 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-06 18:43:50,626 autoreload 40777 8601149632 Watching for file changes with StatReloader INFO 2025-08-06 18:44:52,393 autoreload 40777 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-06 18:44:52,652 autoreload 41238 8601149632 Watching for file changes with StatReloader INFO 2025-08-06 18:45:10,235 autoreload 41238 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/urls.py changed, reloading. INFO 2025-08-06 18:45:10,503 autoreload 41319 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 18:45:13,512 log 41319 6191247360 Internal Server Error: /en/pharmacy/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'reports' not found. 'reports' is not a valid view function or pattern name. ERROR 2025-08-06 18:45:13,515 basehttp 41319 6191247360 "GET /en/pharmacy/ HTTP/1.1" 500 163621 WARNING 2025-08-06 18:45:13,532 log 41319 6191247360 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:45:13,532 basehttp 41319 6191247360 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 18:46:07,931 log 41319 6191247360 Internal Server Error: /en/pharmacy/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'prescribing_provider'. Choices are: tenant, patient, prescriber, medication, encounter, verified_by ERROR 2025-08-06 18:46:07,933 basehttp 41319 6191247360 "GET /en/pharmacy/ HTTP/1.1" 500 217460 WARNING 2025-08-06 18:46:07,947 log 41319 6191247360 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:46:07,947 basehttp 41319 6191247360 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:51:22,172 autoreload 41319 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-06 18:51:22,512 autoreload 44051 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 18:51:25,217 log 44051 6204485632 Internal Server Error: /en/pharmacy/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'drug_interaction_checker' not found. 'drug_interaction_checker' is not a valid view function or pattern name. ERROR 2025-08-06 18:51:25,240 basehttp 44051 6204485632 "GET /en/pharmacy/ HTTP/1.1" 500 168443 WARNING 2025-08-06 18:51:25,268 log 44051 6204485632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:51:25,269 basehttp 44051 6204485632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 18:52:16,137 log 44051 6204485632 Internal Server Error: /en/pharmacy/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'drug_interaction_checker' not found. 'drug_interaction_checker' is not a valid view function or pattern name. ERROR 2025-08-06 18:52:16,138 basehttp 44051 6204485632 "GET /en/pharmacy/ HTTP/1.1" 500 164593 WARNING 2025-08-06 18:52:16,151 log 44051 6204485632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:52:16,151 basehttp 44051 6204485632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 18:52:55,649 log 44051 6204485632 Internal Server Error: /en/pharmacy/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'drug_interaction_check' with no arguments not found. 1 pattern(s) tried: ['en/pharmacy/drug\\-interaction\\-check/(?P[0-9]+)/\\Z'] ERROR 2025-08-06 18:52:55,650 basehttp 44051 6204485632 "GET /en/pharmacy/ HTTP/1.1" 500 166798 WARNING 2025-08-06 18:52:55,667 log 44051 6204485632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:52:55,667 basehttp 44051 6204485632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:57:11,763 basehttp 44051 6204485632 "GET /en/pharmacy/ HTTP/1.1" 200 34838 WARNING 2025-08-06 18:57:11,777 log 44051 6204485632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:57:11,777 basehttp 44051 6204485632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:57:11,849 basehttp 44051 6204485632 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-06 18:57:11,920 log 44051 6221312000 Internal Server Error: /en/pharmacy/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 682, in pharmacy_stats 'low_stock_items': InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-06 18:57:11,928 log 44051 6238138368 Internal Server Error: /en/pharmacy/inventory-alerts/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 737, in inventory_alerts low_stock = InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-06 18:57:11,928 basehttp 44051 6221312000 "GET /en/pharmacy/stats/ HTTP/1.1" 500 124544 ERROR 2025-08-06 18:57:11,929 basehttp 44051 6238138368 "GET /en/pharmacy/inventory-alerts/ HTTP/1.1" 500 124726 INFO 2025-08-06 18:57:28,958 basehttp 44051 6238138368 "GET /en/pharmacy/ HTTP/1.1" 200 34838 WARNING 2025-08-06 18:57:28,974 log 44051 6238138368 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:57:28,974 basehttp 44051 6238138368 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:57:29,041 basehttp 44051 6238138368 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-06 18:57:29,107 log 44051 6221312000 Internal Server Error: /en/pharmacy/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 682, in pharmacy_stats 'low_stock_items': InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-06 18:57:29,111 basehttp 44051 6221312000 "GET /en/pharmacy/stats/ HTTP/1.1" 500 124544 ERROR 2025-08-06 18:57:29,116 log 44051 6204485632 Internal Server Error: /en/pharmacy/inventory-alerts/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 737, in inventory_alerts low_stock = InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-06 18:57:29,117 basehttp 44051 6204485632 "GET /en/pharmacy/inventory-alerts/ HTTP/1.1" 500 124726 INFO 2025-08-06 18:57:30,178 basehttp 44051 6204485632 "GET /en/pharmacy/ HTTP/1.1" 200 34838 WARNING 2025-08-06 18:57:30,194 log 44051 6204485632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:57:30,194 basehttp 44051 6204485632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:57:30,256 basehttp 44051 6204485632 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-06 18:57:30,302 log 44051 6238138368 Internal Server Error: /en/pharmacy/inventory-alerts/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 737, in inventory_alerts low_stock = InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-06 18:57:30,304 basehttp 44051 6238138368 "GET /en/pharmacy/inventory-alerts/ HTTP/1.1" 500 124726 ERROR 2025-08-06 18:57:30,312 log 44051 6221312000 Internal Server Error: /en/pharmacy/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 682, in pharmacy_stats 'low_stock_items': InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-06 18:57:30,313 basehttp 44051 6221312000 "GET /en/pharmacy/stats/ HTTP/1.1" 500 124544 WARNING 2025-08-06 18:57:31,302 log 44051 6221312000 Not Found: /en/pharmacy/pharmacy/drug-interaction-check/undefined/ WARNING 2025-08-06 18:57:31,302 basehttp 44051 6221312000 "GET /en/pharmacy/pharmacy/drug-interaction-check/undefined/ HTTP/1.1" 404 37993 WARNING 2025-08-06 18:57:31,325 log 44051 6221312000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:57:31,326 basehttp 44051 6221312000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 18:57:36,538 log 44051 6221312000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:57:36,538 basehttp 44051 6221312000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 18:57:36,553 log 44051 6221312000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:57:36,554 basehttp 44051 6221312000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 18:57:40,627 log 44051 6221312000 Internal Server Error: /en/pharmacy/prescriptions/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'get_patient_info' not found. 'get_patient_info' is not a valid view function or pattern name. ERROR 2025-08-06 18:57:40,628 basehttp 44051 6221312000 "GET /en/pharmacy/prescriptions/create/ HTTP/1.1" 500 178754 WARNING 2025-08-06 18:57:40,645 log 44051 6221312000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:57:40,645 basehttp 44051 6221312000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 18:58:04,864 log 44051 6238138368 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:58:04,864 basehttp 44051 6238138368 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 18:58:04,894 log 44051 6238138368 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:58:04,895 basehttp 44051 6238138368 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 18:58:04,916 log 44051 6221312000 Internal Server Error: /en/pharmacy/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 682, in pharmacy_stats 'low_stock_items': InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-06 18:58:04,917 basehttp 44051 6221312000 "GET /en/pharmacy/stats/ HTTP/1.1" 500 124544 WARNING 2025-08-06 18:58:05,323 log 44051 6221312000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:58:05,324 basehttp 44051 6221312000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:58:06,717 basehttp 44051 6221312000 "GET /en/ HTTP/1.1" 200 47375 WARNING 2025-08-06 18:58:06,732 log 44051 6221312000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:58:06,733 basehttp 44051 6221312000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:58:06,797 basehttp 44051 6221312000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 18:58:06,802 basehttp 44051 6204485632 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 18:58:06,802 basehttp 44051 6254964736 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 18:58:06,804 basehttp 44051 6238138368 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 ERROR 2025-08-06 18:58:15,885 log 44051 6238138368 Internal Server Error: /en/laboratory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/views.py", line 57, in get_context_data 'specimens_collected': Specimen.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'collection_datetime' into field. Choices are: chain_of_custody, collected_by, collected_by_id, collected_datetime, collection_method, collection_site, container_type, created_at, id, order, order_id, quality, quality_notes, received_by, received_by_id, received_datetime, rejection_reason, results, specimen_id, specimen_number, specimen_type, status, storage_location, storage_temperature, updated_at, volume ERROR 2025-08-06 18:58:15,887 basehttp 44051 6238138368 "GET /en/laboratory/ HTTP/1.1" 500 136030 WARNING 2025-08-06 18:58:15,904 log 44051 6238138368 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:58:15,904 basehttp 44051 6238138368 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 18:59:34,412 autoreload 44051 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/views.py changed, reloading. INFO 2025-08-06 18:59:34,703 autoreload 47622 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 18:59:37,171 log 47622 6156087296 Internal Server Error: /en/laboratory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/views.py", line 57, in get_context_data 'specimens_collected': Specimen.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: chain_of_custody, collected_by, collected_by_id, collected_datetime, collection_method, collection_site, container_type, created_at, id, order, order_id, quality, quality_notes, received_by, received_by_id, received_datetime, rejection_reason, results, specimen_id, specimen_number, specimen_type, status, storage_location, storage_temperature, updated_at, volume ERROR 2025-08-06 18:59:37,426 basehttp 47622 6156087296 "GET /en/laboratory/ HTTP/1.1" 500 136691 WARNING 2025-08-06 18:59:37,454 log 47622 6156087296 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 18:59:37,455 basehttp 47622 6156087296 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 19:01:00,640 autoreload 47622 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/views.py changed, reloading. INFO 2025-08-06 19:01:00,936 autoreload 48236 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 19:01:03,845 log 48236 6156906496 Internal Server Error: /en/laboratory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/views.py", line 61, in get_context_data 'results_pending': LabResult.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: abnormal_flag, analyzed_by, analyzed_by_id, analyzed_datetime, analyzer, created_at, critical_called, critical_called_datetime, critical_called_to, id, is_critical, order, order_id, pathologist_comments, qc_notes, qc_passed, reference_range, reported_datetime, result_id, result_type, result_unit, result_value, specimen, specimen_id, status, technician_comments, test, test_id, updated_at, verified, verified_by, verified_by_id, verified_datetime ERROR 2025-08-06 19:01:03,850 basehttp 48236 6156906496 "GET /en/laboratory/ HTTP/1.1" 500 137342 WARNING 2025-08-06 19:01:03,871 log 48236 6156906496 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 19:01:03,871 basehttp 48236 6156906496 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 19:01:32,119 autoreload 48236 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/views.py changed, reloading. INFO 2025-08-06 19:01:32,420 autoreload 48468 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 19:01:35,300 log 48468 6193197056 Internal Server Error: /en/laboratory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/views.py", line 65, in get_context_data 'results_completed_today': LabResult.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'result_datetime' into field. Choices are: abnormal_flag, analyzed_by, analyzed_by_id, analyzed_datetime, analyzer, created_at, critical_called, critical_called_datetime, critical_called_to, id, is_critical, order, order_id, pathologist_comments, qc_notes, qc_passed, reference_range, reported_datetime, result_id, result_type, result_unit, result_value, specimen, specimen_id, status, technician_comments, test, test_id, updated_at, verified, verified_by, verified_by_id, verified_datetime ERROR 2025-08-06 19:01:35,303 basehttp 48468 6193197056 "GET /en/laboratory/ HTTP/1.1" 500 137225 WARNING 2025-08-06 19:01:35,321 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 19:01:35,322 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 19:59:22,550 log 48468 6193197056 Internal Server Error: /en/laboratory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/views.py", line 65, in get_context_data 'results_completed_today': LabResult.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'result_datetime' into field. Choices are: abnormal_flag, analyzed_by, analyzed_by_id, analyzed_datetime, analyzer, created_at, critical_called, critical_called_datetime, critical_called_to, id, is_critical, order, order_id, pathologist_comments, qc_notes, qc_passed, reference_range, reported_datetime, result_id, result_type, result_unit, result_value, specimen, specimen_id, status, technician_comments, test, test_id, updated_at, verified, verified_by, verified_by_id, verified_datetime ERROR 2025-08-06 19:59:22,551 basehttp 48468 6193197056 "GET /en/laboratory/ HTTP/1.1" 500 137225 WARNING 2025-08-06 19:59:22,568 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 19:59:22,568 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:00:00,981 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:00:00,982 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:00:03,366 basehttp 48468 6193197056 "GET /en/ HTTP/1.1" 200 47410 WARNING 2025-08-06 20:00:03,388 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:00:03,388 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:00:03,438 basehttp 48468 6193197056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:00:03,452 basehttp 48468 6243676160 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 20:00:03,454 basehttp 48468 6226849792 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 20:00:03,455 basehttp 48468 6210023424 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 20:00:14,841 basehttp 48468 6210023424 "GET /en/appointments/ HTTP/1.1" 200 33079 WARNING 2025-08-06 20:00:14,860 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:00:14,860 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:00:14,884 basehttp 48468 6210023424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:00:14,886 basehttp 48468 6226849792 "GET /en/appointments/stats/ HTTP/1.1" 200 3136 WARNING 2025-08-06 20:00:32,722 log 48468 6226849792 Not Found: /en/appointments/detail/745/ WARNING 2025-08-06 20:00:32,723 basehttp 48468 6226849792 "GET /en/appointments/detail/745/ HTTP/1.1" 404 27581 WARNING 2025-08-06 20:00:32,745 log 48468 6226849792 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:00:32,745 basehttp 48468 6226849792 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:00:35,261 log 48468 6226849792 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:00:35,261 basehttp 48468 6226849792 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:00:35,277 log 48468 6226849792 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:00:35,277 basehttp 48468 6226849792 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:00:41,511 basehttp 48468 6226849792 "GET /en/appointments/list/ HTTP/1.1" 200 130044 WARNING 2025-08-06 20:00:41,530 log 48468 6226849792 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:00:41,530 basehttp 48468 6226849792 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:00:41,573 basehttp 48468 6226849792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:01:41,590 basehttp 48468 6226849792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:02:41,596 basehttp 48468 6226849792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:03:41,597 basehttp 48468 6226849792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:04:41,610 basehttp 48468 6226849792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:05:41,608 basehttp 48468 6226849792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:06:41,606 basehttp 48468 6226849792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:06:50,652 basehttp 48468 6226849792 "GET /en/emr HTTP/1.1" 301 0 INFO 2025-08-06 20:06:50,692 basehttp 48468 6193197056 "GET /en/emr/ HTTP/1.1" 200 71697 WARNING 2025-08-06 20:06:50,708 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:06:50,709 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:06:50,735 basehttp 48468 6193197056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:06:50,738 basehttp 48468 6210023424 "GET /en/emr/stats/ HTTP/1.1" 200 2966 ERROR 2025-08-06 20:06:58,582 log 48468 6210023424 Internal Server Error: /en/emr/encounters/2098/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'add_clinical_note' not found. 'add_clinical_note' is not a valid view function or pattern name. ERROR 2025-08-06 20:06:58,584 basehttp 48468 6210023424 "GET /en/emr/encounters/2098/ HTTP/1.1" 500 167634 WARNING 2025-08-06 20:06:58,597 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:06:58,597 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:07:01,404 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:01,405 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:07:01,419 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:01,420 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 20:07:03,149 log 48468 6210023424 Internal Server Error: /en/emr/problems/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'resolve_problem' not found. 'resolve_problem' is not a valid view function or pattern name. ERROR 2025-08-06 20:07:03,150 basehttp 48468 6210023424 "GET /en/emr/problems/ HTTP/1.1" 500 258590 WARNING 2025-08-06 20:07:03,166 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:03,167 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:07:05,414 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:05,414 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:07:05,428 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:05,429 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:07:07,650 basehttp 48468 6210023424 "GET /en/emr/encounters/ HTTP/1.1" 200 149008 WARNING 2025-08-06 20:07:07,671 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:07,671 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:07:07,709 basehttp 48468 6210023424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 WARNING 2025-08-06 20:07:09,988 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:09,989 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:07:10,005 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:10,005 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:07:10,797 basehttp 48468 6210023424 "GET /en/emr/vital-signs/ HTTP/1.1" 200 92572 WARNING 2025-08-06 20:07:10,817 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:10,817 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:07:10,857 basehttp 48468 6210023424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 WARNING 2025-08-06 20:07:21,965 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:21,966 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:07:21,970 basehttp 48468 6210023424 "GET /en/emr/stats/ HTTP/1.1" 200 2966 WARNING 2025-08-06 20:07:21,975 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:21,975 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 20:07:23,171 log 48468 6193197056 Internal Server Error: /en/emr/problems/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'resolve_problem' not found. 'resolve_problem' is not a valid view function or pattern name. ERROR 2025-08-06 20:07:23,172 basehttp 48468 6193197056 "GET /en/emr/problems/ HTTP/1.1" 500 258590 WARNING 2025-08-06 20:07:23,189 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:23,189 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:07:27,204 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:27,204 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:07:27,217 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:27,218 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:07:33,201 basehttp 48468 6193197056 "GET /en/emr/notes/?status=unsigned HTTP/1.1" 200 24806 WARNING 2025-08-06 20:07:33,224 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:33,224 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:07:33,263 basehttp 48468 6193197056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 WARNING 2025-08-06 20:07:35,682 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:35,683 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:07:35,762 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:35,763 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:07:37,443 basehttp 48468 6193197056 "GET /en/emr/encounters/?documentation_complete=false HTTP/1.1" 200 149008 WARNING 2025-08-06 20:07:37,466 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:37,466 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:07:37,532 basehttp 48468 6193197056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-06 20:07:48,287 log 48468 6193197056 Internal Server Error: /en/emr/encounters/2098/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'add_clinical_note' not found. 'add_clinical_note' is not a valid view function or pattern name. ERROR 2025-08-06 20:07:48,288 basehttp 48468 6193197056 "GET /en/emr/encounters/2098/ HTTP/1.1" 500 167674 WARNING 2025-08-06 20:07:48,309 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:48,309 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:07:50,805 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:50,805 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:07:50,817 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:50,824 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 20:07:57,048 log 48468 6193197056 Internal Server Error: /en/emr/encounters/2098/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'add_clinical_note' not found. 'add_clinical_note' is not a valid view function or pattern name. ERROR 2025-08-06 20:07:57,049 basehttp 48468 6193197056 "GET /en/emr/encounters/2098/ HTTP/1.1" 500 167674 WARNING 2025-08-06 20:07:57,064 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:57,065 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:07:59,367 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:59,367 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:07:59,393 log 48468 6193197056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:07:59,395 basehttp 48468 6193197056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:08:05,610 basehttp 48468 6193197056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 WARNING 2025-08-06 20:08:05,612 log 48468 6226849792 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:08:05,613 basehttp 48468 6226849792 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:08:05,617 basehttp 48468 6210023424 "GET /en/emr/stats/ HTTP/1.1" 200 2966 WARNING 2025-08-06 20:08:05,623 log 48468 6226849792 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:08:05,623 basehttp 48468 6226849792 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 20:08:35,159 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:08:35,159 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:08:35,161 basehttp 48468 6226849792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 WARNING 2025-08-06 20:08:35,166 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:08:35,166 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:09:35,135 basehttp 48468 6210023424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-06 20:09:41,468 log 48468 6210023424 Internal Server Error: /en/inpatients/wards/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 231, in render raise ValueError( ValueError: Need 2 values to unpack in for loop; got 8. ERROR 2025-08-06 20:09:41,469 basehttp 48468 6210023424 "GET /en/inpatients/wards/ HTTP/1.1" 500 179290 WARNING 2025-08-06 20:09:41,489 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:09:41,490 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:09:45,564 basehttp 48468 6210023424 "GET /en/inpatients/ HTTP/1.1" 200 42302 WARNING 2025-08-06 20:09:45,581 log 48468 6210023424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:09:45,581 basehttp 48468 6210023424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:09:45,661 basehttp 48468 6210023424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:09:45,665 basehttp 48468 6226849792 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-06 20:09:45,691 basehttp 48468 6193197056 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-06 20:09:53,127 basehttp 48468 6193197056 "GET /en/inpatients/beds/ HTTP/1.1" 200 782106 INFO 2025-08-06 20:09:53,177 basehttp 48468 6193197056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:09:53,232 basehttp 48468 6193197056 "GET /en/inpatients/beds/ HTTP/1.1" 200 782106 INFO 2025-08-06 20:10:23,280 basehttp 48468 6193197056 "GET /en/inpatients/beds/ HTTP/1.1" 200 782106 INFO 2025-08-06 20:10:53,186 basehttp 48468 6193197056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:10:53,244 basehttp 48468 6193197056 "GET /en/inpatients/beds/ HTTP/1.1" 200 782106 INFO 2025-08-06 20:11:23,278 basehttp 48468 6193197056 "GET /en/inpatients/beds/ HTTP/1.1" 200 782106 INFO 2025-08-06 20:11:39,611 basehttp 48468 6193197056 "GET /en/inpatients/beds/ HTTP/1.1" 200 782106 INFO 2025-08-06 20:11:39,663 basehttp 48468 6193197056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:11:39,721 basehttp 48468 6193197056 "GET /en/inpatients/beds/ HTTP/1.1" 200 782106 INFO 2025-08-06 20:11:42,550 basehttp 48468 6193197056 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-06 20:11:42,556 basehttp 48468 6210023424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:11:42,592 basehttp 48468 6226849792 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-06 20:11:59,670 basehttp 48468 6226849792 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-06 20:12:07,033 basehttp 48468 6226849792 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 40429 INFO 2025-08-06 20:12:07,073 basehttp 48468 6226849792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:12:10,253 basehttp 48468 6226849792 "GET /en/inpatients/admissions/create/ HTTP/1.1" 200 92469 INFO 2025-08-06 20:12:10,291 basehttp 48468 6226849792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:12:37,955 basehttp 48468 6226849792 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-06 20:12:42,524 basehttp 48468 6226849792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:12:42,548 basehttp 48468 6210023424 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 ERROR 2025-08-06 20:12:44,416 log 48468 6210023424 Internal Server Error: /en/inpatients/wards/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 231, in render raise ValueError( ValueError: Need 2 values to unpack in for loop; got 8. ERROR 2025-08-06 20:12:44,417 basehttp 48468 6210023424 "GET /en/inpatients/wards/ HTTP/1.1" 500 179455 INFO 2025-08-06 20:13:07,962 basehttp 48468 6210023424 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-06 20:13:15,599 basehttp 48468 6210023424 "GET /en/inpatients/transfers/ HTTP/1.1" 200 23209 INFO 2025-08-06 20:13:15,639 basehttp 48468 6210023424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:13:20,322 basehttp 48468 6210023424 "GET /en/inpatients/surgery/ HTTP/1.1" 200 24079 INFO 2025-08-06 20:13:20,358 basehttp 48468 6210023424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:13:37,959 basehttp 48468 6210023424 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-06 20:13:42,531 basehttp 48468 6210023424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-06 20:13:52,103 log 48468 6210023424 Internal Server Error: /en/appointments/queue/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/appointments/views.py", line 1722, in get_context_data ).order_by('scheduled_date', 'scheduled_time') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'scheduled_date' into field. Choices are: acceptable_times, actual_duration_minutes, appointment_type, authorization_number, authorization_required, cancellation_reason, cancelled_at, cancelled_by, cancelled_by_id, checked_in_at, checked_in_by, checked_in_by_id, chief_complaint, clinical_notes, completed_at, created_at, created_by, created_by_id, duration_minutes, earliest_acceptable_date, encounters, flexible_scheduling, id, insurance_verified, interpreter_language, interpreter_needed, is_telemedicine, latest_acceptable_date, location, meeting_id, meeting_password, meeting_url, patient, patient_id, preferred_date, preferred_time, priority, provider, provider_id, queue_entries, referring_provider, reminder_preferences, request_id, rescheduled_appointments, rescheduled_from, rescheduled_from_id, room_number, scheduled_datetime, scheduled_end_datetime, special_requirements, specialty, status, telemedicine_platform, telemedicine_session, tenant, tenant_id, updated_at, urgency_score ERROR 2025-08-06 20:13:52,104 basehttp 48468 6210023424 "GET /en/appointments/queue/ HTTP/1.1" 500 108287 INFO 2025-08-06 20:14:02,298 basehttp 48468 6210023424 "GET /en/appointments/telemedicine/ HTTP/1.1" 200 22136 INFO 2025-08-06 20:14:02,339 basehttp 48468 6210023424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:14:13,517 basehttp 48468 6210023424 "GET /en/appointments/stats/ HTTP/1.1" 200 3136 WARNING 2025-08-06 20:14:21,575 log 48468 6210023424 Not Found: /en/appointments/detail/783/ WARNING 2025-08-06 20:14:21,576 basehttp 48468 6210023424 "GET /en/appointments/detail/783/ HTTP/1.1" 404 27581 INFO 2025-08-06 20:14:58,085 basehttp 48468 6210023424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:14:58,087 basehttp 48468 6226849792 "GET /en/appointments/stats/ HTTP/1.1" 200 3136 WARNING 2025-08-06 20:15:05,235 log 48468 6226849792 Not Found: /en/appointments/detail/745/ WARNING 2025-08-06 20:15:05,236 basehttp 48468 6226849792 "GET /en/appointments/detail/745/ HTTP/1.1" 404 27581 INFO 2025-08-06 20:15:20,446 basehttp 48468 6226849792 "GET /en/admin HTTP/1.1" 301 0 INFO 2025-08-06 20:15:20,503 basehttp 48468 6210023424 "GET /en/admin/ HTTP/1.1" 200 86264 INFO 2025-08-06 20:15:20,511 basehttp 48468 6226849792 "GET /static/admin/js/theme.js HTTP/1.1" 200 1653 INFO 2025-08-06 20:15:20,511 basehttp 48468 6193197056 "GET /static/admin/css/dark_mode.css HTTP/1.1" 200 2808 INFO 2025-08-06 20:15:20,512 basehttp 48468 6210023424 "GET /static/admin/css/base.css HTTP/1.1" 200 22120 INFO 2025-08-06 20:15:20,513 basehttp 48468 6193197056 "GET /static/admin/css/nav_sidebar.css HTTP/1.1" 200 2810 INFO 2025-08-06 20:15:20,513 basehttp 48468 6210023424 "GET /static/admin/css/responsive.css HTTP/1.1" 200 16565 INFO 2025-08-06 20:15:20,513 basehttp 48468 6226849792 "GET /static/admin/css/dashboard.css HTTP/1.1" 200 441 INFO 2025-08-06 20:15:20,514 basehttp 48468 6210023424 "GET /static/admin/js/nav_sidebar.js HTTP/1.1" 200 3063 INFO 2025-08-06 20:15:20,516 basehttp 48468 6210023424 "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 200 331 INFO 2025-08-06 20:15:20,517 basehttp 48468 6226849792 "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 200 380 INFO 2025-08-06 20:15:35,035 basehttp 48468 6226849792 "GET /en/admin/appointments/appointmentrequest/ HTTP/1.1" 200 154138 INFO 2025-08-06 20:15:35,050 basehttp 48468 6226849792 "GET /static/admin/css/changelists.css HTTP/1.1" 200 6878 INFO 2025-08-06 20:15:35,051 basehttp 48468 6243676160 "GET /static/admin/js/jquery.init.js HTTP/1.1" 200 347 INFO 2025-08-06 20:15:35,053 basehttp 48468 6277328896 "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 200 9777 INFO 2025-08-06 20:15:35,053 basehttp 48468 6260502528 "GET /static/admin/js/core.js HTTP/1.1" 200 6208 INFO 2025-08-06 20:15:35,055 basehttp 48468 6243676160 "GET /static/admin/js/urlify.js HTTP/1.1" 200 7887 INFO 2025-08-06 20:15:35,055 basehttp 48468 6226849792 "GET /static/admin/js/actions.js HTTP/1.1" 200 8076 INFO 2025-08-06 20:15:35,056 basehttp 48468 6277328896 "GET /static/admin/js/prepopulate.js HTTP/1.1" 200 1531 INFO 2025-08-06 20:15:35,058 basehttp 48468 6226849792 "GET /static/admin/img/icon-no.svg HTTP/1.1" 200 560 INFO 2025-08-06 20:15:35,058 basehttp 48468 6243676160 "GET /static/admin/img/search.svg HTTP/1.1" 200 458 INFO 2025-08-06 20:15:35,059 basehttp 48468 6210023424 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-06 20:15:35,059 basehttp 48468 6193197056 "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 200 285314 INFO 2025-08-06 20:15:35,060 basehttp 48468 6260502528 "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 200 325171 INFO 2025-08-06 20:15:35,061 basehttp 48468 6193197056 "GET /static/admin/js/filters.js HTTP/1.1" 200 978 INFO 2025-08-06 20:15:35,063 basehttp 48468 6193197056 "GET /static/admin/img/icon-yes.svg HTTP/1.1" 200 436 INFO 2025-08-06 20:15:35,073 basehttp 48468 6193197056 "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 200 331 INFO 2025-08-06 20:15:35,073 basehttp 48468 6260502528 "GET /static/admin/img/sorting-icons.svg HTTP/1.1" 200 1097 INFO 2025-08-06 20:15:35,074 basehttp 48468 6260502528 "GET /static/admin/img/icon-viewlink.svg HTTP/1.1" 200 581 INFO 2025-08-06 20:15:38,870 basehttp 48468 6260502528 "GET /en/admin/appointments/appointmentrequest/2210/change/ HTTP/1.1" 200 336381 INFO 2025-08-06 20:15:38,888 basehttp 48468 6260502528 "GET /static/admin/css/forms.css HTTP/1.1" 200 8525 INFO 2025-08-06 20:15:38,889 basehttp 48468 6277328896 "GET /static/admin/js/prepopulate_init.js HTTP/1.1" 200 586 INFO 2025-08-06 20:15:38,890 basehttp 48468 6226849792 "GET /static/admin/js/inlines.js HTTP/1.1" 200 15628 INFO 2025-08-06 20:15:38,890 basehttp 48468 6210023424 "GET /static/admin/js/calendar.js HTTP/1.1" 200 9141 INFO 2025-08-06 20:15:38,890 basehttp 48468 6243676160 "GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 200 19319 INFO 2025-08-06 20:15:38,891 basehttp 48468 6260502528 "GET /static/admin/css/widgets.css HTTP/1.1" 200 11991 INFO 2025-08-06 20:15:38,892 basehttp 48468 6260502528 "GET /static/admin/img/icon-deletelink.svg HTTP/1.1" 200 392 INFO 2025-08-06 20:15:38,893 basehttp 48468 6260502528 "GET /static/admin/img/icon-unknown.svg HTTP/1.1" 200 655 INFO 2025-08-06 20:15:38,894 basehttp 48468 6193197056 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-06 20:15:38,894 basehttp 48468 6260502528 "GET /static/admin/js/change_form.js HTTP/1.1" 200 606 INFO 2025-08-06 20:15:38,940 basehttp 48468 6260502528 "GET /static/admin/img/icon-calendar.svg HTTP/1.1" 200 1086 INFO 2025-08-06 20:15:38,940 basehttp 48468 6193197056 "GET /static/admin/img/icon-clock.svg HTTP/1.1" 200 677 INFO 2025-08-06 20:15:52,416 basehttp 48468 6260502528 "GET /en/admin/appointments/appointmentrequest/ HTTP/1.1" 200 154138 INFO 2025-08-06 20:16:05,405 basehttp 48468 6260502528 "GET /en/admin/appointments/appointmenttemplate/ HTTP/1.1" 200 138255 INFO 2025-08-06 20:16:05,422 basehttp 48468 6260502528 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-06 20:16:07,769 basehttp 48468 6260502528 "GET /en/admin/appointments/appointmenttemplate/234/change/ HTTP/1.1" 200 122787 INFO 2025-08-06 20:16:07,787 basehttp 48468 6260502528 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-06 20:16:23,978 basehttp 48468 6260502528 "GET /en/admin/appointments/appointmenttemplate/ HTTP/1.1" 200 138255 INFO 2025-08-06 20:16:32,440 basehttp 48468 6260502528 "GET /en/admin/appointments/queueentry/ HTTP/1.1" 200 154240 INFO 2025-08-06 20:16:32,458 basehttp 48468 6260502528 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-06 20:16:38,655 basehttp 48468 6260502528 "GET /en/admin/appointments/queueentry/12/change/ HTTP/1.1" 200 347437 INFO 2025-08-06 20:16:38,672 basehttp 48468 6260502528 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-06 20:16:43,102 basehttp 48468 6260502528 "GET /en/admin/appointments/queueentry/ HTTP/1.1" 200 154240 INFO 2025-08-06 20:16:45,424 basehttp 48468 6260502528 "GET /en/admin/appointments/appointmenttemplate/ HTTP/1.1" 200 138255 INFO 2025-08-06 20:16:46,274 basehttp 48468 6260502528 "GET /en/admin/appointments/appointmentrequest/ HTTP/1.1" 200 154138 INFO 2025-08-06 20:18:14,306 basehttp 48468 6193197056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:18:14,308 basehttp 48468 6260502528 "GET /en/appointments/stats/ HTTP/1.1" 200 3136 ERROR 2025-08-06 20:18:30,823 log 48468 6260502528 Internal Server Error: /en/appointments/queue/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/appointments/views.py", line 1722, in get_context_data ).order_by('scheduled_date', 'scheduled_time') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'scheduled_date' into field. Choices are: acceptable_times, actual_duration_minutes, appointment_type, authorization_number, authorization_required, cancellation_reason, cancelled_at, cancelled_by, cancelled_by_id, checked_in_at, checked_in_by, checked_in_by_id, chief_complaint, clinical_notes, completed_at, created_at, created_by, created_by_id, duration_minutes, earliest_acceptable_date, encounters, flexible_scheduling, id, insurance_verified, interpreter_language, interpreter_needed, is_telemedicine, latest_acceptable_date, location, meeting_id, meeting_password, meeting_url, patient, patient_id, preferred_date, preferred_time, priority, provider, provider_id, queue_entries, referring_provider, reminder_preferences, request_id, rescheduled_appointments, rescheduled_from, rescheduled_from_id, room_number, scheduled_datetime, scheduled_end_datetime, special_requirements, specialty, status, telemedicine_platform, telemedicine_session, tenant, tenant_id, updated_at, urgency_score ERROR 2025-08-06 20:18:30,824 basehttp 48468 6260502528 "GET /en/appointments/queue/ HTTP/1.1" 500 108287 INFO 2025-08-06 20:27:26,970 autoreload 48468 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/appointments/views.py changed, reloading. INFO 2025-08-06 20:27:27,330 autoreload 85641 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 20:27:29,940 log 85641 6128922624 Internal Server Error: /en/appointments/queue/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/appointments/views.py", line 1722, in get_context_data ).order_by('scheduled_date', 'scheduled_time') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'scheduled_date' into field. Choices are: acceptable_times, actual_duration_minutes, appointment_type, authorization_number, authorization_required, cancellation_reason, cancelled_at, cancelled_by, cancelled_by_id, checked_in_at, checked_in_by, checked_in_by_id, chief_complaint, clinical_notes, completed_at, created_at, created_by, created_by_id, duration_minutes, earliest_acceptable_date, encounters, flexible_scheduling, id, insurance_verified, interpreter_language, interpreter_needed, is_telemedicine, latest_acceptable_date, location, meeting_id, meeting_password, meeting_url, patient, patient_id, preferred_date, preferred_time, priority, provider, provider_id, queue_entries, referring_provider, reminder_preferences, request_id, rescheduled_appointments, rescheduled_from, rescheduled_from_id, room_number, scheduled_datetime, scheduled_end_datetime, special_requirements, specialty, status, telemedicine_platform, telemedicine_session, tenant, tenant_id, updated_at, urgency_score ERROR 2025-08-06 20:27:29,943 basehttp 85641 6128922624 "GET /en/appointments/queue/ HTTP/1.1" 500 108424 ERROR 2025-08-06 20:27:30,739 log 85641 6128922624 Internal Server Error: /en/appointments/queue/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/appointments/views.py", line 1722, in get_context_data ).order_by('scheduled_date', 'scheduled_time') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'scheduled_date' into field. Choices are: acceptable_times, actual_duration_minutes, appointment_type, authorization_number, authorization_required, cancellation_reason, cancelled_at, cancelled_by, cancelled_by_id, checked_in_at, checked_in_by, checked_in_by_id, chief_complaint, clinical_notes, completed_at, created_at, created_by, created_by_id, duration_minutes, earliest_acceptable_date, encounters, flexible_scheduling, id, insurance_verified, interpreter_language, interpreter_needed, is_telemedicine, latest_acceptable_date, location, meeting_id, meeting_password, meeting_url, patient, patient_id, preferred_date, preferred_time, priority, provider, provider_id, queue_entries, referring_provider, reminder_preferences, request_id, rescheduled_appointments, rescheduled_from, rescheduled_from_id, room_number, scheduled_datetime, scheduled_end_datetime, special_requirements, specialty, status, telemedicine_platform, telemedicine_session, tenant, tenant_id, updated_at, urgency_score ERROR 2025-08-06 20:27:30,740 basehttp 85641 6128922624 "GET /en/appointments/queue/ HTTP/1.1" 500 108424 INFO 2025-08-06 20:29:16,693 autoreload 85641 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/appointments/views.py changed, reloading. INFO 2025-08-06 20:29:17,025 autoreload 86400 8601149632 Watching for file changes with StatReloader INFO 2025-08-06 20:31:24,873 basehttp 86400 6194786304 "GET /en/appointments/queue/ HTTP/1.1" 200 19472 INFO 2025-08-06 20:31:24,914 basehttp 86400 6194786304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:31:33,046 basehttp 86400 6194786304 "GET /en/appointments/queue/ HTTP/1.1" 200 19472 INFO 2025-08-06 20:31:33,091 basehttp 86400 6194786304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:32:33,084 basehttp 86400 6194786304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:33:22,710 autoreload 86400 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/appointments/views.py changed, reloading. INFO 2025-08-06 20:33:23,012 autoreload 88148 8601149632 Watching for file changes with StatReloader WARNING 2025-08-06 20:33:27,210 log 88148 6161068032 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 20:33:27,210 basehttp 88148 6161068032 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 20:33:33,138 basehttp 88148 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:34:33,092 basehttp 88148 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:35:33,058 basehttp 88148 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:36:33,059 basehttp 88148 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:37:33,064 basehttp 88148 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:38:33,072 basehttp 88148 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:39:33,077 basehttp 88148 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:40:33,079 basehttp 88148 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:41:33,088 basehttp 88148 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:42:33,091 basehttp 88148 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:43:33,097 basehttp 88148 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:44:33,102 basehttp 88148 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:44:57,306 autoreload 88148 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/appointments/views.py changed, reloading. INFO 2025-08-06 20:44:57,734 autoreload 93212 8601149632 Watching for file changes with StatReloader INFO 2025-08-06 20:45:33,173 basehttp 93212 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:46:33,114 basehttp 93212 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:47:33,117 basehttp 93212 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:48:33,119 basehttp 93212 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:49:33,128 basehttp 93212 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:50:33,169 basehttp 93212 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:51:33,179 basehttp 93212 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:52:33,183 basehttp 93212 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:53:33,189 basehttp 93212 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:54:33,187 basehttp 93212 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:55:33,196 basehttp 93212 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:56:33,202 basehttp 93212 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:57:33,209 basehttp 93212 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 20:58:33,202 basehttp 93212 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-06 23:22:19,959 autoreload 24520 8601149632 Watching for file changes with StatReloader INFO 2025-08-06 23:22:26,279 basehttp 24520 6135820288 "GET / HTTP/1.1" 302 0 INFO 2025-08-06 23:22:26,491 basehttp 24520 6135820288 "GET /en/ HTTP/1.1" 200 47427 INFO 2025-08-06 23:22:26,601 basehttp 24520 13438578688 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 23:22:26,602 basehttp 24520 6169473024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 23:22:26,604 basehttp 24520 6135820288 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-06 23:22:26,605 basehttp 24520 6152646656 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 WARNING 2025-08-06 23:22:26,665 log 24520 6152646656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:22:26,665 basehttp 24520 6152646656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 23:22:36,503 basehttp 24520 6152646656 "GET /en/ HTTP/1.1" 200 47427 WARNING 2025-08-06 23:22:36,526 log 24520 6152646656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:22:36,527 basehttp 24520 6152646656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 23:22:36,631 basehttp 24520 13438578688 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 23:22:36,631 basehttp 24520 6135820288 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 23:22:36,631 basehttp 24520 6152646656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-06 23:22:36,633 basehttp 24520 6169473024 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 23:22:47,515 basehttp 24520 6169473024 "GET /en/ HTTP/1.1" 200 47427 INFO 2025-08-06 23:22:47,532 basehttp 24520 13438578688 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-06 23:22:47,535 basehttp 24520 13438578688 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-06 23:22:47,536 basehttp 24520 13472231424 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 WARNING 2025-08-06 23:22:47,537 log 24520 6135820288 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:22:47,538 basehttp 24520 6135820288 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 23:22:47,542 basehttp 24520 6169473024 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-06 23:22:47,545 basehttp 24520 13438578688 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-06 23:22:47,545 basehttp 24520 13472231424 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-06 23:22:47,547 basehttp 24520 13455405056 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-06 23:22:47,547 basehttp 24520 6152646656 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-06 23:22:47,680 basehttp 24520 6152646656 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-06 23:22:47,681 basehttp 24520 13472231424 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-06 23:22:47,682 basehttp 24520 13455405056 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-06 23:22:47,682 basehttp 24520 6169473024 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-06 23:22:47,682 basehttp 24520 13438578688 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-06 23:22:47,685 basehttp 24520 6169473024 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-06 23:22:47,685 basehttp 24520 6135820288 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-06 23:22:47,685 basehttp 24520 13438578688 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-06 23:22:47,686 basehttp 24520 13455405056 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-06 23:22:47,686 basehttp 24520 13472231424 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-06 23:22:47,688 basehttp 24520 13472231424 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-06 23:22:47,688 basehttp 24520 6169473024 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-06 23:22:47,689 basehttp 24520 13455405056 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-06 23:22:47,689 basehttp 24520 13438578688 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-06 23:22:47,689 basehttp 24520 6135820288 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-06 23:22:47,690 basehttp 24520 6152646656 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-06 23:22:47,691 basehttp 24520 6169473024 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-06 23:22:47,691 basehttp 24520 13438578688 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-06 23:22:47,692 basehttp 24520 13455405056 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-06 23:22:47,692 basehttp 24520 6152646656 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-06 23:22:47,693 basehttp 24520 6169473024 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-06 23:22:47,694 basehttp 24520 6135820288 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-06 23:22:47,694 basehttp 24520 13472231424 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-06 23:22:47,703 basehttp 24520 13472231424 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-06 23:22:47,732 basehttp 24520 6135820288 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-06 23:22:47,735 basehttp 24520 6152646656 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 23:22:47,736 basehttp 24520 6169473024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 23:22:47,741 basehttp 24520 13455405056 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 WARNING 2025-08-06 23:22:47,812 log 24520 13455405056 Not Found: /favicon.ico WARNING 2025-08-06 23:22:47,812 basehttp 24520 13455405056 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-06 23:22:54,199 basehttp 24520 13455405056 "GET /en/ HTTP/1.1" 200 47427 WARNING 2025-08-06 23:22:54,219 log 24520 13455405056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:22:54,219 basehttp 24520 13455405056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 23:22:54,325 basehttp 24520 6135820288 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-06 23:22:54,327 basehttp 24520 6152646656 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-06 23:22:54,328 basehttp 24520 13455405056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-06 23:22:54,329 basehttp 24520 6169473024 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-06 23:23:04,459 basehttp 24520 6169473024 "GET /en/analytics/ HTTP/1.1" 200 32345 WARNING 2025-08-06 23:23:04,475 log 24520 6169473024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:23:04,475 basehttp 24520 6169473024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 23:23:04,526 basehttp 24520 6169473024 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 ERROR 2025-08-06 23:23:04,536 log 24520 13455405056 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-06 23:23:04,538 basehttp 24520 13455405056 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-06 23:23:12,136 log 24520 13455405056 Internal Server Error: /en/analytics/data-sources/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 387, in get_queryset return queryset.order_by('source_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'source_name' into field. Choices are: authentication_config, cache_duration, connection_config, connection_type, created_at, created_by, created_by_id, data_transformation, description, health_check_interval, is_active, is_healthy, last_health_check, last_test_duration_seconds, last_test_end_at, last_test_error_message, last_test_start_at, last_test_status, metrics, name, parameters, query_template, reports, source_id, source_type, tenant, tenant_id, updated_at, widgets ERROR 2025-08-06 23:23:12,137 basehttp 24520 13455405056 "GET /en/analytics/data-sources/ HTTP/1.1" 500 102740 WARNING 2025-08-06 23:23:12,153 log 24520 13455405056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:23:12,153 basehttp 24520 13455405056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 23:23:14,648 log 24520 13455405056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:23:14,649 basehttp 24520 13455405056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-06 23:23:14,664 log 24520 13455405056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:23:14,664 basehttp 24520 13455405056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 23:23:16,046 log 24520 13455405056 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 527, in get_queryset return queryset.select_related('data_source').order_by('report_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'report_name' into field. Choices are: created_at, created_by, created_by_id, data_source, data_source_id, description, distribution_config, executions, is_active, name, next_execution, output_format, query_config, recipients, report_id, report_type, schedule_config, schedule_type, template_config, tenant, tenant_id, updated_at ERROR 2025-08-06 23:23:16,048 basehttp 24520 13455405056 "GET /en/analytics/reports/ HTTP/1.1" 500 101772 WARNING 2025-08-06 23:23:16,065 log 24520 13455405056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:23:16,065 basehttp 24520 13455405056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 23:23:42,757 autoreload 24520 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-06 23:23:43,073 autoreload 25136 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 23:23:44,177 log 25136 6155382784 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 534, in get_context_data ).order_by('source_name') ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'source_name' into field. Choices are: authentication_config, cache_duration, connection_config, connection_type, created_at, created_by, created_by_id, data_transformation, description, health_check_interval, is_active, is_healthy, last_health_check, last_test_duration_seconds, last_test_end_at, last_test_error_message, last_test_start_at, last_test_status, metrics, name, parameters, query_template, reports, source_id, source_type, tenant, tenant_id, updated_at, widgets ERROR 2025-08-06 23:23:44,179 basehttp 25136 6155382784 "GET /en/analytics/reports/ HTTP/1.1" 500 103028 WARNING 2025-08-06 23:23:44,194 log 25136 6155382784 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:23:44,194 basehttp 25136 6155382784 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 23:24:03,927 autoreload 25136 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-06 23:24:04,255 autoreload 25293 8601149632 Watching for file changes with StatReloader ERROR 2025-08-06 23:24:04,716 log 25293 6133297152 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_list_api' not found. 'report_list_api' is not a valid view function or pattern name. ERROR 2025-08-06 23:24:04,718 basehttp 25293 6133297152 "GET /en/analytics/reports/ HTTP/1.1" 500 167513 WARNING 2025-08-06 23:24:04,734 log 25293 6133297152 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:24:04,734 basehttp 25293 6133297152 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 23:24:52,923 log 25293 6133297152 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_stats' not found. 'report_stats' is not a valid view function or pattern name. ERROR 2025-08-06 23:24:52,927 basehttp 25293 6133297152 "GET /en/analytics/reports/ HTTP/1.1" 500 167038 WARNING 2025-08-06 23:24:52,941 log 25293 6133297152 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:24:52,942 basehttp 25293 6133297152 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 23:26:12,591 log 25293 6133297152 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_generate' not found. 'report_generate' is not a valid view function or pattern name. ERROR 2025-08-06 23:26:12,593 basehttp 25293 6133297152 "GET /en/analytics/reports/ HTTP/1.1" 500 167769 WARNING 2025-08-06 23:26:12,609 log 25293 6133297152 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:26:12,609 basehttp 25293 6133297152 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-06 23:26:31,885 log 25293 6133297152 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_bulk_generate' not found. 'report_bulk_generate' is not a valid view function or pattern name. ERROR 2025-08-06 23:26:31,886 basehttp 25293 6133297152 "GET /en/analytics/reports/ HTTP/1.1" 500 168973 WARNING 2025-08-06 23:26:31,901 log 25293 6133297152 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:26:31,901 basehttp 25293 6133297152 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 23:27:29,206 basehttp 25293 6133297152 "GET /en/analytics/reports/ HTTP/1.1" 200 34715 INFO 2025-08-06 23:27:29,228 basehttp 25293 6133297152 "GET /static/plugins/datatables.net-bs5/css/dataTables.bootstrap5.min.css HTTP/1.1" 200 15096 INFO 2025-08-06 23:27:29,228 basehttp 25293 6150123520 "GET /static/plugins/datatables.net-responsive-bs5/css/responsive.bootstrap5.min.css HTTP/1.1" 200 6044 INFO 2025-08-06 23:27:29,228 basehttp 25293 13707014144 "GET /static/plugins/datatables.net-bs5/js/dataTables.bootstrap5.min.js HTTP/1.1" 200 1470 WARNING 2025-08-06 23:27:29,230 log 25293 13723840512 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:27:29,231 basehttp 25293 13723840512 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 23:27:29,232 basehttp 25293 6133297152 "GET /static/plugins/datatables.net-responsive/js/dataTables.responsive.min.js HTTP/1.1" 200 16086 INFO 2025-08-06 23:27:29,232 basehttp 25293 6150123520 "GET /static/plugins/datatables.net-responsive-bs5/js/responsive.bootstrap5.min.js HTTP/1.1" 200 1796 INFO 2025-08-06 23:27:29,233 basehttp 25293 6166949888 "GET /static/plugins/datatables.net/js/dataTables.min.js HTTP/1.1" 200 95735 INFO 2025-08-06 23:27:29,279 basehttp 25293 6166949888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-06 23:27:29,299 basehttp 25293 6166949888 "GET /en/analytics/reports/?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=type&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=last_generated&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=next_run&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=created_by&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=5&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&type=&_=1754512049253 HTTP/1.1" 200 34715 ERROR 2025-08-06 23:27:29,309 log 25293 6133297152 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-06 23:27:29,310 basehttp 25293 6133297152 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117251 INFO 2025-08-06 23:27:48,603 basehttp 25293 6133297152 "GET /en/analytics/ HTTP/1.1" 200 32345 WARNING 2025-08-06 23:27:48,625 log 25293 6133297152 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:27:48,625 basehttp 25293 6133297152 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-06 23:27:48,667 basehttp 25293 6133297152 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 ERROR 2025-08-06 23:27:48,677 log 25293 6166949888 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-06 23:27:48,678 basehttp 25293 6166949888 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-06 23:27:52,917 log 25293 6166949888 Internal Server Error: /en/analytics/dashboards/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 47, in select_template raise TemplateDoesNotExist(", ".join(template_name_list), chain=chain) django.template.exceptions.TemplateDoesNotExist: analytics/dashboard_list.html, analytics/dashboard_list.html ERROR 2025-08-06 23:27:52,919 basehttp 25293 6166949888 "GET /en/analytics/dashboards/ HTTP/1.1" 500 85043 WARNING 2025-08-06 23:27:52,940 log 25293 6166949888 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-06 23:27:52,940 basehttp 25293 6166949888 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 04:33:54,221 basehttp 25293 6133297152 "GET /en/admin/pharmacy/prescription/ HTTP/1.1" 200 144681 INFO 2025-08-07 04:33:54,228 basehttp 25293 6166949888 "GET /static/admin/css/nav_sidebar.css HTTP/1.1" 200 2810 INFO 2025-08-07 04:33:54,228 basehttp 25293 6133297152 "GET /static/admin/css/base.css HTTP/1.1" 200 22120 INFO 2025-08-07 04:33:54,229 basehttp 25293 6150123520 "GET /static/admin/css/dark_mode.css HTTP/1.1" 200 2808 INFO 2025-08-07 04:33:54,229 basehttp 25293 13723840512 "GET /static/admin/js/theme.js HTTP/1.1" 200 1653 INFO 2025-08-07 04:33:54,229 basehttp 25293 13707014144 "GET /static/admin/css/changelists.css HTTP/1.1" 200 6878 INFO 2025-08-07 04:33:54,231 basehttp 25293 6150123520 "GET /static/admin/js/jquery.init.js HTTP/1.1" 200 347 INFO 2025-08-07 04:33:54,231 basehttp 25293 6166949888 "GET /static/admin/css/responsive.css HTTP/1.1" 200 16565 INFO 2025-08-07 04:33:54,232 basehttp 25293 13723840512 "GET /static/admin/js/core.js HTTP/1.1" 200 6208 INFO 2025-08-07 04:33:54,233 basehttp 25293 13707014144 "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 200 9777 INFO 2025-08-07 04:33:54,234 basehttp 25293 6150123520 "GET /static/admin/js/actions.js HTTP/1.1" 200 8076 INFO 2025-08-07 04:33:54,235 basehttp 25293 6166949888 "GET /static/admin/js/urlify.js HTTP/1.1" 200 7887 INFO 2025-08-07 04:33:54,236 basehttp 25293 13723840512 "GET /static/admin/js/prepopulate.js HTTP/1.1" 200 1531 INFO 2025-08-07 04:33:54,237 basehttp 25293 6150123520 "GET /static/admin/img/search.svg HTTP/1.1" 200 458 INFO 2025-08-07 04:33:54,241 basehttp 25293 6133297152 "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 200 285314 INFO 2025-08-07 04:33:54,242 basehttp 25293 13740666880 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 04:33:54,244 basehttp 25293 13740666880 "GET /static/admin/js/nav_sidebar.js HTTP/1.1" 200 3063 INFO 2025-08-07 04:33:54,244 basehttp 25293 13707014144 "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 200 325171 INFO 2025-08-07 04:33:54,246 basehttp 25293 13707014144 "GET /static/admin/js/filters.js HTTP/1.1" 200 978 INFO 2025-08-07 04:33:54,254 basehttp 25293 13707014144 "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 200 331 INFO 2025-08-07 04:33:54,254 basehttp 25293 13740666880 "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 200 331 INFO 2025-08-07 04:33:54,254 basehttp 25293 6133297152 "GET /static/admin/img/sorting-icons.svg HTTP/1.1" 200 1097 INFO 2025-08-07 04:33:54,255 basehttp 25293 6133297152 "GET /static/admin/img/icon-viewlink.svg HTTP/1.1" 200 581 INFO 2025-08-07 04:34:36,027 basehttp 25293 6133297152 "GET /en/admin/patients/patientprofile/ HTTP/1.1" 200 135031 INFO 2025-08-07 04:34:36,037 basehttp 25293 13740666880 "GET /static/admin/img/icon-yes.svg HTTP/1.1" 200 436 INFO 2025-08-07 04:34:36,042 basehttp 25293 6133297152 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 04:42:23,991 autoreload 11041 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 04:42:26,849 basehttp 11041 6171373568 "GET /en/admin/patients/patientprofile/28/change/ HTTP/1.1" 200 191521 INFO 2025-08-07 04:42:26,863 basehttp 11041 6171373568 "GET /static/admin/css/forms.css HTTP/1.1" 200 8525 INFO 2025-08-07 04:42:26,864 basehttp 11041 6205026304 "GET /static/admin/js/calendar.js HTTP/1.1" 200 9141 INFO 2025-08-07 04:42:26,864 basehttp 11041 6255505408 "GET /static/admin/js/prepopulate_init.js HTTP/1.1" 200 586 INFO 2025-08-07 04:42:26,864 basehttp 11041 6238679040 "GET /static/admin/js/inlines.js HTTP/1.1" 200 15628 INFO 2025-08-07 04:42:26,865 basehttp 11041 6221852672 "GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 200 19319 INFO 2025-08-07 04:42:26,865 basehttp 11041 6171373568 "GET /static/admin/css/widgets.css HTTP/1.1" 200 11991 INFO 2025-08-07 04:42:26,866 basehttp 11041 6171373568 "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 200 380 INFO 2025-08-07 04:42:26,867 basehttp 11041 6171373568 "GET /static/admin/img/icon-deletelink.svg HTTP/1.1" 200 392 INFO 2025-08-07 04:42:26,868 basehttp 11041 6171373568 "GET /static/admin/img/icon-unknown.svg HTTP/1.1" 200 655 INFO 2025-08-07 04:42:26,869 basehttp 11041 6188199936 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 04:42:26,870 basehttp 11041 6171373568 "GET /static/admin/js/change_form.js HTTP/1.1" 200 606 INFO 2025-08-07 04:42:26,896 basehttp 11041 6171373568 "GET /static/admin/img/icon-calendar.svg HTTP/1.1" 200 1086 INFO 2025-08-07 04:42:26,897 basehttp 11041 6188199936 "GET /static/admin/img/icon-clock.svg HTTP/1.1" 200 677 INFO 2025-08-07 04:42:26,905 basehttp 11041 6188199936 "GET /static/admin/img/inline-delete.svg HTTP/1.1" 200 537 INFO 2025-08-07 04:42:34,287 basehttp 11041 6188199936 "POST /en/admin/patients/patientprofile/28/change/ HTTP/1.1" 302 0 INFO 2025-08-07 04:42:34,325 basehttp 11041 6188199936 "GET /en/admin/patients/patientprofile/ HTTP/1.1" 200 135294 INFO 2025-08-07 04:42:34,339 basehttp 11041 6188199936 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 04:42:55,654 autoreload 11277 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 04:42:58,114 basehttp 11277 6137360384 "GET /en/admin/patients/patientprofile/ HTTP/1.1" 200 135037 INFO 2025-08-07 04:42:58,129 basehttp 11277 6137360384 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 04:46:38,154 autoreload 12918 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 04:46:40,738 basehttp 12918 6171865088 "GET /en/admin/patients/patientprofile/ HTTP/1.1" 200 134437 INFO 2025-08-07 04:46:40,754 basehttp 12918 6171865088 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 04:46:46,096 basehttp 12918 6171865088 "GET /en/admin/patients/patientprofile/?p=2 HTTP/1.1" 200 105452 INFO 2025-08-07 04:46:46,108 basehttp 12918 6171865088 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 04:46:50,197 basehttp 12918 6171865088 "GET /en/admin/patients/patientprofile/?p=1 HTTP/1.1" 200 137063 INFO 2025-08-07 04:46:50,207 basehttp 12918 6171865088 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 04:56:35,712 basehttp 12918 6171865088 "GET /en/analytics/dashboards/ HTTP/1.1" 200 68606 WARNING 2025-08-07 04:56:35,728 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 04:56:35,728 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 04:56:35,771 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 WARNING 2025-08-07 04:56:53,721 log 12918 6171865088 Not Found: /en/analytics/dashboards/2/ WARNING 2025-08-07 04:56:53,722 basehttp 12918 6171865088 "GET /en/analytics/dashboards/2/ HTTP/1.1" 404 30023 WARNING 2025-08-07 04:56:53,735 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 04:56:53,735 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 04:56:58,849 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 04:56:58,849 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 04:56:58,862 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 04:56:58,862 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 04:57:36,227 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-07 04:58:37,223 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-07 04:59:38,226 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-07 05:00:39,227 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-07 05:01:40,223 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-07 05:02:41,222 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-07 05:03:43,224 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-07 05:05:14,220 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-07 05:06:14,217 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 WARNING 2025-08-07 05:06:16,419 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:16,419 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 05:06:20,119 basehttp 12918 6171865088 "GET /en/analytics/dashboards/ HTTP/1.1" 200 68606 WARNING 2025-08-07 05:06:20,136 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:20,136 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 05:06:20,215 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 WARNING 2025-08-07 05:06:22,653 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:22,653 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 05:06:22,668 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:22,668 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 05:06:23,825 basehttp 12918 6171865088 "GET /en/analytics/reports/ HTTP/1.1" 200 34715 WARNING 2025-08-07 05:06:23,844 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:23,844 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 05:06:23,886 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-07 05:06:23,903 basehttp 12918 6171865088 "GET /en/analytics/reports/?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=type&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=last_generated&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=next_run&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=created_by&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=5&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&type=&_=1754532383862 HTTP/1.1" 200 34715 ERROR 2025-08-07 05:06:23,916 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:06:23,918 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117251 WARNING 2025-08-07 05:06:32,696 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:32,696 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 05:06:32,710 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:32,710 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 05:06:34,739 log 12918 13170143232 Internal Server Error: /en/analytics/data-sources/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 387, in get_queryset return queryset.order_by('source_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'source_name' into field. Choices are: authentication_config, cache_duration, connection_config, connection_type, created_at, created_by, created_by_id, data_transformation, description, health_check_interval, is_active, is_healthy, last_health_check, last_test_duration_seconds, last_test_end_at, last_test_error_message, last_test_start_at, last_test_status, metrics, name, parameters, query_template, reports, source_id, source_type, tenant, tenant_id, updated_at, widgets ERROR 2025-08-07 05:06:34,740 basehttp 12918 13170143232 "GET /en/analytics/data-sources/ HTTP/1.1" 500 102740 WARNING 2025-08-07 05:06:34,752 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:34,752 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 05:06:39,494 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:39,494 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 05:06:39,511 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:39,512 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 05:06:42,064 log 12918 13170143232 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 735, in get_queryset return queryset.select_related('data_source').order_by('metric_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'metric_name' into field. Choices are: aggregation_config, aggregation_period, calculation_config, created_at, created_by, created_by_id, critical_threshold, data_source, data_source_id, decimal_places, description, display_format, is_active, metric_id, metric_type, name, target_value, tenant, tenant_id, unit_of_measure, updated_at, values, warning_threshold ERROR 2025-08-07 05:06:42,065 basehttp 12918 13170143232 "GET /en/analytics/metrics/ HTTP/1.1" 500 102030 WARNING 2025-08-07 05:06:42,084 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:42,085 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 05:06:44,104 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:44,107 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 05:06:44,126 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:44,126 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 05:06:45,094 log 12918 13170143232 Internal Server Error: /en/analytics/executions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 650, in get_queryset queryset = ReportExecution.objects.filter(tenant=self.request.user.tenant) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:06:45,095 basehttp 12918 13170143232 "GET /en/analytics/executions/ HTTP/1.1" 500 130067 WARNING 2025-08-07 05:06:45,105 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:45,106 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 05:06:46,768 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:46,772 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 05:06:46,773 basehttp 12918 6171865088 - Broken pipe from ('127.0.0.1', 50326) ERROR 2025-08-07 05:06:46,784 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:06:46,785 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 WARNING 2025-08-07 05:06:46,786 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:06:46,787 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 05:07:05,157 log 12918 6171865088 Internal Server Error: /en/analytics/data-sources/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 47, in select_template raise TemplateDoesNotExist(", ".join(template_name_list), chain=chain) django.template.exceptions.TemplateDoesNotExist: analytics/data_source_form.html ERROR 2025-08-07 05:07:05,159 basehttp 12918 6171865088 "GET /en/analytics/data-sources/create/ HTTP/1.1" 500 82143 WARNING 2025-08-07 05:07:05,178 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:07:05,178 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 05:07:07,983 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:07:07,983 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 05:07:08,002 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:07:08,002 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 05:07:17,226 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:07:17,235 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:07:17,237 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:07:48,229 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:07:48,231 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:08:18,207 basehttp 12918 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:08:19,207 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:08:19,208 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:08:50,227 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:08:50,228 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:09:19,213 basehttp 12918 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:09:21,232 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:09:21,232 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:10:14,210 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:10:14,210 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:10:20,208 basehttp 12918 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:11:14,233 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:11:14,234 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:11:21,210 basehttp 12918 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:12:14,220 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:12:14,220 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:12:22,197 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:13:14,209 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:13:14,210 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:14:14,192 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:14:14,202 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:14:14,205 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:15:14,201 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:15:14,202 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:16:14,202 basehttp 12918 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:16:14,211 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:16:14,212 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:17:14,222 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:17:14,224 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:18:14,200 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:18:14,219 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:18:14,221 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:19:14,210 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:19:14,211 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:20:14,198 basehttp 12918 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:20:14,214 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:20:14,216 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:21:14,198 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:21:14,199 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:22:14,206 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:22:14,224 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:22:14,225 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:23:14,192 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:23:14,193 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:24:14,203 basehttp 12918 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:24:14,220 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:24:14,222 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:25:14,243 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:25:14,244 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:26:14,202 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:26:14,218 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:26:14,219 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:27:14,217 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:27:14,218 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:28:14,276 basehttp 12918 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:28:14,287 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:28:14,288 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:29:14,283 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:29:14,285 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:30:14,278 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:30:14,296 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:30:14,297 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:31:14,288 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:31:14,290 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:32:14,269 basehttp 12918 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:32:14,282 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:32:14,283 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:33:14,277 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:33:14,278 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:34:14,248 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:34:14,258 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:34:14,258 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:35:14,270 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:35:14,271 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:36:14,275 basehttp 12918 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:36:14,293 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:36:14,295 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:37:14,269 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:37:14,270 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:38:00,383 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:38:00,393 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:38:00,394 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:38:04,032 basehttp 12918 13170143232 "GET /en/analytics/ HTTP/1.1" 200 32345 INFO 2025-08-07 05:38:04,144 basehttp 12918 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:38:04,158 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:38:04,162 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 WARNING 2025-08-07 05:38:04,168 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:38:04,168 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 05:38:06,921 log 12918 13170143232 Internal Server Error: /en/analytics/widgets/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 252, in get_queryset queryset = DashboardWidget.objects.filter(tenant=self.request.user.tenant) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: auto_refresh, chart_type, color_scheme, created_at, dashboard, dashboard_id, data_source, data_source_id, description, display_config, height, is_active, name, position_x, position_y, query_config, refresh_interval, updated_at, widget_id, widget_type, width ERROR 2025-08-07 05:38:06,923 basehttp 12918 13170143232 "GET /en/analytics/widgets/ HTTP/1.1" 500 130326 WARNING 2025-08-07 05:38:06,940 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:38:06,940 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 05:38:08,923 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:38:08,924 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 05:38:08,941 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:38:08,941 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 05:38:34,154 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:38:34,156 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:39:04,150 basehttp 12918 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:39:04,164 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:39:04,166 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:39:34,147 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:39:34,148 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:40:04,154 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:40:04,196 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:40:04,197 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:40:34,165 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:40:34,166 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:41:04,267 basehttp 12918 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:41:04,284 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:41:04,285 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:41:35,285 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:41:35,287 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:42:05,258 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:42:14,278 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:42:14,279 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:43:06,264 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:43:14,273 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:43:14,274 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 05:44:07,258 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 ERROR 2025-08-07 05:44:14,242 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:44:14,242 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 ERROR 2025-08-07 05:44:52,144 log 12918 6171865088 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:44:52,144 basehttp 12918 6171865088 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 WARNING 2025-08-07 05:44:53,803 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:44:53,803 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 05:44:53,879 basehttp 12918 6171865088 "GET /en/analytics/reports/?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=type&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=last_generated&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=next_run&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=created_by&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=5&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&type=&_=1754534693804 HTTP/1.1" 200 34715 ERROR 2025-08-07 05:44:53,889 log 12918 13170143232 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 05:44:53,890 basehttp 12918 13170143232 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117251 INFO 2025-08-07 05:44:56,640 basehttp 12918 13170143232 "GET / HTTP/1.1" 302 0 INFO 2025-08-07 05:44:56,666 basehttp 12918 6171865088 "GET /en/ HTTP/1.1" 200 47437 WARNING 2025-08-07 05:44:56,684 log 12918 6171865088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:44:56,684 basehttp 12918 6171865088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 05:44:56,784 basehttp 12918 6171865088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 INFO 2025-08-07 05:44:56,788 basehttp 12918 13203795968 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-07 05:44:56,789 basehttp 12918 13186969600 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-07 05:44:56,790 basehttp 12918 13170143232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-07 05:45:05,316 basehttp 12918 13170143232 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 47599 WARNING 2025-08-07 05:45:05,336 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:45:05,336 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 05:45:05,380 basehttp 12918 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4444 WARNING 2025-08-07 05:45:08,387 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:45:08,387 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 05:45:08,406 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:45:08,406 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 05:45:26,764 basehttp 12918 13170143232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-07 05:45:54,256 log 12918 13170143232 Not Found: /en/metrics/ WARNING 2025-08-07 05:45:54,257 basehttp 12918 13170143232 "GET /en/metrics/ HTTP/1.1" 404 29628 WARNING 2025-08-07 05:45:54,274 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:45:54,274 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 05:46:12,009 log 12918 13170143232 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 735, in get_queryset return queryset.select_related('data_source').order_by('metric_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'metric_name' into field. Choices are: aggregation_config, aggregation_period, calculation_config, created_at, created_by, created_by_id, critical_threshold, data_source, data_source_id, decimal_places, description, display_format, is_active, metric_id, metric_type, name, target_value, tenant, tenant_id, unit_of_measure, updated_at, values, warning_threshold ERROR 2025-08-07 05:46:12,010 basehttp 12918 13170143232 "GET /en/analytics/metrics/ HTTP/1.1" 500 101866 WARNING 2025-08-07 05:46:12,027 log 12918 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 05:46:12,027 basehttp 12918 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 12:55:37,244 basehttp 12918 6171865088 "GET /en/admin/patients/patientprofile/?p=1 HTTP/1.1" 200 137063 INFO 2025-08-07 13:53:30,542 autoreload 12918 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-07 13:53:31,016 autoreload 86031 8601149632 Watching for file changes with StatReloader ERROR 2025-08-07 13:53:33,328 log 86031 6133395456 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 735, in get_queryset return queryset.select_related('data_source').order_by('metric_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'metric_name' into field. Choices are: aggregation_config, aggregation_period, calculation_config, created_at, created_by, created_by_id, critical_threshold, data_source, data_source_id, decimal_places, description, display_format, is_active, metric_id, metric_type, name, target_value, tenant, tenant_id, unit_of_measure, updated_at, values, warning_threshold ERROR 2025-08-07 13:53:33,331 basehttp 86031 6133395456 "GET /en/analytics/metrics/ HTTP/1.1" 500 102003 WARNING 2025-08-07 13:53:33,347 log 86031 6133395456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 13:53:33,347 basehttp 86031 6133395456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 13:53:36,809 log 86031 6133395456 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 735, in get_queryset return queryset.select_related('data_source').order_by('metric_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'metric_name' into field. Choices are: aggregation_config, aggregation_period, calculation_config, created_at, created_by, created_by_id, critical_threshold, data_source, data_source_id, decimal_places, description, display_format, is_active, metric_id, metric_type, name, target_value, tenant, tenant_id, unit_of_measure, updated_at, values, warning_threshold ERROR 2025-08-07 13:53:36,810 basehttp 86031 6133395456 "GET /en/analytics/metrics/ HTTP/1.1" 500 102003 WARNING 2025-08-07 13:53:36,822 log 86031 6133395456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 13:53:36,822 basehttp 86031 6133395456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 13:53:47,699 autoreload 86031 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-07 13:53:48,017 autoreload 86184 8601149632 Watching for file changes with StatReloader ERROR 2025-08-07 13:53:51,082 log 86184 6159921152 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 742, in get_context_data ).order_by('source_name') ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'source_name' into field. Choices are: authentication_config, cache_duration, connection_config, connection_type, created_at, created_by, created_by_id, data_transformation, description, health_check_interval, is_active, is_healthy, last_health_check, last_test_duration_seconds, last_test_end_at, last_test_error_message, last_test_start_at, last_test_status, metrics, name, parameters, query_template, reports, source_id, source_type, tenant, tenant_id, updated_at, widgets ERROR 2025-08-07 13:53:51,084 basehttp 86184 6159921152 "GET /en/analytics/metrics/ HTTP/1.1" 500 102964 WARNING 2025-08-07 13:53:51,102 log 86184 6159921152 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 13:53:51,102 basehttp 86184 6159921152 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 13:54:07,717 autoreload 86184 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-07 13:54:07,991 autoreload 86337 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 13:54:12,321 basehttp 86337 6199980032 "GET /en/analytics/metrics/ HTTP/1.1" 200 34909 WARNING 2025-08-07 13:54:12,341 log 86337 6199980032 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 13:54:12,342 basehttp 86337 6199980032 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 13:54:12,387 basehttp 86337 6199980032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 13:54:48,529 autoreload 86337 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-07 13:54:48,903 autoreload 86643 8601149632 Watching for file changes with StatReloader WARNING 2025-08-07 13:54:49,900 log 86643 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 13:54:49,900 basehttp 86643 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 13:54:49,916 log 86643 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 13:54:49,916 basehttp 86643 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 13:54:52,070 log 86643 12918534144 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'metric_create' not found. 'metric_create' is not a valid view function or pattern name. ERROR 2025-08-07 13:54:52,072 basehttp 86643 12918534144 "GET /en/analytics/metrics/ HTTP/1.1" 500 166700 WARNING 2025-08-07 13:54:52,087 log 86643 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 13:54:52,087 basehttp 86643 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 13:55:33,508 autoreload 86643 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-07 13:55:33,816 autoreload 86954 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 13:55:35,472 basehttp 86954 6201110528 "GET /en/analytics/metrics/ HTTP/1.1" 200 34909 WARNING 2025-08-07 13:55:35,489 log 86954 6201110528 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 13:55:35,489 basehttp 86954 6201110528 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 13:55:35,527 basehttp 86954 6201110528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 13:56:35,541 basehttp 86954 6201110528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 13:57:35,523 basehttp 86954 6201110528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 13:58:35,509 basehttp 86954 6201110528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 13:59:35,504 basehttp 86954 6201110528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:00:35,507 basehttp 86954 6201110528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:01:12,491 autoreload 86954 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-07 14:01:12,778 autoreload 89390 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 14:01:35,710 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:02:37,674 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:04:32,674 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:06:32,673 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:08:32,675 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:10:32,674 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:12:32,728 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:14:32,715 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:16:32,729 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:17:51,964 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:18:51,949 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:19:51,963 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:20:51,967 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:21:51,969 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:22:51,976 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:23:51,975 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:24:51,976 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:25:51,980 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:26:51,987 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:27:51,982 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:28:51,873 basehttp 89390 6191181824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 14:44:51,718 autoreload 9056 8601149632 Watching for file changes with StatReloader ERROR 2025-08-07 14:44:53,756 log 9056 6131118080 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'metric_create' not found. 'metric_create' is not a valid view function or pattern name. ERROR 2025-08-07 14:44:53,760 basehttp 9056 6131118080 "GET /en/analytics/metrics/ HTTP/1.1" 500 166602 WARNING 2025-08-07 14:44:53,936 log 9056 6131118080 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 14:44:53,936 basehttp 9056 6131118080 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 14:45:29,915 log 9056 6131118080 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'metric_list_api' not found. 'metric_list_api' is not a valid view function or pattern name. ERROR 2025-08-07 14:45:29,917 basehttp 9056 6131118080 "GET /en/analytics/metrics/ HTTP/1.1" 500 168271 WARNING 2025-08-07 14:45:29,932 log 9056 6131118080 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 14:45:29,932 basehttp 9056 6131118080 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 14:46:00,116 log 9056 6131118080 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'metric_stats' not found. 'metric_stats' is not a valid view function or pattern name. ERROR 2025-08-07 14:46:00,118 basehttp 9056 6131118080 "GET /en/analytics/metrics/ HTTP/1.1" 500 167811 WARNING 2025-08-07 14:46:00,130 log 9056 6131118080 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 14:46:00,130 basehttp 9056 6131118080 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:06:04,086 autoreload 9056 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-07 15:06:04,459 autoreload 18294 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 15:06:34,578 autoreload 18294 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-07 15:06:34,909 autoreload 18530 8601149632 Watching for file changes with StatReloader ERROR 2025-08-07 15:06:38,162 log 18530 6129823744 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'metric_detail' not found. 'metric_detail' is not a valid view function or pattern name. ERROR 2025-08-07 15:06:38,164 basehttp 18530 6129823744 "GET /en/analytics/metrics/ HTTP/1.1" 500 168120 WARNING 2025-08-07 15:06:38,181 log 18530 6129823744 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:06:38,181 basehttp 18530 6129823744 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 15:07:08,122 log 18530 6129823744 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'metric_refresh' not found. 'metric_refresh' is not a valid view function or pattern name. ERROR 2025-08-07 15:07:08,124 basehttp 18530 6129823744 "GET /en/analytics/metrics/ HTTP/1.1" 500 168621 WARNING 2025-08-07 15:07:08,142 log 18530 6129823744 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:07:08,142 basehttp 18530 6129823744 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 15:07:55,899 log 18530 6129823744 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for '' not found. '' is not a valid view function or pattern name. ERROR 2025-08-07 15:07:55,900 basehttp 18530 6129823744 "GET /en/analytics/metrics/ HTTP/1.1" 500 167465 WARNING 2025-08-07 15:07:55,911 log 18530 6129823744 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:07:55,911 basehttp 18530 6129823744 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 15:08:25,412 log 18530 6129823744 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'metric_bulk_activate' not found. 'metric_bulk_activate' is not a valid view function or pattern name. ERROR 2025-08-07 15:08:25,413 basehttp 18530 6129823744 "GET /en/analytics/metrics/ HTTP/1.1" 500 169611 WARNING 2025-08-07 15:08:25,428 log 18530 6129823744 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:08:25,428 basehttp 18530 6129823744 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:09:03,318 basehttp 18530 6129823744 "GET /en/analytics/metrics/ HTTP/1.1" 200 35964 WARNING 2025-08-07 15:09:03,341 log 18530 6129823744 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:09:03,342 basehttp 18530 6129823744 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:09:03,401 basehttp 18530 6129823744 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:09:03,410 basehttp 18530 6146650112 "GET /en/analytics/metrics/?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=current_value&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=target_value&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=status&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=last_updated&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=update_frequency&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=6&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&frequency=&_=1754568543341 HTTP/1.1" 200 35964 ERROR 2025-08-07 15:09:03,413 log 18530 6163476480 Internal Server Error: /en/analytics/ajax/metric-stats/ ERROR 2025-08-07 15:09:03,413 basehttp 18530 6163476480 "GET /en/analytics/ajax/metric-stats/ HTTP/1.1" 500 369 INFO 2025-08-07 15:10:03,398 basehttp 18530 6163476480 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:10:45,388 basehttp 18530 6129823744 "GET /en/analytics/metrics/ HTTP/1.1" 200 35964 INFO 2025-08-07 15:10:45,416 basehttp 18530 13438578688 "GET /static/plugins/datatables.net-bs5/css/dataTables.bootstrap5.min.css HTTP/1.1" 200 15096 INFO 2025-08-07 15:10:45,416 basehttp 18530 6163476480 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-07 15:10:45,418 basehttp 18530 13455405056 "GET /static/plugins/datatables.net-responsive-bs5/css/responsive.bootstrap5.min.css HTTP/1.1" 200 6044 INFO 2025-08-07 15:10:45,421 basehttp 18530 13455405056 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 WARNING 2025-08-07 15:10:45,425 log 18530 6163476480 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-07 15:10:45,425 basehttp 18530 13438578688 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 WARNING 2025-08-07 15:10:45,426 basehttp 18530 6163476480 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:10:45,428 basehttp 18530 6129823744 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-07 15:10:45,432 basehttp 18530 6146650112 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-07 15:10:45,432 basehttp 18530 13472231424 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-07 15:10:45,436 basehttp 18530 13438578688 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-07 15:10:45,443 basehttp 18530 13455405056 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-07 15:10:45,447 basehttp 18530 13455405056 "GET /static/plugins/datatables.net-bs5/js/dataTables.bootstrap5.min.js HTTP/1.1" 200 1470 INFO 2025-08-07 15:10:45,447 basehttp 18530 13438578688 "GET /static/plugins/datatables.net/js/dataTables.min.js HTTP/1.1" 200 95735 INFO 2025-08-07 15:10:45,453 basehttp 18530 13438578688 "GET /static/plugins/datatables.net-responsive-bs5/js/responsive.bootstrap5.min.js HTTP/1.1" 200 1796 INFO 2025-08-07 15:10:45,454 basehttp 18530 13455405056 "GET /static/plugins/datatables.net-responsive/js/dataTables.responsive.min.js HTTP/1.1" 200 16086 INFO 2025-08-07 15:10:45,821 basehttp 18530 6146650112 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-07 15:10:45,822 basehttp 18530 6129823744 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-07 15:10:45,822 basehttp 18530 13438578688 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-07 15:10:45,824 basehttp 18530 13472231424 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-07 15:10:45,824 basehttp 18530 13455405056 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-07 15:10:45,828 basehttp 18530 6163476480 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-07 15:10:45,829 basehttp 18530 6129823744 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-07 15:10:45,829 basehttp 18530 13472231424 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-07 15:10:45,829 basehttp 18530 13438578688 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-07 15:10:45,832 basehttp 18530 13455405056 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-07 15:10:45,834 basehttp 18530 6163476480 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-07 15:10:45,834 basehttp 18530 6129823744 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-07 15:10:45,834 basehttp 18530 13472231424 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-07 15:10:45,836 basehttp 18530 13438578688 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-07 15:10:45,838 basehttp 18530 6163476480 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-07 15:10:45,838 basehttp 18530 13472231424 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-07 15:10:45,838 basehttp 18530 6129823744 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-07 15:10:45,839 basehttp 18530 13438578688 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-07 15:10:45,839 basehttp 18530 6146650112 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-07 15:10:45,843 basehttp 18530 6163476480 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-07 15:10:45,845 basehttp 18530 13438578688 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-07 15:10:45,846 basehttp 18530 13472231424 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-07 15:10:45,846 basehttp 18530 6146650112 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-07 15:10:45,849 basehttp 18530 6129823744 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:10:45,853 basehttp 18530 13455405056 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 ERROR 2025-08-07 15:10:45,867 log 18530 6129823744 Internal Server Error: /en/analytics/ajax/metric-stats/ ERROR 2025-08-07 15:10:45,867 basehttp 18530 6129823744 "GET /en/analytics/ajax/metric-stats/ HTTP/1.1" 500 369 INFO 2025-08-07 15:10:45,870 basehttp 18530 13455405056 "GET /en/analytics/metrics/?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=current_value&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=target_value&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=status&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=last_updated&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=update_frequency&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=6&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&frequency=&_=1754568645803 HTTP/1.1" 200 35964 WARNING 2025-08-07 15:10:52,638 log 18530 13455405056 Not Found: /favicon.ico WARNING 2025-08-07 15:10:52,639 basehttp 18530 13455405056 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-07 15:11:45,863 basehttp 18530 13455405056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:12:45,859 basehttp 18530 13455405056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:12:45,881 basehttp 18530 13455405056 "GET /en/analytics/metrics/?draw=2&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=current_value&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=target_value&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=status&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=last_updated&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=update_frequency&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=6&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&frequency=&_=1754568645804 HTTP/1.1" 200 35964 ERROR 2025-08-07 15:12:45,882 log 18530 6129823744 Internal Server Error: /en/analytics/ajax/metric-stats/ ERROR 2025-08-07 15:12:45,882 basehttp 18530 6129823744 "GET /en/analytics/ajax/metric-stats/ HTTP/1.1" 500 369 INFO 2025-08-07 15:19:10,559 autoreload 18530 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-07 15:19:11,068 autoreload 24046 8601149632 Watching for file changes with StatReloader ERROR 2025-08-07 15:19:14,864 log 24046 13170143232 Internal Server Error: /en/analytics/ajax/metric-stats/ ERROR 2025-08-07 15:19:14,864 basehttp 24046 13170143232 "GET /en/analytics/ajax/metric-stats/ HTTP/1.1" 500 369 INFO 2025-08-07 15:19:14,950 basehttp 24046 6150238208 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-07 15:19:14,989 log 24046 6133411840 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'metric_list' not found. 'metric_list' is not a valid view function or pattern name. ERROR 2025-08-07 15:19:14,995 log 24046 6167064576 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'metric_list' not found. 'metric_list' is not a valid view function or pattern name. ERROR 2025-08-07 15:19:14,998 basehttp 24046 6133411840 "GET /en/analytics/metrics/ HTTP/1.1" 500 177756 INFO 2025-08-07 15:19:15,004 basehttp 24046 6167064576 - Broken pipe from ('127.0.0.1', 53163) WARNING 2025-08-07 15:19:15,021 log 24046 6133411840 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:19:15,021 basehttp 24046 6133411840 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:20:10,136 autoreload 24046 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-07 15:20:10,485 autoreload 24439 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 15:20:13,166 basehttp 24439 6136672256 "GET /en/analytics/metrics/ HTTP/1.1" 200 35973 WARNING 2025-08-07 15:20:13,188 log 24439 6136672256 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:20:13,190 basehttp 24439 6136672256 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:20:13,251 basehttp 24439 6136672256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:20:13,275 basehttp 24439 6136672256 "GET /en/analytics/ajax/metric-list/?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=current_value&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=target_value&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=status&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=last_updated&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=update_frequency&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=6&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&frequency=&_=1754569213208 HTTP/1.1" 200 64 ERROR 2025-08-07 15:20:13,277 log 24439 6153498624 Internal Server Error: /en/analytics/ajax/metric-stats/ ERROR 2025-08-07 15:20:13,277 basehttp 24439 6153498624 "GET /en/analytics/ajax/metric-stats/ HTTP/1.1" 500 369 WARNING 2025-08-07 15:20:23,796 log 24439 6153498624 Not Found: /en/metrics/ WARNING 2025-08-07 15:20:23,797 basehttp 24439 6153498624 "GET /en/metrics/ HTTP/1.1" 404 29628 WARNING 2025-08-07 15:20:23,823 log 24439 6153498624 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:20:23,823 basehttp 24439 6153498624 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:20:24,657 basehttp 24439 6153498624 "GET /en/ HTTP/1.1" 200 47277 WARNING 2025-08-07 15:20:24,675 log 24439 6153498624 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:20:24,675 basehttp 24439 6153498624 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:20:24,714 basehttp 24439 6136672256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-07 15:20:24,714 basehttp 24439 6170324992 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-07 15:20:24,715 basehttp 24439 6153498624 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-07 15:20:36,131 basehttp 24439 6153498624 "GET /en/appointments/ HTTP/1.1" 200 33059 WARNING 2025-08-07 15:20:36,152 log 24439 6153498624 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:20:36,152 basehttp 24439 6153498624 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:20:36,182 basehttp 24439 6153498624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:20:36,186 basehttp 24439 6170324992 "GET /en/appointments/stats/ HTTP/1.1" 200 3132 INFO 2025-08-07 15:20:40,930 basehttp 24439 6170324992 "GET / HTTP/1.1" 302 0 INFO 2025-08-07 15:20:40,950 basehttp 24439 6153498624 "GET /en/ HTTP/1.1" 200 47277 WARNING 2025-08-07 15:20:40,971 log 24439 6153498624 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:20:40,971 basehttp 24439 6153498624 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:20:41,034 basehttp 24439 6153498624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:20:41,038 basehttp 24439 13572796416 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-07 15:20:41,038 basehttp 24439 6170324992 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-07 15:20:41,039 basehttp 24439 6136672256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-07 15:20:44,225 basehttp 24439 6136672256 "GET /en/analytics/ HTTP/1.1" 200 32345 WARNING 2025-08-07 15:20:44,238 log 24439 6136672256 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:20:44,239 basehttp 24439 6136672256 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:20:44,260 basehttp 24439 6136672256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-07 15:20:44,270 log 24439 6170324992 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 15:20:44,272 basehttp 24439 6170324992 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117391 INFO 2025-08-07 15:20:49,334 basehttp 24439 6170324992 "GET /en/analytics/dashboards/ HTTP/1.1" 200 68606 WARNING 2025-08-07 15:20:49,353 log 24439 6170324992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:20:49,353 basehttp 24439 6170324992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:20:49,404 basehttp 24439 6170324992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-07 15:20:52,676 log 24439 6170324992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:20:52,677 basehttp 24439 6170324992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 15:20:52,706 log 24439 6170324992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:20:52,706 basehttp 24439 6170324992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:20:54,144 basehttp 24439 6170324992 "GET /en/analytics/reports/ HTTP/1.1" 200 34715 WARNING 2025-08-07 15:20:54,167 log 24439 6170324992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:20:54,167 basehttp 24439 6170324992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:20:54,205 basehttp 24439 6170324992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:20:54,236 basehttp 24439 6170324992 "GET /en/analytics/reports/?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=type&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=last_generated&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=next_run&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=created_by&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=5&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&type=&_=1754569254194 HTTP/1.1" 200 34715 ERROR 2025-08-07 15:20:54,248 log 24439 6136672256 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 15:20:54,250 basehttp 24439 6136672256 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117251 INFO 2025-08-07 15:21:54,735 basehttp 24439 6136672256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:22:55,743 basehttp 24439 6136672256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:23:56,743 basehttp 24439 6136672256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:24:14,678 autoreload 24439 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-07 15:24:15,103 autoreload 26275 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 15:24:40,058 autoreload 26275 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-07 15:24:40,418 autoreload 26433 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 15:24:42,079 basehttp 26433 6193901568 "GET /en/analytics/reports/ HTTP/1.1" 200 34724 WARNING 2025-08-07 15:24:42,105 log 26433 6193901568 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:24:42,106 basehttp 26433 6193901568 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:24:42,152 basehttp 26433 6193901568 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-07 15:24:42,167 log 26433 6193901568 Internal Server Error: /en/analytics/ajax/report-list/ ERROR 2025-08-07 15:24:42,167 basehttp 26433 6193901568 "GET /en/analytics/ajax/report-list/?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=type&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=last_generated&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=next_run&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=created_by&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=5&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&type=&_=1754569482111 HTTP/1.1" 500 432 ERROR 2025-08-07 15:24:42,181 log 26433 6210727936 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 15:24:42,184 basehttp 26433 6210727936 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117251 INFO 2025-08-07 15:24:45,213 basehttp 26433 6210727936 "GET /en/analytics/reports/ HTTP/1.1" 200 34724 WARNING 2025-08-07 15:24:45,236 log 26433 6210727936 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:24:45,237 basehttp 26433 6210727936 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:24:45,274 basehttp 26433 6210727936 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-07 15:24:45,300 log 26433 6210727936 Internal Server Error: /en/analytics/ajax/report-list/ ERROR 2025-08-07 15:24:45,301 basehttp 26433 6210727936 "GET /en/analytics/ajax/report-list/?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=type&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=last_generated&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=next_run&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=created_by&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=5&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&type=&_=1754569485236 HTTP/1.1" 500 432 ERROR 2025-08-07 15:24:45,309 log 26433 6193901568 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 15:24:45,310 basehttp 26433 6193901568 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117251 INFO 2025-08-07 15:25:45,290 basehttp 26433 6193901568 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:26:45,293 basehttp 26433 6193901568 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:27:43,385 autoreload 26433 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-07 15:27:43,736 autoreload 27726 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 15:27:45,387 basehttp 27726 6126661632 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:27:45,942 basehttp 27726 6126661632 "GET /en/analytics/reports/ HTTP/1.1" 200 34724 WARNING 2025-08-07 15:27:45,957 log 27726 6126661632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:27:45,958 basehttp 27726 6126661632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:27:45,994 basehttp 27726 6126661632 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-07 15:27:46,031 log 27726 6126661632 Internal Server Error: /en/analytics/ajax/report-list/ ERROR 2025-08-07 15:27:46,039 log 27726 6143488000 Internal Server Error: /en/analytics/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 897, in analytics_stats 'executions_today': ReportExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 15:27:46,043 basehttp 27726 6126661632 "GET /en/analytics/ajax/report-list/?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=type&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=last_generated&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=next_run&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=created_by&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=5&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&type=&_=1754569665960 HTTP/1.1" 500 432 ERROR 2025-08-07 15:27:46,054 basehttp 27726 6143488000 "GET /en/analytics/htmx/stats/ HTTP/1.1" 500 117848 INFO 2025-08-07 15:28:12,768 autoreload 27726 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-07 15:28:13,121 autoreload 27957 8601149632 Watching for file changes with StatReloader WARNING 2025-08-07 15:28:14,176 log 27957 6159511552 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:28:14,177 basehttp 27957 6159511552 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 15:28:14,232 log 27957 6159511552 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:28:14,232 basehttp 27957 6159511552 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:28:16,037 basehttp 27957 6159511552 "GET /en/analytics/reports/ HTTP/1.1" 200 34724 WARNING 2025-08-07 15:28:16,056 log 27957 6159511552 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:28:16,056 basehttp 27957 6159511552 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:28:16,098 basehttp 27957 6159511552 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-07 15:28:16,114 log 27957 6159511552 Internal Server Error: /en/analytics/ajax/report-list/ ERROR 2025-08-07 15:28:16,114 basehttp 27957 6159511552 "GET /en/analytics/ajax/report-list/?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=type&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=last_generated&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=next_run&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=created_by&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=5&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&type=&_=1754569696061 HTTP/1.1" 500 432 INFO 2025-08-07 15:28:16,118 basehttp 27957 13304360960 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-07 15:29:01,697 basehttp 27957 13304360960 "GET /en/analytics/reports/ HTTP/1.1" 200 34724 WARNING 2025-08-07 15:29:01,739 log 27957 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:29:01,739 basehttp 27957 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:29:01,762 basehttp 27957 13304360960 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-07 15:29:01,781 log 27957 13304360960 Internal Server Error: /en/analytics/ajax/report-list/ ERROR 2025-08-07 15:29:01,781 basehttp 27957 13304360960 "GET /en/analytics/ajax/report-list/?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=type&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=last_generated&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=next_run&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=created_by&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=5&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&type=&_=1754569741724 HTTP/1.1" 500 432 INFO 2025-08-07 15:29:01,782 basehttp 27957 6159511552 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-07 15:29:55,812 autoreload 28718 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 15:29:58,424 basehttp 28718 6127398912 "GET /en/analytics/reports/ HTTP/1.1" 200 34724 WARNING 2025-08-07 15:29:58,447 log 28718 6127398912 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:29:58,447 basehttp 28718 6127398912 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:29:58,504 basehttp 28718 6127398912 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-07 15:29:58,515 log 28718 6144225280 Internal Server Error: /en/analytics/ajax/report-list/ ERROR 2025-08-07 15:29:58,516 basehttp 28718 6144225280 "GET /en/analytics/ajax/report-list/?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=type&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=last_generated&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=next_run&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=created_by&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=5&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&type=&_=1754569798446 HTTP/1.1" 500 432 INFO 2025-08-07 15:29:58,523 basehttp 28718 6161051648 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-07 15:30:58,506 basehttp 28718 6161051648 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:31:58,497 basehttp 28718 6161051648 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:32:58,506 basehttp 28718 6161051648 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:33:58,524 basehttp 28718 6161051648 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:34:58,543 basehttp 28718 6161051648 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-07 15:34:58,545 log 28718 6144225280 Internal Server Error: /en/analytics/ajax/report-list/ ERROR 2025-08-07 15:34:58,545 basehttp 28718 6144225280 "GET /en/analytics/ajax/report-list/?draw=2&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=type&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=last_generated&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=next_run&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=created_by&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=5&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&type=&_=1754569798447 HTTP/1.1" 500 432 INFO 2025-08-07 15:34:58,547 basehttp 28718 6127398912 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-07 15:38:24,464 autoreload 28718 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-07 15:38:24,825 autoreload 32373 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 15:38:53,298 basehttp 32373 6154448896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:38:53,299 basehttp 32373 6137622528 "GET /en/analytics/reports/ HTTP/1.1" 200 34725 WARNING 2025-08-07 15:38:53,319 log 32373 6137622528 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:38:53,319 basehttp 32373 6137622528 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:38:53,335 basehttp 32373 6137622528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:38:53,372 basehttp 32373 6137622528 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1754570333316 HTTP/1.1" 200 12 INFO 2025-08-07 15:38:53,374 basehttp 32373 6154448896 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-07 15:39:53,341 basehttp 32373 6154448896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:40:53,359 basehttp 32373 6137622528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:41:53,371 basehttp 32373 6137622528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:42:53,354 basehttp 32373 6137622528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:43:53,119 autoreload 32373 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-07 15:43:53,529 autoreload 34822 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 15:43:56,583 basehttp 34822 6190673920 "GET /en/analytics/reports/ HTTP/1.1" 200 34725 WARNING 2025-08-07 15:43:56,614 log 34822 6190673920 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 15:43:56,616 basehttp 34822 6190673920 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 15:43:56,662 basehttp 34822 6190673920 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:43:56,694 basehttp 34822 6207500288 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1754570636605 HTTP/1.1" 200 12 INFO 2025-08-07 15:43:56,708 basehttp 34822 6224326656 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-07 15:44:05,486 basehttp 34822 6224326656 "GET /en/admin/analytics/report/ HTTP/1.1" 200 70385 INFO 2025-08-07 15:44:05,504 basehttp 34822 6207500288 "GET /static/admin/css/dark_mode.css HTTP/1.1" 200 2808 INFO 2025-08-07 15:44:05,504 basehttp 34822 6241153024 "GET /static/admin/css/nav_sidebar.css HTTP/1.1" 200 2810 INFO 2025-08-07 15:44:05,504 basehttp 34822 6190673920 "GET /static/admin/js/theme.js HTTP/1.1" 200 1653 INFO 2025-08-07 15:44:05,505 basehttp 34822 6257979392 "GET /static/admin/css/changelists.css HTTP/1.1" 200 6878 INFO 2025-08-07 15:44:05,505 basehttp 34822 6224326656 "GET /static/admin/css/base.css HTTP/1.1" 200 22120 INFO 2025-08-07 15:44:05,507 basehttp 34822 6207500288 "GET /static/admin/js/jquery.init.js HTTP/1.1" 200 347 INFO 2025-08-07 15:44:05,507 basehttp 34822 6190673920 "GET /static/admin/css/responsive.css HTTP/1.1" 200 16565 INFO 2025-08-07 15:44:05,508 basehttp 34822 6224326656 "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 200 9777 INFO 2025-08-07 15:44:05,509 basehttp 34822 6257979392 "GET /static/admin/js/core.js HTTP/1.1" 200 6208 INFO 2025-08-07 15:44:05,509 basehttp 34822 6190673920 "GET /static/admin/js/urlify.js HTTP/1.1" 200 7887 INFO 2025-08-07 15:44:05,510 basehttp 34822 6207500288 "GET /static/admin/js/actions.js HTTP/1.1" 200 8076 INFO 2025-08-07 15:44:05,511 basehttp 34822 6224326656 "GET /static/admin/js/prepopulate.js HTTP/1.1" 200 1531 INFO 2025-08-07 15:44:05,512 basehttp 34822 6190673920 "GET /static/admin/img/search.svg HTTP/1.1" 200 458 INFO 2025-08-07 15:44:05,514 basehttp 34822 6241153024 "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 200 285314 INFO 2025-08-07 15:44:05,514 basehttp 34822 6274805760 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 15:44:05,515 basehttp 34822 6274805760 "GET /static/admin/js/nav_sidebar.js HTTP/1.1" 200 3063 INFO 2025-08-07 15:44:05,516 basehttp 34822 6257979392 "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 200 325171 INFO 2025-08-07 15:44:05,518 basehttp 34822 6257979392 "GET /static/admin/js/filters.js HTTP/1.1" 200 978 INFO 2025-08-07 15:44:05,524 basehttp 34822 6257979392 "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 200 331 INFO 2025-08-07 15:44:05,525 basehttp 34822 6241153024 "GET /static/admin/img/icon-viewlink.svg HTTP/1.1" 200 581 INFO 2025-08-07 15:44:05,525 basehttp 34822 6274805760 "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 200 331 INFO 2025-08-07 15:44:06,835 basehttp 34822 6274805760 "GET /en/admin/analytics/reportexecution/ HTTP/1.1" 200 69928 INFO 2025-08-07 15:44:06,851 basehttp 34822 6274805760 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 15:44:07,455 basehttp 34822 6274805760 "GET /en/admin/analytics/metricvalue/ HTTP/1.1" 200 70951 INFO 2025-08-07 15:44:07,471 basehttp 34822 6274805760 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 15:44:08,640 basehttp 34822 6274805760 "GET /en/admin/analytics/metricdefinition/ HTTP/1.1" 200 69854 INFO 2025-08-07 15:44:08,657 basehttp 34822 6274805760 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 15:44:56,867 basehttp 34822 6274805760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 15:45:57,869 basehttp 34822 6274805760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 16:29:01,089 autoreload 49819 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 16:29:04,345 basehttp 49819 6201634816 "GET /en/analytics/reports/ HTTP/1.1" 200 34725 INFO 2025-08-07 16:29:04,443 basehttp 49819 6201634816 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-07 16:29:04,471 log 49819 6235287552 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:29:04,472 basehttp 49819 6235287552 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 16:29:04,477 log 49819 6201634816 Internal Server Error: /en/analytics/ajax/report-list/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 1247, in report_list 'id': report.id, ^^^^^^^^^ AttributeError: 'Report' object has no attribute 'id' ERROR 2025-08-07 16:29:04,479 basehttp 49819 6201634816 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1754573344402 HTTP/1.1" 500 74309 INFO 2025-08-07 16:29:04,480 basehttp 49819 6218461184 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 WARNING 2025-08-07 16:29:07,392 log 49819 6218461184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:29:07,392 basehttp 49819 6218461184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 16:29:09,015 log 49819 6218461184 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'dashboard_detail' with arguments '(UUID('01ba0781-420e-4cb2-8abc-88e341ed824e'),)' not found. 1 pattern(s) tried: ['en/analytics/dashboards/(?P[0-9]+)/\\Z'] ERROR 2025-08-07 16:29:09,017 basehttp 49819 6218461184 "GET /en/analytics/ HTTP/1.1" 500 225217 WARNING 2025-08-07 16:29:09,027 log 49819 6218461184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:29:09,027 basehttp 49819 6218461184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 16:30:08,588 autoreload 49819 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-07 16:30:08,856 autoreload 50364 8601149632 Watching for file changes with StatReloader ERROR 2025-08-07 16:30:11,678 log 50364 6163017728 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_detail' with arguments '(UUID('605e5533-a71e-435d-a570-4181de1ba1e4'),)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9]+)/\\Z'] ERROR 2025-08-07 16:30:11,679 basehttp 50364 6163017728 "GET /en/analytics/ HTTP/1.1" 500 224681 WARNING 2025-08-07 16:30:11,697 log 50364 6163017728 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:30:11,697 basehttp 50364 6163017728 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 16:30:39,995 autoreload 50364 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-07 16:30:40,263 autoreload 50607 8601149632 Watching for file changes with StatReloader ERROR 2025-08-07 16:30:40,610 log 50607 6127857664 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_execution_detail' with arguments '(UUID('85be46b1-9837-4c5b-b9d7-7674dbc1caeb'),)' not found. 1 pattern(s) tried: ['en/analytics/executions/(?P[0-9]+)/\\Z'] ERROR 2025-08-07 16:30:40,612 basehttp 50607 6127857664 "GET /en/analytics/ HTTP/1.1" 500 225425 WARNING 2025-08-07 16:30:40,629 log 50607 6127857664 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:30:40,630 basehttp 50607 6127857664 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 16:31:01,133 autoreload 50607 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-07 16:31:01,441 autoreload 50783 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 16:31:02,405 basehttp 50783 6190018560 "GET /en/analytics/ HTTP/1.1" 200 52656 WARNING 2025-08-07 16:31:02,425 log 50783 6190018560 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:31:02,425 basehttp 50783 6190018560 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 16:31:02,485 basehttp 50783 6190018560 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 16:31:02,487 basehttp 50783 6206844928 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 ERROR 2025-08-07 16:31:16,604 log 50783 6206844928 Internal Server Error: /en/analytics/dashboards/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'dashboard_detail' with arguments '(1,)' not found. 1 pattern(s) tried: ['en/analytics/dashboards/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-07 16:31:16,605 basehttp 50783 6206844928 "GET /en/analytics/dashboards/ HTTP/1.1" 500 208233 WARNING 2025-08-07 16:31:16,619 log 50783 6206844928 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:31:16,619 basehttp 50783 6206844928 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 16:31:32,731 autoreload 50783 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-07 16:31:33,008 autoreload 51017 8601149632 Watching for file changes with StatReloader ERROR 2025-08-07 16:31:34,036 log 51017 6168391680 Internal Server Error: /en/analytics/dashboards/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'dashboard_update' with arguments '(1,)' not found. 1 pattern(s) tried: ['en/analytics/dashboards/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/update/\\Z'] ERROR 2025-08-07 16:31:34,037 basehttp 51017 6168391680 "GET /en/analytics/dashboards/ HTTP/1.1" 500 208652 WARNING 2025-08-07 16:31:34,055 log 51017 6168391680 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:31:34,055 basehttp 51017 6168391680 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 16:31:43,504 autoreload 51017 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-07 16:31:43,771 autoreload 51108 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 16:31:44,795 basehttp 51108 6201421824 "GET /en/analytics/dashboards/ HTTP/1.1" 200 68606 WARNING 2025-08-07 16:31:44,812 log 51108 6201421824 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:31:44,812 basehttp 51108 6201421824 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 16:31:44,855 basehttp 51108 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-07 16:32:18,892 log 51108 6201421824 Not Found: /en/analytics/dashboards/2/ WARNING 2025-08-07 16:32:18,892 basehttp 51108 6201421824 "GET /en/analytics/dashboards/2/ HTTP/1.1" 404 30023 WARNING 2025-08-07 16:32:18,911 log 51108 6201421824 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:32:18,911 basehttp 51108 6201421824 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 16:33:06,846 basehttp 51108 6201421824 "GET /en/admin/accounts/user/ HTTP/1.1" 200 159500 INFO 2025-08-07 16:33:06,859 basehttp 51108 6218248192 "GET /static/admin/img/icon-yes.svg HTTP/1.1" 200 436 INFO 2025-08-07 16:33:06,859 basehttp 51108 6201421824 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 ERROR 2025-08-07 16:33:09,144 log 51108 6201421824 Internal Server Error: /en/admin/analytics/dashboard/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'widget_count_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Dashboard has no field named 'widget_count_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/admin.py", line 94, in widget_count_display return obj.widget_count ^^^^^^^^^^^^^^^^ AttributeError: 'Dashboard' object has no attribute 'widget_count' ERROR 2025-08-07 16:33:09,147 basehttp 51108 6201421824 "GET /en/admin/analytics/dashboard/ HTTP/1.1" 500 392541 INFO 2025-08-07 16:34:09,638 autoreload 51108 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/admin.py changed, reloading. INFO 2025-08-07 16:34:09,951 autoreload 52185 8601149632 Watching for file changes with StatReloader ERROR 2025-08-07 16:34:11,279 log 52185 6166278144 Internal Server Error: /en/admin/analytics/dashboard/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'widget_count_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Dashboard has no field named 'widget_count_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/admin.py", line 94, in widget_count_display return obj.value_count ^^^^^^^^^^^^^^^ AttributeError: 'Dashboard' object has no attribute 'value_count' ERROR 2025-08-07 16:34:11,283 basehttp 52185 6166278144 "GET /en/admin/analytics/dashboard/ HTTP/1.1" 500 392668 ERROR 2025-08-07 16:34:12,201 log 52185 6166278144 Internal Server Error: /en/admin/analytics/dashboard/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'widget_count_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Dashboard has no field named 'widget_count_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/admin.py", line 94, in widget_count_display return obj.value_count ^^^^^^^^^^^^^^^ AttributeError: 'Dashboard' object has no attribute 'value_count' ERROR 2025-08-07 16:34:12,205 basehttp 52185 6166278144 "GET /en/admin/analytics/dashboard/ HTTP/1.1" 500 392668 INFO 2025-08-07 16:34:24,624 autoreload 52185 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/admin.py changed, reloading. INFO 2025-08-07 16:34:24,919 autoreload 52268 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 16:34:40,442 autoreload 52268 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/admin.py changed, reloading. INFO 2025-08-07 16:34:40,695 autoreload 52421 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 16:35:02,470 autoreload 52421 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/admin.py changed, reloading. INFO 2025-08-07 16:35:02,726 autoreload 52574 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 16:35:05,673 basehttp 52574 6124318720 "GET /en/admin/analytics/dashboard/ HTTP/1.1" 200 81957 INFO 2025-08-07 16:35:05,690 basehttp 52574 6141145088 "GET /static/admin/img/icon-no.svg HTTP/1.1" 200 560 INFO 2025-08-07 16:35:05,752 basehttp 52574 6124318720 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 16:35:13,414 basehttp 52574 6124318720 "GET /en/admin/analytics/dashboard/4a7abedc-fd38-4e85-b801-fecbec0f886c/change/ HTTP/1.1" 200 176908 INFO 2025-08-07 16:35:13,424 basehttp 52574 6124318720 "GET /static/admin/css/forms.css HTTP/1.1" 200 8525 INFO 2025-08-07 16:35:13,427 basehttp 52574 13186969600 "GET /static/admin/js/SelectFilter2.js HTTP/1.1" 200 15845 INFO 2025-08-07 16:35:13,427 basehttp 52574 6124318720 "GET /static/admin/js/prepopulate_init.js HTTP/1.1" 200 586 INFO 2025-08-07 16:35:13,427 basehttp 52574 13170143232 "GET /static/admin/js/SelectBox.js HTTP/1.1" 200 4530 INFO 2025-08-07 16:35:13,428 basehttp 52574 6157971456 "GET /static/admin/js/inlines.js HTTP/1.1" 200 15628 INFO 2025-08-07 16:35:13,428 basehttp 52574 13203795968 "GET /static/admin/css/widgets.css HTTP/1.1" 200 11991 INFO 2025-08-07 16:35:13,429 basehttp 52574 13203795968 "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 200 380 INFO 2025-08-07 16:35:13,429 basehttp 52574 13203795968 "GET /static/admin/img/icon-deletelink.svg HTTP/1.1" 200 392 INFO 2025-08-07 16:35:13,430 basehttp 52574 13203795968 "GET /static/admin/js/change_form.js HTTP/1.1" 200 606 INFO 2025-08-07 16:35:13,431 basehttp 52574 6141145088 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 16:35:13,457 basehttp 52574 6141145088 "GET /static/admin/img/selector-icons.svg HTTP/1.1" 200 3291 INFO 2025-08-07 16:35:33,863 basehttp 52574 6141145088 "GET /en/admin/analytics/dashboard/ HTTP/1.1" 200 81957 INFO 2025-08-07 16:36:05,924 autoreload 52574 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-07 16:36:06,217 autoreload 53036 8601149632 Watching for file changes with StatReloader INFO 2025-08-07 16:36:06,547 basehttp 53036 6128594944 "GET /en/admin/analytics/dashboard/ HTTP/1.1" 200 81957 INFO 2025-08-07 16:36:06,563 basehttp 53036 6128594944 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-07 16:36:08,355 basehttp 53036 6128594944 "GET /en/admin/analytics/dashboard/c7b82360-3ccb-42e9-934d-05fd5e2e2c3d/change/ HTTP/1.1" 200 176848 INFO 2025-08-07 16:36:08,372 basehttp 53036 6128594944 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 WARNING 2025-08-07 16:36:11,079 log 53036 6128594944 Not Found: /en/analytics/dashboards/2/ WARNING 2025-08-07 16:36:11,080 basehttp 53036 6128594944 "GET /en/analytics/dashboards/2/ HTTP/1.1" 404 44018 WARNING 2025-08-07 16:36:11,098 log 53036 6128594944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:36:11,099 basehttp 53036 6128594944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 16:36:12,452 log 53036 6145421312 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-07 16:36:12,455 basehttp 53036 6128594944 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-07 16:36:12,455 basehttp 53036 6145421312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 16:36:12,473 log 53036 6128594944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:36:12,473 basehttp 53036 6128594944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 16:36:13,148 log 53036 6128594944 Internal Server Error: /en/analytics/dashboards/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'dashboard_detail' with arguments '(1,)' not found. 1 pattern(s) tried: ['en/analytics/dashboards/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-07 16:36:13,150 basehttp 53036 6128594944 "GET /en/analytics/dashboards/ HTTP/1.1" 500 208370 WARNING 2025-08-07 16:36:13,161 log 53036 6128594944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:36:13,161 basehttp 53036 6128594944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 16:42:49,555 log 53036 6128594944 Internal Server Error: /en/analytics/dashboards/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'dashboard_stats' not found. 'dashboard_stats' is not a valid view function or pattern name. ERROR 2025-08-07 16:42:49,561 basehttp 53036 6128594944 "GET /en/analytics/dashboards/ HTTP/1.1" 500 187183 WARNING 2025-08-07 16:42:49,581 log 53036 6128594944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:42:49,581 basehttp 53036 6128594944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 16:44:19,844 basehttp 53036 6128594944 "GET /en/analytics/dashboards/ HTTP/1.1" 200 118847 WARNING 2025-08-07 16:44:19,858 log 53036 6128594944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:44:19,858 basehttp 53036 6128594944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 16:44:19,927 basehttp 53036 6128594944 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 16:44:24,835 basehttp 53036 6128594944 "GET /en/analytics/dashboards/1996a6e8-0f93-42c6-a49d-75e5e95b0619/ HTTP/1.1" 200 65397 WARNING 2025-08-07 16:44:24,848 log 53036 6128594944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:44:24,848 basehttp 53036 6128594944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 16:44:24,892 basehttp 53036 6128594944 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 16:45:21,677 basehttp 53036 6128594944 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-07 16:45:21,690 log 53036 6128594944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:45:21,691 basehttp 53036 6128594944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 16:45:21,716 log 53036 6128594944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:45:21,716 basehttp 53036 6128594944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 16:46:21,688 basehttp 53036 6128594944 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 16:47:21,690 basehttp 53036 6128594944 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 16:48:21,696 basehttp 53036 6128594944 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 16:49:21,700 basehttp 53036 6128594944 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 16:50:21,705 basehttp 53036 6128594944 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-07 16:50:49,601 log 53036 6128594944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:50:49,601 basehttp 53036 6128594944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 16:50:58,530 basehttp 53036 6128594944 "GET /en/analytics/ HTTP/1.1" 200 52656 WARNING 2025-08-07 16:50:58,544 log 53036 6128594944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:50:58,544 basehttp 53036 6128594944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-07 16:50:58,592 basehttp 53036 6128594944 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-07 16:50:58,608 basehttp 53036 6145421312 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 ERROR 2025-08-07 16:51:04,270 log 53036 6145421312 Internal Server Error: /en/analytics/executions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 650, in get_queryset queryset = ReportExecution.objects.filter(tenant=self.request.user.tenant) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-07 16:51:04,273 basehttp 53036 6145421312 "GET /en/analytics/executions/ HTTP/1.1" 500 135858 WARNING 2025-08-07 16:51:04,288 log 53036 6145421312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:51:04,288 basehttp 53036 6145421312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 16:51:06,478 log 53036 6145421312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:51:06,478 basehttp 53036 6145421312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 16:51:06,487 log 53036 6145421312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:51:06,487 basehttp 53036 6145421312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 16:51:07,620 log 53036 6145421312 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'metric_definition_detail' with arguments '(0,)' not found. 1 pattern(s) tried: ['en/analytics/metrics/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-07 16:51:07,621 basehttp 53036 6145421312 "GET /en/analytics/metrics/ HTTP/1.1" 500 193469 WARNING 2025-08-07 16:51:07,634 log 53036 6145421312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:51:07,635 basehttp 53036 6145421312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 16:51:09,581 log 53036 6145421312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:51:09,582 basehttp 53036 6145421312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 16:51:09,592 log 53036 6145421312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:51:09,592 basehttp 53036 6145421312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 16:51:10,609 log 53036 6145421312 Internal Server Error: /en/analytics/data-sources/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 387, in get_queryset return queryset.order_by('source_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'source_name' into field. Choices are: authentication_config, cache_duration, connection_config, connection_type, created_at, created_by, created_by_id, data_transformation, description, health_check_interval, is_active, is_healthy, last_health_check, last_test_duration_seconds, last_test_end_at, last_test_error_message, last_test_start_at, last_test_status, metrics, name, parameters, query_template, reports, source_id, source_type, tenant, tenant_id, updated_at, widgets ERROR 2025-08-07 16:51:10,610 basehttp 53036 6145421312 "GET /en/analytics/data-sources/ HTTP/1.1" 500 104498 WARNING 2025-08-07 16:51:10,627 log 53036 6145421312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:51:10,628 basehttp 53036 6145421312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 16:51:12,611 log 53036 6145421312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:51:12,611 basehttp 53036 6145421312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-07 16:51:12,622 log 53036 6145421312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:51:12,622 basehttp 53036 6145421312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-07 16:51:13,886 log 53036 6145421312 Internal Server Error: /en/analytics/ajax/report-list/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 1247, in report_list 'id': report.id, ^^^^^^^^^ AttributeError: 'Report' object has no attribute 'id' ERROR 2025-08-07 16:51:13,887 basehttp 53036 6145421312 "GET /en/analytics/ajax/report-list/ HTTP/1.1" 500 73206 WARNING 2025-08-07 16:51:13,905 log 53036 6145421312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-07 16:51:13,905 basehttp 53036 6145421312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:01:07,733 autoreload 53036 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-10 12:01:08,241 autoreload 97326 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 12:01:14,507 log 97326 6135148544 Internal Server Error: /en/analytics/ajax/report-list/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 1247, in report_list 'id': report_id, ^^^^^^^^^ NameError: name 'report_id' is not defined. Did you mean: 'reports'? ERROR 2025-08-10 12:01:14,508 basehttp 97326 6135148544 "GET /en/analytics/ajax/report-list/ HTTP/1.1" 500 73249 WARNING 2025-08-10 12:01:14,527 log 97326 6135148544 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:01:14,527 basehttp 97326 6135148544 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:01:55,847 autoreload 97326 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-10 12:01:56,224 autoreload 97732 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 12:01:58,532 log 97732 6168571904 Internal Server Error: /en/analytics/ajax/report-list/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 1254, in report_list 'status': report.executions.execution_status, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'RelatedManager' object has no attribute 'execution_status' ERROR 2025-08-10 12:01:58,535 basehttp 97732 6168571904 "GET /en/analytics/ajax/report-list/ HTTP/1.1" 500 73712 WARNING 2025-08-10 12:01:58,555 log 97732 6168571904 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:01:58,557 basehttp 97732 6168571904 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:01:58,558 basehttp 97732 6168571904 - Broken pipe from ('127.0.0.1', 59347) INFO 2025-08-10 12:03:06,300 autoreload 97732 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-10 12:03:06,589 autoreload 98198 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 12:03:09,429 log 98198 6202454016 Internal Server Error: /en/analytics/ajax/report-list/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 1254, in report_list 'status': report.executions.status, ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'RelatedManager' object has no attribute 'status' ERROR 2025-08-10 12:03:09,432 basehttp 98198 6202454016 "GET /en/analytics/ajax/report-list/ HTTP/1.1" 500 73622 WARNING 2025-08-10 12:03:09,451 log 98198 6202454016 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:03:09,451 basehttp 98198 6202454016 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:13:44,625 autoreload 98198 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-10 12:13:45,018 autoreload 3584 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 12:13:51,239 log 3584 6165590016 Internal Server Error: /en/analytics/ajax/report-list/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 1277, in report_list 'id': report.data_source.id, ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'DataSource' object has no attribute 'id' ERROR 2025-08-10 12:13:51,240 basehttp 3584 6165590016 "GET /en/analytics/ajax/report-list/ HTTP/1.1" 500 75095 WARNING 2025-08-10 12:13:51,257 log 3584 6165590016 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:13:51,257 basehttp 3584 6165590016 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:15:04,722 autoreload 3584 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-10 12:15:04,995 autoreload 4155 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 12:15:07,419 basehttp 4155 6162542592 "GET /en/analytics/ajax/report-list/ HTTP/1.1" 200 7146 WARNING 2025-08-10 12:15:07,437 log 4155 6162542592 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:15:07,437 basehttp 4155 6162542592 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 12:15:15,979 log 4155 6162542592 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:15:15,979 basehttp 4155 6162542592 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:15:36,311 basehttp 4155 6162542592 "GET /en/analytics/ajax/report-list/ HTTP/1.1" 200 7146 WARNING 2025-08-10 12:15:36,328 log 4155 6162542592 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:15:36,328 basehttp 4155 6162542592 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 12:16:35,761 log 4155 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:16:35,764 basehttp 4155 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:16:35,770 basehttp 4155 6162542592 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:16:35,805 basehttp 4155 12901707776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 12:16:35,806 log 4155 6162542592 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:16:35,806 basehttp 4155 6162542592 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:17:05,749 basehttp 4155 6162542592 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:17:35,759 basehttp 4155 6162542592 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:17:35,760 basehttp 4155 12901707776 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:18:05,757 basehttp 4155 12901707776 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:18:35,769 basehttp 4155 12901707776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:18:35,772 basehttp 4155 6162542592 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:19:05,759 basehttp 4155 6162542592 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:19:35,772 basehttp 4155 6162542592 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:19:35,775 basehttp 4155 12901707776 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:20:05,780 basehttp 4155 12901707776 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:20:35,325 autoreload 4155 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-10 12:20:35,683 autoreload 6634 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 12:20:36,304 basehttp 6634 6194556928 "GET /en/analytics/ HTTP/1.1" 200 52636 INFO 2025-08-10 12:20:36,310 basehttp 6634 6194556928 "GET /static/js/app.min.js HTTP/1.1" 304 0 WARNING 2025-08-10 12:20:36,319 log 6634 6194556928 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:20:36,319 basehttp 6634 6194556928 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:20:36,366 basehttp 6634 6194556928 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:20:36,368 basehttp 6634 6211383296 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 ERROR 2025-08-10 12:20:39,131 log 6634 6211383296 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_detail' with arguments '(0,)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-10 12:20:39,133 basehttp 6634 6211383296 "GET /en/analytics/reports/ HTTP/1.1" 500 196155 WARNING 2025-08-10 12:20:39,147 log 6634 6211383296 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:20:39,147 basehttp 6634 6211383296 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:21:18,246 autoreload 6634 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-10 12:21:18,532 autoreload 6956 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 12:21:52,631 autoreload 7204 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 12:21:55,122 basehttp 7204 6166573056 "GET /en/analytics/reports/ HTTP/1.1" 200 34716 WARNING 2025-08-10 12:21:55,138 log 7204 6166573056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:21:55,138 basehttp 7204 6166573056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:22:40,152 basehttp 7204 6166573056 "GET /en/analytics/reports/ HTTP/1.1" 200 34725 WARNING 2025-08-10 12:22:40,163 log 7204 6166573056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:22:40,163 basehttp 7204 6166573056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:22:40,211 basehttp 7204 6166573056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:22:40,246 basehttp 7204 6166573056 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1754817760170 HTTP/1.1" 200 7146 INFO 2025-08-10 12:22:40,247 basehttp 7204 6325039104 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:23:40,232 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:24:40,226 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:24:42,662 basehttp 7204 6325039104 "GET /en/analytics/reports/ HTTP/1.1" 200 34845 INFO 2025-08-10 12:24:42,676 basehttp 7204 6325039104 "GET /static/plugins/moment/min/moment.min.js HTTP/1.1" 200 58890 WARNING 2025-08-10 12:24:42,698 log 7204 6325039104 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:24:42,699 basehttp 7204 6325039104 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:24:42,730 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:24:42,777 basehttp 7204 6325039104 "GET /static/plugins/moment/min/moment.min.js.map HTTP/1.1" 200 98730 INFO 2025-08-10 12:25:02,935 basehttp 7204 6325039104 "GET /en/analytics/reports/ HTTP/1.1" 200 34796 WARNING 2025-08-10 12:25:02,955 log 7204 6325039104 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:25:02,955 basehttp 7204 6325039104 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:25:02,998 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:25:03,020 basehttp 7204 6325039104 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1754817902954 HTTP/1.1" 200 7146 INFO 2025-08-10 12:25:03,020 basehttp 7204 6166573056 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:25:50,997 basehttp 7204 6325039104 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:25:50,997 basehttp 7204 6166573056 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1754817902955 HTTP/1.1" 200 7146 INFO 2025-08-10 12:26:03,003 basehttp 7204 6166573056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:27:02,967 basehttp 7204 6166573056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:28:02,972 basehttp 7204 6166573056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:29:02,973 basehttp 7204 6166573056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:30:02,977 basehttp 7204 6166573056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:30:02,988 basehttp 7204 6341865472 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:30:02,989 basehttp 7204 6325039104 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1754817902956 HTTP/1.1" 200 7146 INFO 2025-08-10 12:31:02,985 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:32:02,988 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:33:02,992 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:34:02,997 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:35:03,007 basehttp 7204 6341865472 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:35:03,009 basehttp 7204 6358691840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:35:03,010 basehttp 7204 6325039104 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1754817902957 HTTP/1.1" 200 7146 INFO 2025-08-10 12:36:03,001 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:37:03,011 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:38:03,022 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:38:08,204 basehttp 7204 6325039104 "GET /en/analytics/reports/ HTTP/1.1" 200 34796 WARNING 2025-08-10 12:38:08,231 log 7204 6325039104 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:38:08,231 basehttp 7204 6325039104 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:38:08,269 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:38:08,291 basehttp 7204 6358691840 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:38:08,293 basehttp 7204 6325039104 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1754818688229 HTTP/1.1" 200 7146 INFO 2025-08-10 12:39:08,282 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:40:08,683 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:41:09,684 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:42:10,707 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:43:08,736 basehttp 7204 6166573056 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-10 12:43:08,739 basehttp 7204 6325039104 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1754818688230 HTTP/1.1" 200 7146 INFO 2025-08-10 12:43:11,701 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:44:11,710 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:45:11,710 basehttp 7204 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 12:45:52,505 log 7204 6325039104 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:45:52,505 basehttp 7204 6325039104 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 12:45:54,230 log 7204 6325039104 Internal Server Error: /en/analytics/metrics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'metric_definition_detail' with arguments '(0,)' not found. 1 pattern(s) tried: ['en/analytics/metrics/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-10 12:45:54,234 basehttp 7204 6325039104 "GET /en/analytics/metrics/ HTTP/1.1" 500 200585 WARNING 2025-08-10 12:45:54,253 log 7204 6325039104 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:45:54,253 basehttp 7204 6325039104 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:46:24,882 autoreload 7204 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-10 12:46:25,243 autoreload 17937 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 12:46:28,106 basehttp 17937 6137819136 "GET /en/analytics/metrics/ HTTP/1.1" 200 35973 WARNING 2025-08-10 12:46:28,121 log 17937 6137819136 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:46:28,121 basehttp 17937 6137819136 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:46:28,204 basehttp 17937 6137819136 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 12:46:28,239 log 17937 6137819136 Internal Server Error: /en/analytics/ajax/metric-list/ ERROR 2025-08-10 12:46:28,240 basehttp 17937 6137819136 "GET /en/analytics/ajax/metric-list/?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=current_value&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=target_value&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=status&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=last_updated&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=update_frequency&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=6&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&frequency=&_=1754819188178 HTTP/1.1" 500 198 ERROR 2025-08-10 12:46:28,242 log 17937 6154645504 Internal Server Error: /en/analytics/ajax/metric-stats/ ERROR 2025-08-10 12:46:28,242 basehttp 17937 6154645504 "GET /en/analytics/ajax/metric-stats/ HTTP/1.1" 500 369 INFO 2025-08-10 12:47:28,223 basehttp 17937 6154645504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:48:28,215 basehttp 17937 6154645504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 12:48:28,235 log 17937 6137819136 Internal Server Error: /en/analytics/ajax/metric-stats/ ERROR 2025-08-10 12:48:28,236 log 17937 6154645504 Internal Server Error: /en/analytics/ajax/metric-list/ ERROR 2025-08-10 12:48:28,236 basehttp 17937 6137819136 "GET /en/analytics/ajax/metric-stats/ HTTP/1.1" 500 369 ERROR 2025-08-10 12:48:28,236 basehttp 17937 6154645504 "GET /en/analytics/ajax/metric-list/?draw=2&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=current_value&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=target_value&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=status&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=last_updated&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=update_frequency&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=6&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&frequency=&_=1754819188179 HTTP/1.1" 500 198 INFO 2025-08-10 12:49:28,227 basehttp 17937 6154645504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:50:28,731 basehttp 17937 6154645504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 12:50:28,732 log 17937 6171471872 Internal Server Error: /en/analytics/ajax/metric-stats/ ERROR 2025-08-10 12:50:28,732 basehttp 17937 6171471872 "GET /en/analytics/ajax/metric-stats/ HTTP/1.1" 500 369 ERROR 2025-08-10 12:50:28,733 log 17937 6137819136 Internal Server Error: /en/analytics/ajax/metric-list/ ERROR 2025-08-10 12:50:28,733 basehttp 17937 6137819136 "GET /en/analytics/ajax/metric-list/?draw=3&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=category&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=current_value&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=target_value&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=status&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=last_updated&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=update_frequency&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=id&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=false&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=6&order%5B0%5D%5Bdir%5D=desc&order%5B0%5D%5Bname%5D=&start=0&length=25&search%5Bvalue%5D=&search%5Bregex%5D=false&search_value=&category=&status=&frequency=&_=1754819188180 HTTP/1.1" 500 198 INFO 2025-08-10 12:51:45,542 basehttp 17937 6137819136 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:51:46,765 basehttp 17937 6171471872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:51:46,774 basehttp 17937 6137819136 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 WARNING 2025-08-10 12:51:46,813 log 17937 6137819136 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:51:46,814 basehttp 17937 6137819136 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 12:51:46,872 log 17937 6137819136 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:51:46,872 basehttp 17937 6137819136 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 12:51:48,491 log 17937 6137819136 Internal Server Error: /en/analytics/executions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 650, in get_queryset queryset = ReportExecution.objects.filter(tenant=self.request.user.tenant) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-10 12:51:48,494 basehttp 17937 6137819136 "GET /en/analytics/executions/ HTTP/1.1" 500 135858 WARNING 2025-08-10 12:51:48,509 log 17937 6137819136 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:51:48,509 basehttp 17937 6137819136 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 12:51:54,397 log 17937 6137819136 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:51:54,397 basehttp 17937 6137819136 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 12:51:54,403 log 17937 6137819136 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:51:54,403 basehttp 17937 6137819136 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:51:55,818 basehttp 17937 6137819136 "GET /en/analytics/dashboards/ HTTP/1.1" 200 117952 WARNING 2025-08-10 12:51:55,836 log 17937 6137819136 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:51:55,836 basehttp 17937 6137819136 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:51:55,875 basehttp 17937 6137819136 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:52:03,337 basehttp 17937 6137819136 "GET /en/analytics/dashboards/01ba0781-420e-4cb2-8abc-88e341ed824e/ HTTP/1.1" 200 64412 WARNING 2025-08-10 12:52:03,361 log 17937 6137819136 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:52:03,361 basehttp 17937 6137819136 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:52:03,401 basehttp 17937 6137819136 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:52:56,149 basehttp 17937 6137819136 "GET /en/analytics/dashboards/01ba0781-420e-4cb2-8abc-88e341ed824e/ HTTP/1.1" 200 64412 INFO 2025-08-10 12:52:56,161 basehttp 17937 13338013696 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-10 12:52:56,162 basehttp 17937 6154645504 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-10 12:52:56,167 basehttp 17937 13321187328 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 WARNING 2025-08-10 12:52:56,169 log 17937 13338013696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:52:56,169 basehttp 17937 13338013696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:52:56,171 basehttp 17937 6137819136 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-10 12:52:56,176 basehttp 17937 13321187328 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-10 12:52:56,178 basehttp 17937 6171471872 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-10 12:52:56,180 basehttp 17937 13304360960 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-10 12:52:56,180 basehttp 17937 6154645504 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-10 12:52:56,422 basehttp 17937 13321187328 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-10 12:52:56,423 basehttp 17937 6137819136 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-10 12:52:56,423 basehttp 17937 6171471872 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-10 12:52:56,423 basehttp 17937 13304360960 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-10 12:52:56,424 basehttp 17937 6154645504 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-10 12:52:56,426 basehttp 17937 13338013696 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-10 12:52:56,426 basehttp 17937 13304360960 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-10 12:52:56,427 basehttp 17937 6137819136 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-10 12:52:56,427 basehttp 17937 6154645504 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-10 12:52:56,428 basehttp 17937 6171471872 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-10 12:52:56,430 basehttp 17937 6154645504 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-10 12:52:56,431 basehttp 17937 13304360960 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-10 12:52:56,431 basehttp 17937 13338013696 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-10 12:52:56,432 basehttp 17937 6137819136 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-10 12:52:56,433 basehttp 17937 6171471872 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-10 12:52:56,434 basehttp 17937 13304360960 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-10 12:52:56,435 basehttp 17937 6154645504 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-10 12:52:56,435 basehttp 17937 13321187328 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-10 12:52:56,436 basehttp 17937 6171471872 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-10 12:52:56,436 basehttp 17937 6137819136 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-10 12:52:56,438 basehttp 17937 6154645504 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-10 12:52:56,438 basehttp 17937 6171471872 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-10 12:52:56,438 basehttp 17937 13304360960 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-10 12:52:56,440 basehttp 17937 13338013696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:52:56,447 basehttp 17937 13338013696 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 WARNING 2025-08-10 12:52:56,538 log 17937 13338013696 Not Found: /favicon.ico WARNING 2025-08-10 12:52:56,538 basehttp 17937 13338013696 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-10 12:53:56,446 basehttp 17937 13338013696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:54:39,905 basehttp 17937 13338013696 "GET /en/analytics/dashboards/01ba0781-420e-4cb2-8abc-88e341ed824e/update/ HTTP/1.1" 200 55286 WARNING 2025-08-10 12:54:39,926 log 17937 13338013696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:54:39,926 basehttp 17937 13338013696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:54:40,006 basehttp 17937 13338013696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:54:55,063 basehttp 17937 13338013696 "POST /en/analytics/dashboards/01ba0781-420e-4cb2-8abc-88e341ed824e/update/ HTTP/1.1" 200 55286 WARNING 2025-08-10 12:54:55,079 log 17937 13338013696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:54:55,079 basehttp 17937 13338013696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:54:55,104 basehttp 17937 13338013696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:55:13,083 basehttp 17937 13338013696 "GET /en/analytics/dashboards/ HTTP/1.1" 200 117952 WARNING 2025-08-10 12:55:13,096 log 17937 13338013696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:55:13,097 basehttp 17937 13338013696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:55:13,142 basehttp 17937 13338013696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:55:57,122 basehttp 17937 13338013696 "GET / HTTP/1.1" 302 0 INFO 2025-08-10 12:55:57,136 basehttp 17937 13304360960 "GET /en/ HTTP/1.1" 200 46418 WARNING 2025-08-10 12:55:57,154 log 17937 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:55:57,154 basehttp 17937 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:55:57,244 basehttp 17937 13304360960 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:55:57,245 basehttp 17937 6137819136 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-10 12:55:57,246 basehttp 17937 6154645504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 12:55:57,249 basehttp 17937 6171471872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-10 12:56:18,930 basehttp 17937 6171471872 "GET /en/ HTTP/1.1" 200 46418 INFO 2025-08-10 12:56:18,941 basehttp 17937 13304360960 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-10 12:56:18,943 basehttp 17937 13304360960 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-10 12:56:18,944 basehttp 17937 13338013696 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 WARNING 2025-08-10 12:56:18,951 log 17937 6137819136 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:56:18,953 basehttp 17937 6137819136 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:56:18,954 basehttp 17937 6171471872 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-10 12:56:18,955 basehttp 17937 13338013696 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-10 12:56:18,959 basehttp 17937 13321187328 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-10 12:56:18,960 basehttp 17937 6154645504 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-10 12:56:18,961 basehttp 17937 13304360960 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-10 12:56:19,164 basehttp 17937 13304360960 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-10 12:56:19,165 basehttp 17937 13338013696 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-10 12:56:19,165 basehttp 17937 13321187328 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-10 12:56:19,166 basehttp 17937 6154645504 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-10 12:56:19,167 basehttp 17937 6171471872 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-10 12:56:19,169 basehttp 17937 6154645504 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-10 12:56:19,169 basehttp 17937 6137819136 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-10 12:56:19,169 basehttp 17937 6171471872 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-10 12:56:19,170 basehttp 17937 13338013696 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-10 12:56:19,172 basehttp 17937 13338013696 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-10 12:56:19,172 basehttp 17937 6154645504 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-10 12:56:19,173 basehttp 17937 13321187328 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-10 12:56:19,173 basehttp 17937 6171471872 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-10 12:56:19,174 basehttp 17937 6137819136 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-10 12:56:19,175 basehttp 17937 13304360960 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-10 12:56:19,176 basehttp 17937 13338013696 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-10 12:56:19,176 basehttp 17937 13321187328 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-10 12:56:19,177 basehttp 17937 6137819136 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-10 12:56:19,177 basehttp 17937 13304360960 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-10 12:56:19,177 basehttp 17937 6171471872 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-10 12:56:19,177 basehttp 17937 6154645504 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-10 12:56:19,178 basehttp 17937 13321187328 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-10 12:56:19,178 basehttp 17937 6137819136 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-10 12:56:19,181 basehttp 17937 13321187328 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-10 12:56:19,216 basehttp 17937 6137819136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-10 12:56:19,223 basehttp 17937 13304360960 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-10 12:56:19,225 basehttp 17937 6154645504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 12:56:19,226 basehttp 17937 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 12:56:19,292 log 17937 13321187328 Not Found: /favicon.ico WARNING 2025-08-10 12:56:19,292 basehttp 17937 13321187328 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-10 12:56:32,729 basehttp 17937 13321187328 "GET /en/patients/register/ HTTP/1.1" 200 27307 WARNING 2025-08-10 12:56:32,746 log 17937 13321187328 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:56:32,746 basehttp 17937 13321187328 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:56:32,822 basehttp 17937 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:57:32,836 basehttp 17937 6137819136 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:58:13,121 basehttp 17937 6137819136 "POST /en/patients/register/ HTTP/1.1" 200 27307 WARNING 2025-08-10 12:58:13,136 log 17937 6137819136 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:58:13,136 basehttp 17937 6137819136 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:58:13,162 basehttp 17937 6137819136 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:58:20,210 basehttp 17937 6137819136 "GET /en/patients/register/ HTTP/1.1" 200 27307 WARNING 2025-08-10 12:58:20,238 log 17937 6137819136 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:58:20,239 basehttp 17937 6137819136 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:58:20,779 basehttp 17937 6137819136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-10 12:58:20,787 log 17937 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:58:20,787 basehttp 17937 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:58:20,791 basehttp 17937 6154645504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:58:20,791 basehttp 17937 6171471872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 WARNING 2025-08-10 12:58:20,797 log 17937 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:58:20,797 basehttp 17937 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:58:27,952 basehttp 17937 13304360960 "GET /en/patients/ HTTP/1.1" 200 66016 WARNING 2025-08-10 12:58:27,968 log 17937 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:58:27,968 basehttp 17937 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:58:27,995 basehttp 17937 13304360960 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:58:27,997 basehttp 17937 6154645504 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-10 12:59:22,515 basehttp 17937 6154645504 "GET /en/patients/register/ HTTP/1.1" 200 27307 WARNING 2025-08-10 12:59:22,534 log 17937 6154645504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:59:22,534 basehttp 17937 6154645504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:59:22,572 basehttp 17937 6154645504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 12:59:25,114 log 17937 6154645504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:59:25,114 basehttp 17937 6154645504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 12:59:25,127 log 17937 6154645504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:59:25,127 basehttp 17937 6154645504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 12:59:28,012 basehttp 17937 6154645504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 12:59:28,016 basehttp 17937 13304360960 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 ERROR 2025-08-10 12:59:34,352 log 17937 13304360960 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 132, in get_context_data ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: address_line_1, address_line_2, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-10 12:59:34,353 basehttp 17937 13304360960 "GET /en/patients/115/ HTTP/1.1" 500 102999 WARNING 2025-08-10 12:59:34,369 log 17937 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 12:59:34,369 basehttp 17937 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:01:11,703 autoreload 17937 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/models.py changed, reloading. INFO 2025-08-10 13:01:54,264 autoreload 24841 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:01:56,692 log 24841 6198816768 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 132, in get_context_data ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-10 13:01:56,694 basehttp 24841 6198816768 "GET /en/patients/115/ HTTP/1.1" 500 103284 WARNING 2025-08-10 13:01:56,712 log 24841 6198816768 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:01:56,712 basehttp 24841 6198816768 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:02:33,658 autoreload 24841 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py changed, reloading. INFO 2025-08-10 13:02:33,945 autoreload 25083 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:02:36,595 log 25083 6163558400 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 136, in get_context_data ).order_by('-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-10 13:02:36,597 basehttp 25083 6163558400 "GET /en/patients/115/ HTTP/1.1" 500 104123 WARNING 2025-08-10 13:02:36,611 log 25083 6163558400 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:02:36,611 basehttp 25083 6163558400 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:03:26,659 autoreload 25083 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py changed, reloading. INFO 2025-08-10 13:03:26,975 autoreload 25466 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:03:27,389 log 25466 6136737792 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_edit' not found. 'patient_edit' is not a valid view function or pattern name. ERROR 2025-08-10 13:03:27,391 basehttp 25466 6136737792 "GET /en/patients/115/ HTTP/1.1" 500 185775 WARNING 2025-08-10 13:03:27,407 log 25466 6136737792 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:03:27,407 basehttp 25466 6136737792 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:05:05,061 autoreload 25466 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-10 13:05:05,330 autoreload 26252 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:05:08,206 log 26252 6188855296 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'p' not found. 'p' is not a valid view function or pattern name. ERROR 2025-08-10 13:05:08,207 basehttp 26252 6188855296 "GET /en/patients/115/ HTTP/1.1" 500 185526 WARNING 2025-08-10 13:05:08,223 log 26252 6188855296 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:05:08,223 basehttp 26252 6188855296 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 13:05:26,265 log 26252 6188855296 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_deactivate' not found. 'patient_deactivate' is not a valid view function or pattern name. ERROR 2025-08-10 13:05:26,266 basehttp 26252 6188855296 "GET /en/patients/115/ HTTP/1.1" 500 185951 WARNING 2025-08-10 13:05:26,283 log 26252 6188855296 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:05:26,283 basehttp 26252 6188855296 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 13:07:29,760 log 26252 6188855296 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'emergency_contact_create' not found. 'emergency_contact_create' is not a valid view function or pattern name. ERROR 2025-08-10 13:07:29,761 basehttp 26252 6188855296 "GET /en/patients/115/ HTTP/1.1" 500 185864 WARNING 2025-08-10 13:07:29,776 log 26252 6188855296 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:07:29,776 basehttp 26252 6188855296 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:09:25,303 autoreload 26252 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-10 13:09:25,573 autoreload 28125 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:09:28,907 log 28125 6194638848 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'insurance_create' not found. 'insurance_create' is not a valid view function or pattern name. ERROR 2025-08-10 13:09:28,908 basehttp 28125 6194638848 "GET /en/patients/115/ HTTP/1.1" 500 185676 WARNING 2025-08-10 13:09:28,926 log 28125 6194638848 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:09:28,926 basehttp 28125 6194638848 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 13:09:29,973 log 28125 6194638848 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'insurance_create' not found. 'insurance_create' is not a valid view function or pattern name. ERROR 2025-08-10 13:09:29,975 basehttp 28125 6194638848 "GET /en/patients/115/ HTTP/1.1" 500 185676 WARNING 2025-08-10 13:09:29,987 log 28125 6194638848 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:09:29,987 basehttp 28125 6194638848 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:09:47,524 autoreload 28125 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-10 13:09:47,806 autoreload 28362 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:09:48,922 log 28362 6190379008 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'insurance_create' not found. 'insurance_create' is not a valid view function or pattern name. ERROR 2025-08-10 13:09:48,924 basehttp 28362 6190379008 "GET /en/patients/115/ HTTP/1.1" 500 185676 WARNING 2025-08-10 13:09:48,942 log 28362 6190379008 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:09:48,942 basehttp 28362 6190379008 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 13:09:49,998 log 28362 6190379008 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'insurance_create' not found. 'insurance_create' is not a valid view function or pattern name. ERROR 2025-08-10 13:09:49,999 basehttp 28362 6190379008 "GET /en/patients/115/ HTTP/1.1" 500 185676 WARNING 2025-08-10 13:09:50,018 log 28362 6190379008 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:09:50,018 basehttp 28362 6190379008 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 13:09:51,916 log 28362 6190379008 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'insurance_create' not found. 'insurance_create' is not a valid view function or pattern name. ERROR 2025-08-10 13:09:51,917 basehttp 28362 6190379008 "GET /en/patients/115/ HTTP/1.1" 500 185676 WARNING 2025-08-10 13:09:51,934 log 28362 6190379008 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:09:51,934 basehttp 28362 6190379008 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:10:18,905 autoreload 28362 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-10 13:10:19,198 autoreload 28600 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:10:20,285 log 28600 6124793856 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'insurance_list' not found. 'insurance_list' is not a valid view function or pattern name. ERROR 2025-08-10 13:10:20,286 basehttp 28600 6124793856 "GET /en/patients/115/ HTTP/1.1" 500 185578 WARNING 2025-08-10 13:10:20,303 log 28600 6124793856 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:10:20,303 basehttp 28600 6124793856 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:10:41,068 autoreload 28600 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-10 13:10:41,340 autoreload 28754 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:10:42,541 log 28754 6195359744 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'insurance_list' with arguments '(115,)' not found. 1 pattern(s) tried: ['en/patients/insurance\\-info/\\Z'] ERROR 2025-08-10 13:10:42,543 basehttp 28754 6195359744 "GET /en/patients/115/ HTTP/1.1" 500 187202 WARNING 2025-08-10 13:10:42,554 log 28754 6195359744 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:10:42,554 basehttp 28754 6195359744 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 13:10:43,731 log 28754 6195359744 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'insurance_list' with arguments '(115,)' not found. 1 pattern(s) tried: ['en/patients/insurance\\-info/\\Z'] ERROR 2025-08-10 13:10:43,731 basehttp 28754 6195359744 "GET /en/patients/115/ HTTP/1.1" 500 187202 WARNING 2025-08-10 13:10:43,750 log 28754 6195359744 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:10:43,750 basehttp 28754 6195359744 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:12:05,203 autoreload 28754 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-10 13:12:05,466 autoreload 29384 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:12:07,894 log 29384 6128349184 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 64, in reverse app_list = resolver.app_dict[ns] ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 637, in app_dict self._populate() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 574, in _populate url_pattern._populate() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 574, in _populate url_pattern._populate() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 549, in _populate p_pattern = url_pattern.pattern.regex.pattern ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 304, in __get__ instance.__dict__["regex"] = re.compile(instance._regex) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/re/__init__.py", line 228, in compile return _compile(pattern, flags) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/re/__init__.py", line 307, in _compile p = _compiler.compile(pattern, flags) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/re/_compiler.py", line 750, in compile p = _parser.parse(p, flags) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/re/_parser.py", line 979, in parse p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/re/_parser.py", line 460, in _parse_sub itemsappend(_parse(source, state, verbose, nested + 1, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/re/_parser.py", line 857, in _parse raise source.error(err.msg, len(name) + 1) from None re.error: redefinition of group name 'pk' as group 2; was group 1 at position 43 ERROR 2025-08-10 13:12:07,896 basehttp 29384 6128349184 "GET /en/patients/115/ HTTP/1.1" 500 211568 WARNING 2025-08-10 13:12:07,913 log 29384 6128349184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:12:07,913 basehttp 29384 6128349184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:14:58,468 autoreload 29384 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-10 13:14:58,736 autoreload 30609 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:15:01,233 log 30609 6194196480 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'insurance_list' with arguments '(115,)' not found. 1 pattern(s) tried: ['en/patients/insurance\\-info/\\Z'] ERROR 2025-08-10 13:15:01,234 basehttp 30609 6194196480 "GET /en/patients/115/ HTTP/1.1" 500 187202 WARNING 2025-08-10 13:15:01,252 log 30609 6194196480 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:15:01,252 basehttp 30609 6194196480 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:15:27,907 autoreload 30609 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-10 13:15:28,172 autoreload 30843 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:15:30,373 log 30843 6171766784 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'encounter_create' not found. 'encounter_create' is not a valid view function or pattern name. ERROR 2025-08-10 13:15:30,375 basehttp 30843 6171766784 "GET /en/patients/115/ HTTP/1.1" 500 185902 WARNING 2025-08-10 13:15:30,390 log 30843 6171766784 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:15:30,390 basehttp 30843 6171766784 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:17:47,590 autoreload 30843 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/emr/views.py changed, reloading. INFO 2025-08-10 13:17:47,864 autoreload 31849 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 13:19:26,362 autoreload 31849 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/emr/views.py changed, reloading. INFO 2025-08-10 13:19:26,604 autoreload 32625 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 13:20:03,531 autoreload 32625 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/emr/views.py changed, reloading. INFO 2025-08-10 13:20:03,920 autoreload 33304 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:24:24,254 log 33304 6165557248 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'order_create' not found. 'order_create' is not a valid view function or pattern name. ERROR 2025-08-10 13:24:24,258 basehttp 33304 6165557248 "GET /en/patients/115/ HTTP/1.1" 500 185830 WARNING 2025-08-10 13:24:24,269 log 33304 6165557248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:24:24,269 basehttp 33304 6165557248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:24:40,275 autoreload 33304 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/emr/views.py changed, reloading. INFO 2025-08-10 13:24:40,617 autoreload 35772 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:24:45,330 log 35772 6129348608 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'order_create' not found. 'order_create' is not a valid view function or pattern name. ERROR 2025-08-10 13:24:45,335 basehttp 35772 6129348608 "GET /en/patients/115/ HTTP/1.1" 500 185830 WARNING 2025-08-10 13:24:45,352 log 35772 6129348608 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:24:45,353 basehttp 35772 6129348608 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 13:25:28,784 log 35772 6129348608 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_appointments' not found. 'patient_appointments' is not a valid view function or pattern name. ERROR 2025-08-10 13:25:28,785 basehttp 35772 6129348608 "GET /en/patients/115/ HTTP/1.1" 500 186106 WARNING 2025-08-10 13:25:28,803 log 35772 6129348608 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:25:28,803 basehttp 35772 6129348608 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:38:57,265 autoreload 35772 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-10 13:38:57,610 autoreload 42084 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:38:58,585 log 42084 6190493696 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_appointments' not found. 'patient_appointments' is not a valid view function or pattern name. ERROR 2025-08-10 13:38:58,602 basehttp 42084 6190493696 "GET /en/patients/115/ HTTP/1.1" 500 186106 WARNING 2025-08-10 13:38:58,619 log 42084 6190493696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:38:58,619 basehttp 42084 6190493696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:41:14,171 autoreload 42084 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-10 13:41:14,446 autoreload 43111 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:41:17,420 log 43111 6196064256 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_appointments' not found. 'patient_appointments' is not a valid view function or pattern name. ERROR 2025-08-10 13:41:17,421 basehttp 43111 6196064256 "GET /en/patients/115/ HTTP/1.1" 500 186106 WARNING 2025-08-10 13:41:17,438 log 43111 6196064256 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:41:17,438 basehttp 43111 6196064256 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:41:37,364 autoreload 43111 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-10 13:41:37,637 autoreload 43268 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 13:41:43,605 log 43268 6204403712 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_medical_history' not found. 'patient_medical_history' is not a valid view function or pattern name. ERROR 2025-08-10 13:41:43,606 basehttp 43268 6204403712 "GET /en/patients/115/ HTTP/1.1" 500 185969 WARNING 2025-08-10 13:41:43,624 log 43268 6204403712 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:41:43,624 basehttp 43268 6204403712 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 13:44:01,641 log 43268 6204403712 Internal Server Error: /en/patients/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_note_create' not found. 'patient_note_create' is not a valid view function or pattern name. ERROR 2025-08-10 13:44:01,642 basehttp 43268 6204403712 "GET /en/patients/115/ HTTP/1.1" 500 186311 WARNING 2025-08-10 13:44:01,659 log 43268 6204403712 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:44:01,659 basehttp 43268 6204403712 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:45:13,981 autoreload 43268 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-10 13:45:14,275 autoreload 44875 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 13:45:14,595 basehttp 44875 6131691520 "GET /en/patients/115/ HTTP/1.1" 200 36880 WARNING 2025-08-10 13:45:14,618 log 44875 6131691520 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:45:14,618 basehttp 44875 6131691520 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:45:14,707 basehttp 44875 6131691520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 13:45:14,714 log 44875 6182170624 Internal Server Error: /en/patients/htmx/appointments/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' ERROR 2025-08-10 13:45:14,715 basehttp 44875 6182170624 "GET /en/patients/htmx/appointments/115/ HTTP/1.1" 500 63330 ERROR 2025-08-10 13:45:14,723 log 44875 6148517888 Internal Server Error: /en/patients/htmx/emergency-contacts/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-10 13:45:14,731 log 44875 6165344256 Internal Server Error: /en/patients/insurance-info/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-10 13:45:14,731 basehttp 44875 6148517888 "GET /en/patients/htmx/emergency-contacts/115/ HTTP/1.1" 500 89941 ERROR 2025-08-10 13:45:14,732 basehttp 44875 6165344256 "GET /en/patients/insurance-info/115/ HTTP/1.1" 500 105434 INFO 2025-08-10 13:45:30,544 basehttp 44875 6165344256 "GET /en/patients/115/ HTTP/1.1" 200 36880 INFO 2025-08-10 13:45:30,560 basehttp 44875 6182170624 "GET /static/css/custom.css HTTP/1.1" 200 1855 WARNING 2025-08-10 13:45:30,563 log 44875 6215823360 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:45:30,564 basehttp 44875 6215823360 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:45:30,566 basehttp 44875 6182170624 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-10 13:45:30,570 basehttp 44875 6198996992 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-10 13:45:30,573 basehttp 44875 6165344256 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-10 13:45:30,576 basehttp 44875 6148517888 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-10 13:45:30,576 basehttp 44875 6182170624 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-10 13:45:30,578 basehttp 44875 6131691520 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-10 13:45:30,582 basehttp 44875 6215823360 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-10 13:45:30,971 basehttp 44875 6215823360 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-10 13:45:30,973 basehttp 44875 6165344256 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-10 13:45:30,974 basehttp 44875 6131691520 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-10 13:45:30,974 basehttp 44875 6182170624 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-10 13:45:30,975 basehttp 44875 6148517888 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-10 13:45:30,977 basehttp 44875 6198996992 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-10 13:45:30,977 basehttp 44875 6165344256 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-10 13:45:30,978 basehttp 44875 6182170624 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-10 13:45:30,978 basehttp 44875 6148517888 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-10 13:45:30,979 basehttp 44875 6131691520 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-10 13:45:30,980 basehttp 44875 6165344256 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-10 13:45:30,980 basehttp 44875 6198996992 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-10 13:45:30,981 basehttp 44875 6148517888 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-10 13:45:30,981 basehttp 44875 6182170624 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-10 13:45:30,983 basehttp 44875 6148517888 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-10 13:45:30,983 basehttp 44875 6198996992 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-10 13:45:30,983 basehttp 44875 6165344256 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-10 13:45:30,984 basehttp 44875 6215823360 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-10 13:45:30,985 basehttp 44875 6148517888 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-10 13:45:30,985 basehttp 44875 6198996992 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-10 13:45:30,985 basehttp 44875 6131691520 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-10 13:45:30,985 basehttp 44875 6182170624 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-10 13:45:30,986 basehttp 44875 6165344256 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-10 13:45:31,002 basehttp 44875 6165344256 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 ERROR 2025-08-10 13:45:31,036 log 44875 6182170624 Internal Server Error: /en/patients/htmx/appointments/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' ERROR 2025-08-10 13:45:31,037 basehttp 44875 6182170624 "GET /en/patients/htmx/appointments/115/ HTTP/1.1" 500 63595 INFO 2025-08-10 13:45:31,038 basehttp 44875 6148517888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 13:45:31,048 log 44875 6131691520 Internal Server Error: /en/patients/insurance-info/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-10 13:45:31,051 basehttp 44875 6131691520 "GET /en/patients/insurance-info/115/ HTTP/1.1" 500 105699 ERROR 2025-08-10 13:45:31,058 log 44875 6198996992 Internal Server Error: /en/patients/htmx/emergency-contacts/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-10 13:45:31,059 basehttp 44875 6198996992 "GET /en/patients/htmx/emergency-contacts/115/ HTTP/1.1" 500 90206 WARNING 2025-08-10 13:45:31,097 log 44875 6198996992 Not Found: /favicon.ico WARNING 2025-08-10 13:45:31,097 basehttp 44875 6198996992 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-10 13:45:40,309 basehttp 44875 6198996992 "GET /en/appointments/create/?patient=115 HTTP/1.1" 200 33613 WARNING 2025-08-10 13:45:40,327 log 44875 6198996992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:45:40,327 basehttp 44875 6198996992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:45:40,406 basehttp 44875 6198996992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 13:45:44,603 log 44875 6198996992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:45:44,603 basehttp 44875 6198996992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 13:45:44,615 log 44875 6198996992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:45:44,615 basehttp 44875 6198996992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 13:45:46,340 log 44875 6198996992 Internal Server Error: /en/emr/encounters/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_create' not found. 'patient_create' is not a valid view function or pattern name. ERROR 2025-08-10 13:45:46,343 basehttp 44875 6198996992 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 500 181225 WARNING 2025-08-10 13:45:46,357 log 44875 6198996992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:45:46,358 basehttp 44875 6198996992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 13:46:06,280 log 44875 6198996992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:46:06,280 basehttp 44875 6198996992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 13:46:06,294 log 44875 6198996992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 13:46:06,296 basehttp 44875 6198996992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 13:46:31,007 basehttp 44875 6198996992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 13:47:31,015 basehttp 44875 6198996992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 13:48:31,008 basehttp 44875 6198996992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 13:49:31,025 basehttp 44875 6198996992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 13:50:31,024 basehttp 44875 6198996992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 13:51:31,024 basehttp 44875 6198996992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 13:52:31,018 basehttp 44875 6198996992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 13:53:31,030 basehttp 44875 6198996992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 13:54:31,027 basehttp 44875 6198996992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 13:55:31,022 basehttp 44875 6198996992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 13:56:31,037 basehttp 44875 6198996992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 13:56:34,420 autoreload 44875 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/appointments/models.py changed, reloading. INFO 2025-08-10 13:56:34,723 autoreload 49765 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 13:57:31,128 basehttp 49765 6165983232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 13:57:31,618 autoreload 49765 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/appointments/models.py changed, reloading. INFO 2025-08-10 13:57:31,987 autoreload 50257 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 13:58:23,710 autoreload 50257 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/appointments/models.py changed, reloading. INFO 2025-08-10 13:58:24,068 autoreload 50654 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 13:58:31,152 basehttp 50654 6130282496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 13:59:31,098 basehttp 50654 6130282496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:00:31,089 basehttp 50654 6130282496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:00:57,360 autoreload 50654 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/appointments/models.py changed, reloading. INFO 2025-08-10 14:00:57,709 autoreload 51739 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 14:01:01,535 basehttp 51739 6171832320 "GET /en/patients/115/ HTTP/1.1" 200 36880 WARNING 2025-08-10 14:01:01,593 log 51739 6171832320 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:01:01,596 basehttp 51739 6171832320 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:01:01,663 log 51739 13186969600 Internal Server Error: /en/patients/htmx/emergency-contacts/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code INFO 2025-08-10 14:01:01,667 basehttp 51739 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 14:01:01,670 log 51739 13220622336 Internal Server Error: /en/patients/htmx/appointments/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' ERROR 2025-08-10 14:01:01,672 basehttp 51739 13186969600 "GET /en/patients/htmx/emergency-contacts/115/ HTTP/1.1" 500 89941 ERROR 2025-08-10 14:01:01,672 basehttp 51739 13220622336 "GET /en/patients/htmx/appointments/115/ HTTP/1.1" 500 63330 ERROR 2025-08-10 14:01:01,683 log 51739 13203795968 Internal Server Error: /en/patients/insurance-info/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-10 14:01:01,684 basehttp 51739 13203795968 "GET /en/patients/insurance-info/115/ HTTP/1.1" 500 105434 INFO 2025-08-10 14:01:04,065 basehttp 51739 13203795968 "GET /en/billing/bills/create/?patient=115 HTTP/1.1" 200 53807 WARNING 2025-08-10 14:01:04,083 log 51739 13203795968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:01:04,083 basehttp 51739 13203795968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:01:04,126 basehttp 51739 13203795968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:01:22,446 log 51739 13203795968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:01:22,446 basehttp 51739 13203795968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:01:22,453 log 51739 13203795968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:01:22,453 basehttp 51739 13203795968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:01:24,135 basehttp 51739 13203795968 "GET /en/laboratory/orders/create/?patient=115 HTTP/1.1" 200 76753 WARNING 2025-08-10 14:01:24,151 log 51739 13203795968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:01:24,151 basehttp 51739 13203795968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:01:24,194 basehttp 51739 13203795968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:02:07,955 basehttp 51739 13203795968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:02:07,960 log 51739 13220622336 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:02:07,961 basehttp 51739 13220622336 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:02:07,977 log 51739 13220622336 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:02:07,977 basehttp 51739 13220622336 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:02:09,560 log 51739 13220622336 Internal Server Error: /en/emr/encounters/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_create' not found. 'patient_create' is not a valid view function or pattern name. ERROR 2025-08-10 14:02:09,561 basehttp 51739 13220622336 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 500 181225 WARNING 2025-08-10 14:02:09,578 log 51739 13220622336 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:02:09,579 basehttp 51739 13220622336 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:03:12,112 log 51739 13220622336 Internal Server Error: /en/emr/encounters/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_search_api' not found. 'patient_search_api' is not a valid view function or pattern name. ERROR 2025-08-10 14:03:12,113 basehttp 51739 13220622336 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 500 168748 WARNING 2025-08-10 14:03:12,124 log 51739 13220622336 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:03:12,125 basehttp 51739 13220622336 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:03:13,178 log 51739 13220622336 Internal Server Error: /en/emr/encounters/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_search_api' not found. 'patient_search_api' is not a valid view function or pattern name. ERROR 2025-08-10 14:03:13,179 basehttp 51739 13220622336 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 500 168748 WARNING 2025-08-10 14:03:13,189 log 51739 13220622336 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:03:13,189 basehttp 51739 13220622336 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:04:09,296 log 51739 13220622336 Internal Server Error: /en/emr/encounters/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'get_previous_vitals' not found. 'get_previous_vitals' is not a valid view function or pattern name. ERROR 2025-08-10 14:04:09,297 basehttp 51739 13220622336 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 500 168662 WARNING 2025-08-10 14:04:09,307 log 51739 13220622336 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:04:09,307 basehttp 51739 13220622336 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:07:40,555 autoreload 51739 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/emr/views.py changed, reloading. INFO 2025-08-10 14:07:41,032 autoreload 54748 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 14:08:08,245 log 54748 6160838656 Internal Server Error: /en/emr/encounters/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'vital_signs_chart' not found. 'vital_signs_chart' is not a valid view function or pattern name. ERROR 2025-08-10 14:08:08,247 basehttp 54748 6160838656 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 500 168687 WARNING 2025-08-10 14:08:08,265 log 54748 6160838656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:08:08,266 basehttp 54748 6160838656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:08:59,161 log 54748 6160838656 Internal Server Error: /en/emr/encounters/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'encounter_detail' with no arguments not found. 1 pattern(s) tried: ['en/emr/encounters/(?P[0-9]+)/\\Z'] ERROR 2025-08-10 14:08:59,163 basehttp 54748 6160838656 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 500 169576 WARNING 2025-08-10 14:08:59,175 log 54748 6160838656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:08:59,175 basehttp 54748 6160838656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:10:36,256 log 54748 6160838656 Internal Server Error: /en/emr/encounters/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'encounter_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/emr/encounters/(?P[0-9]+)/\\Z'] ERROR 2025-08-10 14:10:36,257 basehttp 54748 6160838656 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 500 171153 WARNING 2025-08-10 14:10:36,274 log 54748 6160838656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:10:36,275 basehttp 54748 6160838656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:10:53,717 log 54748 6160838656 Internal Server Error: /en/emr/encounters/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'encounter_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/emr/encounters/(?P[0-9]+)/\\Z'] ERROR 2025-08-10 14:10:53,718 basehttp 54748 6160838656 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 500 171223 WARNING 2025-08-10 14:10:53,729 log 54748 6160838656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:10:53,729 basehttp 54748 6160838656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:10:54,759 log 54748 6160838656 Internal Server Error: /en/emr/encounters/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'encounter_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/emr/encounters/(?P[0-9]+)/\\Z'] ERROR 2025-08-10 14:10:54,761 basehttp 54748 6160838656 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 500 171223 WARNING 2025-08-10 14:10:54,773 log 54748 6160838656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:10:54,773 basehttp 54748 6160838656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:13:30,352 log 54748 6160838656 Internal Server Error: /en/emr/encounters/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'encounter_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/emr/encounters/(?P[0-9]+)/\\Z'] ERROR 2025-08-10 14:13:30,354 basehttp 54748 6160838656 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 500 171118 WARNING 2025-08-10 14:13:30,368 log 54748 6160838656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:13:30,368 basehttp 54748 6160838656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:14:33,640 basehttp 54748 6160838656 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 200 55795 WARNING 2025-08-10 14:14:33,656 log 54748 6160838656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:14:33,656 basehttp 54748 6160838656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:14:33,715 basehttp 54748 6160838656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:15:27,216 basehttp 54748 6160838656 "GET /en/patients/register/?return_url=/en/emr/encounters/create/ HTTP/1.1" 200 27307 WARNING 2025-08-10 14:15:27,232 log 54748 6160838656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:15:27,232 basehttp 54748 6160838656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:15:27,273 basehttp 54748 6160838656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:15:29,101 log 54748 6160838656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:15:29,102 basehttp 54748 6160838656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:15:29,108 log 54748 6160838656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:15:29,109 basehttp 54748 6160838656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:15:33,709 basehttp 54748 6160838656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:15:57,804 basehttp 54748 6160838656 "GET /en/emr/encounters/ HTTP/1.1" 200 147954 WARNING 2025-08-10 14:15:57,820 log 54748 6160838656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:15:57,820 basehttp 54748 6160838656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:15:57,873 basehttp 54748 6160838656 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 14:16:04,751 log 54748 6160838656 Internal Server Error: /en/emr/encounters/2073/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'add_clinical_note' not found. 'add_clinical_note' is not a valid view function or pattern name. ERROR 2025-08-10 14:16:04,752 basehttp 54748 6160838656 "GET /en/emr/encounters/2073/ HTTP/1.1" 500 173170 WARNING 2025-08-10 14:16:04,766 log 54748 6160838656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:16:04,766 basehttp 54748 6160838656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:22:06,468 autoreload 54748 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/emr/urls.py changed, reloading. INFO 2025-08-10 14:22:06,820 autoreload 61042 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 14:22:28,759 log 61042 6122713088 Internal Server Error: /en/emr/encounters/2073/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'clinical_note_create' with arguments '(2073,)' not found. 1 pattern(s) tried: ['en/emr/notes/create/\\Z'] ERROR 2025-08-10 14:22:28,762 basehttp 61042 6122713088 "GET /en/emr/encounters/2073/ HTTP/1.1" 500 174854 WARNING 2025-08-10 14:22:28,780 log 61042 6122713088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:22:28,780 basehttp 61042 6122713088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:23:12,129 autoreload 61042 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/emr/urls.py changed, reloading. INFO 2025-08-10 14:23:12,408 autoreload 61512 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 14:23:14,259 basehttp 61512 6189477888 "GET /en/emr/encounters/2073/ HTTP/1.1" 200 29501 WARNING 2025-08-10 14:23:14,277 log 61512 6189477888 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:23:14,277 basehttp 61512 6189477888 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:23:14,321 basehttp 61512 6189477888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:24:14,335 basehttp 61512 6189477888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:24:21,893 basehttp 61512 6189477888 "GET /en/emr/encounters/2073/ HTTP/1.1" 200 29501 INFO 2025-08-10 14:24:21,912 basehttp 61512 6273609728 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-10 14:24:21,912 basehttp 61512 6223130624 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-10 14:24:21,917 basehttp 61512 6256783360 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-10 14:24:21,920 basehttp 61512 6189477888 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 WARNING 2025-08-10 14:24:21,926 log 61512 6223130624 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-10 14:24:21,927 basehttp 61512 6256783360 "GET /static/js/app.min.js HTTP/1.1" 200 110394 WARNING 2025-08-10 14:24:21,927 basehttp 61512 6223130624 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:24:21,935 basehttp 61512 6239956992 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-10 14:24:21,936 basehttp 61512 6206304256 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-10 14:24:21,940 basehttp 61512 6273609728 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-10 14:24:22,303 basehttp 61512 6273609728 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-10 14:24:22,303 basehttp 61512 6206304256 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-10 14:24:22,303 basehttp 61512 6256783360 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-10 14:24:22,303 basehttp 61512 6239956992 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-10 14:24:22,303 basehttp 61512 6223130624 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-10 14:24:22,306 basehttp 61512 6189477888 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-10 14:24:22,307 basehttp 61512 6206304256 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-10 14:24:22,307 basehttp 61512 6256783360 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-10 14:24:22,308 basehttp 61512 6239956992 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-10 14:24:22,309 basehttp 61512 6223130624 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-10 14:24:22,310 basehttp 61512 6256783360 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-10 14:24:22,310 basehttp 61512 6239956992 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-10 14:24:22,312 basehttp 61512 6189477888 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-10 14:24:22,312 basehttp 61512 6206304256 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-10 14:24:22,314 basehttp 61512 6223130624 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-10 14:24:22,315 basehttp 61512 6256783360 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-10 14:24:22,315 basehttp 61512 6239956992 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-10 14:24:22,317 basehttp 61512 6239956992 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-10 14:24:22,317 basehttp 61512 6223130624 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-10 14:24:22,317 basehttp 61512 6189477888 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-10 14:24:22,319 basehttp 61512 6256783360 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-10 14:24:22,319 basehttp 61512 6273609728 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-10 14:24:22,322 basehttp 61512 6189477888 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-10 14:24:22,325 basehttp 61512 6239956992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:24:22,328 basehttp 61512 6206304256 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 WARNING 2025-08-10 14:24:22,430 log 61512 6206304256 Not Found: /favicon.ico WARNING 2025-08-10 14:24:22,430 basehttp 61512 6206304256 "GET /favicon.ico HTTP/1.1" 404 2557 WARNING 2025-08-10 14:24:33,967 log 61512 6206304256 Not Found: /en/patients/58/ WARNING 2025-08-10 14:24:33,968 basehttp 61512 6206304256 "GET /en/patients/58/ HTTP/1.1" 404 26530 WARNING 2025-08-10 14:24:33,987 log 61512 6206304256 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:24:33,988 basehttp 61512 6206304256 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:25:02,761 log 61512 6206304256 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:25:02,761 basehttp 61512 6206304256 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:25:02,778 log 61512 6206304256 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:25:02,779 basehttp 61512 6206304256 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:25:03,664 basehttp 61512 6206304256 "GET /en/emr/encounters/ HTTP/1.1" 200 147954 WARNING 2025-08-10 14:25:03,678 log 61512 6206304256 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:25:03,678 basehttp 61512 6206304256 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:25:06,771 basehttp 61512 6206304256 "GET /en/emr/encounters/3179/ HTTP/1.1" 200 29783 WARNING 2025-08-10 14:25:06,787 log 61512 6206304256 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:25:06,788 basehttp 61512 6206304256 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:25:06,822 basehttp 61512 6206304256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:25:13,697 log 61512 6206304256 Bad Request: /en/emr/encounter/3179/vitals/add/ WARNING 2025-08-10 14:25:13,697 basehttp 61512 6206304256 "GET /en/emr/encounter/3179/vitals/add/ HTTP/1.1" 400 28 ERROR 2025-08-10 14:25:19,589 log 61512 6206304256 Internal Server Error: /en/emr/notes/create/3179/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 178, in get return super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 72, in get_context_data kwargs["form"] = self.get_form() ^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 37, in get_form return form_class(**self.get_form_kwargs()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/emr/forms.py", line 294, in __init__ super().__init__(*args, **kwargs) TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'user' ERROR 2025-08-10 14:25:19,590 basehttp 61512 6206304256 "GET /en/emr/notes/create/3179/ HTTP/1.1" 500 98845 WARNING 2025-08-10 14:25:22,966 log 61512 6206304256 Bad Request: /en/emr/patient/3179/problem/add/ WARNING 2025-08-10 14:25:22,966 basehttp 61512 6206304256 "GET /en/emr/patient/3179/problem/add/ HTTP/1.1" 400 28 INFO 2025-08-10 14:26:06,836 basehttp 61512 6206304256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:26:28,205 log 61512 6206304256 Not Found: /en/patients/108/ WARNING 2025-08-10 14:26:28,205 basehttp 61512 6206304256 "GET /en/patients/108/ HTTP/1.1" 404 26533 WARNING 2025-08-10 14:26:28,221 log 61512 6206304256 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:26:28,222 basehttp 61512 6206304256 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:27:20,855 autoreload 61512 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-10 14:27:21,138 autoreload 63344 8601149632 Watching for file changes with StatReloader WARNING 2025-08-10 14:27:22,156 log 63344 6168899584 Not Found: /en/patients/108/ WARNING 2025-08-10 14:27:22,157 basehttp 63344 6168899584 "GET /en/patients/108/ HTTP/1.1" 404 40754 WARNING 2025-08-10 14:27:22,170 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:27:22,170 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:27:23,701 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:27:23,702 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:27:23,729 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:27:23,731 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:27:23,789 basehttp 63344 6168899584 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:27:24,375 basehttp 63344 6168899584 "GET /en/emr/encounters/3179/ HTTP/1.1" 200 29791 WARNING 2025-08-10 14:27:24,389 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:27:24,389 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:27:24,439 basehttp 63344 6168899584 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:27:26,527 log 63344 6168899584 Not Found: /en/patients/108/details/ WARNING 2025-08-10 14:27:26,528 basehttp 63344 6168899584 "GET /en/patients/108/details/ HTTP/1.1" 404 26565 WARNING 2025-08-10 14:27:26,547 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:27:26,548 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:28:31,091 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:28:31,091 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:28:31,093 basehttp 63344 6168899584 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:28:31,099 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:28:31,099 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:28:31,737 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:28:31,737 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:28:31,740 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:28:31,745 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:28:31,745 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:28:32,102 basehttp 63344 6168899584 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 200 55795 WARNING 2025-08-10 14:28:32,117 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:28:32,117 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:28:32,532 log 63344 6168899584 Not Found: /en/patients/115/ WARNING 2025-08-10 14:28:32,532 basehttp 63344 6168899584 "GET /en/patients/115/ HTTP/1.1" 404 40754 WARNING 2025-08-10 14:28:32,551 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:28:32,551 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:28:33,669 basehttp 63344 6168899584 "GET /en/patients/ HTTP/1.1" 200 66080 WARNING 2025-08-10 14:28:33,686 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:28:33,686 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:28:33,711 basehttp 63344 6168899584 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-10 14:28:34,126 basehttp 63344 6168899584 "GET /en/ HTTP/1.1" 200 46418 WARNING 2025-08-10 14:28:34,146 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:28:34,146 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:28:34,183 basehttp 63344 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 14:28:34,183 basehttp 63344 13052751872 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-10 14:28:34,185 basehttp 63344 6168899584 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-10 14:28:35,044 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:28:35,044 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:28:35,056 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:28:35,056 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:28:37,018 basehttp 63344 6168899584 "GET /en/patients/115/details/ HTTP/1.1" 200 36880 WARNING 2025-08-10 14:28:37,039 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:28:37,039 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:28:37,110 basehttp 63344 6168899584 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 14:28:37,115 log 63344 13069578240 Internal Server Error: /en/patients/htmx/appointments/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' ERROR 2025-08-10 14:28:37,116 basehttp 63344 13069578240 "GET /en/patients/htmx/appointments/115/ HTTP/1.1" 500 63346 ERROR 2025-08-10 14:28:37,124 log 63344 13035925504 Internal Server Error: /en/patients/htmx/emergency-contacts/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-10 14:28:37,131 log 63344 13052751872 Internal Server Error: /en/patients/insurance-info/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-10 14:28:37,132 basehttp 63344 13035925504 "GET /en/patients/htmx/emergency-contacts/115/ HTTP/1.1" 500 89957 ERROR 2025-08-10 14:28:37,133 basehttp 63344 13052751872 "GET /en/patients/insurance-info/115/ HTTP/1.1" 500 105450 ERROR 2025-08-10 14:28:59,562 log 63344 13052751872 Internal Server Error: /en/patients/insurance-info/create/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'insurance_list' with no arguments not found. 1 pattern(s) tried: ['en/patients/insurance\\-info/(?P[0-9]+)/\\Z'] ERROR 2025-08-10 14:28:59,564 basehttp 63344 13052751872 "GET /en/patients/insurance-info/create/115/ HTTP/1.1" 500 201609 WARNING 2025-08-10 14:28:59,584 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:28:59,584 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:29:07,941 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:29:07,941 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:29:07,960 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:29:07,963 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:29:23,404 basehttp 63344 13052751872 "GET /en/appointments/create/?patient=115 HTTP/1.1" 200 33613 WARNING 2025-08-10 14:29:23,425 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:29:23,425 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:29:23,462 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:29:27,765 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:29:27,766 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:29:27,783 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:29:27,783 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:29:29,451 basehttp 63344 13052751872 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 200 55795 WARNING 2025-08-10 14:29:29,474 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:29:29,474 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:29:29,514 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:29:40,551 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:29:40,558 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:29:40,558 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:29:40,577 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:29:40,577 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:29:53,967 log 63344 13069578240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:29:53,969 basehttp 63344 13069578240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:29:53,973 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:29:53,992 basehttp 63344 13052751872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 WARNING 2025-08-10 14:29:53,993 log 63344 13069578240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:29:53,994 basehttp 63344 13069578240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:30:03,855 log 63344 13069578240 Internal Server Error: /en/patients/htmx/insurance-info/119/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1134, in insurance_info_list return render(request, 'patients/partials/insurance_info_list.html', { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/shortcuts.py", line 25, in render content = loader.render_to_string(template_name, context, request, using=using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 62, in render_to_string return template.render(context, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'verify_insurance' not found. 'verify_insurance' is not a valid view function or pattern name. ERROR 2025-08-10 14:30:03,857 basehttp 63344 13069578240 "GET /en/patients/htmx/insurance-info/119/ HTTP/1.1" 500 163298 WARNING 2025-08-10 14:30:32,706 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:30:32,708 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:30:32,709 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:30:32,710 basehttp 63344 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 14:30:32,711 basehttp 63344 13069578240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-10 14:30:32,716 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:30:32,716 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:30:35,641 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:30:35,641 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:30:35,651 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:30:35,651 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:30:40,069 basehttp 63344 13035925504 "GET /en/patients/ HTTP/1.1" 200 66080 WARNING 2025-08-10 14:30:40,088 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:30:40,088 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:30:40,145 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:30:40,146 basehttp 63344 13069578240 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-10 14:30:42,953 basehttp 63344 13069578240 "GET /en/patients/119/details/ HTTP/1.1" 200 36966 WARNING 2025-08-10 14:30:42,975 log 63344 13069578240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:30:42,975 basehttp 63344 13069578240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:30:43,043 basehttp 63344 13069578240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 14:30:43,048 log 63344 6168899584 Internal Server Error: /en/patients/htmx/appointments/119/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' ERROR 2025-08-10 14:30:43,049 basehttp 63344 6168899584 "GET /en/patients/htmx/appointments/119/ HTTP/1.1" 500 63346 ERROR 2025-08-10 14:30:43,057 log 63344 13035925504 Internal Server Error: /en/patients/htmx/emergency-contacts/119/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-10 14:30:43,058 basehttp 63344 13035925504 "GET /en/patients/htmx/emergency-contacts/119/ HTTP/1.1" 500 89805 ERROR 2025-08-10 14:30:43,065 log 63344 13052751872 Internal Server Error: /en/patients/insurance-info/119/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-10 14:30:43,066 basehttp 63344 13052751872 "GET /en/patients/insurance-info/119/ HTTP/1.1" 500 105450 WARNING 2025-08-10 14:30:45,468 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:30:45,469 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:30:45,478 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:30:45,478 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:30:55,272 log 63344 13052751872 Internal Server Error: /en/patients/htmx/insurance-info/119/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1134, in insurance_info_list return render(request, 'patients/partials/insurance_info_list.html', { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/shortcuts.py", line 25, in render content = loader.render_to_string(template_name, context, request, using=using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 62, in render_to_string return template.render(context, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'verify_insurance' not found. 'verify_insurance' is not a valid view function or pattern name. ERROR 2025-08-10 14:30:55,273 basehttp 63344 13052751872 "GET /en/patients/htmx/insurance-info/119/ HTTP/1.1" 500 163298 INFO 2025-08-10 14:31:02,959 basehttp 63344 13052751872 "GET /en/patients/ HTTP/1.1" 200 66080 WARNING 2025-08-10 14:31:02,978 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:31:02,978 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:31:03,033 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:31:03,035 basehttp 63344 13035925504 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-10 14:31:08,802 basehttp 63344 13035925504 "GET /en/patients/htmx/consent-forms/119/ HTTP/1.1" 200 1174 INFO 2025-08-10 14:31:23,508 basehttp 63344 13035925504 "GET /en/patients/ HTTP/1.1" 200 66080 WARNING 2025-08-10 14:31:23,527 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:31:23,527 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:31:23,583 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:31:23,584 basehttp 63344 13052751872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-10 14:32:23,597 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:32:23,601 basehttp 63344 13035925504 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-10 14:33:08,226 basehttp 63344 13035925504 "GET /en/patients/htmx/consent-forms/40/ HTTP/1.1" 200 149 INFO 2025-08-10 14:33:23,609 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:33:23,612 basehttp 63344 13052751872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-10 14:33:23,920 basehttp 63344 13052751872 "GET /en/patients/ HTTP/1.1" 200 66080 WARNING 2025-08-10 14:33:23,938 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:33:23,938 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:33:23,991 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:33:23,993 basehttp 63344 13035925504 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-10 14:33:29,560 basehttp 63344 13035925504 "GET /en/patients/htmx/insurance-info/123/ HTTP/1.1" 200 568 INFO 2025-08-10 14:33:47,760 basehttp 63344 13035925504 "GET /en/patients/ HTTP/1.1" 200 66080 WARNING 2025-08-10 14:33:47,778 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:33:47,778 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:33:47,832 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:33:47,835 basehttp 63344 13052751872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-10 14:33:59,275 basehttp 63344 13052751872 "GET /en/patients/htmx/consent-forms/10/ HTTP/1.1" 200 149 INFO 2025-08-10 14:34:04,621 basehttp 63344 13052751872 "GET /en/patients/ HTTP/1.1" 200 66080 WARNING 2025-08-10 14:34:04,639 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:34:04,639 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:34:04,691 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:34:04,693 basehttp 63344 13035925504 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-10 14:34:09,142 basehttp 63344 13035925504 "GET /en/patients/htmx/consent-forms/115/ HTTP/1.1" 200 590 INFO 2025-08-10 14:34:15,184 basehttp 63344 13035925504 "GET /en/patients/ HTTP/1.1" 200 66080 WARNING 2025-08-10 14:34:15,201 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:34:15,202 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:34:15,256 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:34:15,258 basehttp 63344 13052751872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-10 14:35:15,274 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:35:15,276 basehttp 63344 13035925504 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-10 14:35:17,614 basehttp 63344 13035925504 "GET /en/patients/110/details/ HTTP/1.1" 200 36866 WARNING 2025-08-10 14:35:17,632 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:35:17,632 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:35:17,720 log 63344 13069578240 Internal Server Error: /en/patients/htmx/appointments/110/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' INFO 2025-08-10 14:35:17,721 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 14:35:17,722 basehttp 63344 13069578240 "GET /en/patients/htmx/appointments/110/ HTTP/1.1" 500 63346 ERROR 2025-08-10 14:35:17,734 log 63344 13052751872 Internal Server Error: /en/patients/htmx/emergency-contacts/110/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-10 14:35:17,736 basehttp 63344 13052751872 "GET /en/patients/htmx/emergency-contacts/110/ HTTP/1.1" 500 89800 ERROR 2025-08-10 14:35:17,741 log 63344 6168899584 Internal Server Error: /en/patients/insurance-info/110/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-10 14:35:17,742 basehttp 63344 6168899584 "GET /en/patients/insurance-info/110/ HTTP/1.1" 500 105450 INFO 2025-08-10 14:35:49,097 basehttp 63344 6168899584 "GET /en/billing/bills/create/?patient=110 HTTP/1.1" 200 53807 WARNING 2025-08-10 14:35:49,120 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:35:49,120 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:35:49,162 basehttp 63344 6168899584 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:35:57,569 basehttp 63344 6168899584 "GET /en/billing/bills/ HTTP/1.1" 200 65677 WARNING 2025-08-10 14:35:57,587 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:35:57,587 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:35:57,636 basehttp 63344 6168899584 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:35:57,651 basehttp 63344 13052751872 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 105 INFO 2025-08-10 14:36:03,485 basehttp 63344 13052751872 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 200 35532 WARNING 2025-08-10 14:36:03,509 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:36:03,509 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:36:03,550 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:36:10,112 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:36:10,112 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:36:10,122 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:36:10,122 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:36:14,734 log 63344 13052751872 Internal Server Error: /en/billing/bills/64b27867-1cb2-42ff-9212-5cbdaa087246/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bill_submit' not found. 'bill_submit' is not a valid view function or pattern name. ERROR 2025-08-10 14:36:14,735 basehttp 63344 13052751872 "GET /en/billing/bills/64b27867-1cb2-42ff-9212-5cbdaa087246/ HTTP/1.1" 500 191706 WARNING 2025-08-10 14:36:14,752 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:36:14,752 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:36:23,904 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:36:23,904 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:36:23,936 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:36:23,936 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:36:27,275 basehttp 63344 13052751872 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 200 35532 WARNING 2025-08-10 14:36:27,296 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:36:27,296 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:36:27,334 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:36:33,988 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:36:33,989 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:36:33,999 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:36:33,999 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:36:57,647 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:36:57,650 basehttp 63344 6168899584 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 105 INFO 2025-08-10 14:36:59,207 basehttp 63344 6168899584 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:36:59,208 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:36:59,209 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:36:59,237 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:36:59,240 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:37:00,183 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:37:00,183 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:37:02,487 log 63344 13069578240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:37:02,488 basehttp 63344 13069578240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:37:02,488 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:37:02,491 basehttp 63344 6168899584 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 WARNING 2025-08-10 14:37:02,496 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:37:02,496 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:37:50,668 basehttp 63344 6168899584 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:37:50,677 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:37:50,679 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:37:50,680 basehttp 63344 13069578240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 14:37:50,682 basehttp 63344 13052751872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-10 14:37:50,687 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:37:50,688 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:37:51,718 basehttp 63344 13052751872 "GET /en/analytics/dashboards/ HTTP/1.1" 200 117952 WARNING 2025-08-10 14:37:51,737 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:37:51,738 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:37:53,995 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:37:53,995 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:37:54,004 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:37:54,004 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:37:54,229 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:37:54,229 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:37:54,238 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:37:54,238 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:37:56,759 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:37:56,760 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:37:56,778 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:37:56,778 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:38:00,009 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:38:00,009 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:38:01,307 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:38:01,309 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:38:01,310 basehttp 63344 13069578240 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 105 INFO 2025-08-10 14:38:01,310 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:38:01,317 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:38:01,317 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:38:02,687 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:38:02,688 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:38:02,689 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:38:02,695 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:38:02,695 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:38:05,021 basehttp 63344 13052751872 "GET / HTTP/1.1" 302 0 INFO 2025-08-10 14:38:05,036 basehttp 63344 13035925504 "GET /en/ HTTP/1.1" 200 46418 WARNING 2025-08-10 14:38:05,055 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:38:05,055 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:38:05,130 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:38:05,135 basehttp 63344 13069578240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-10 14:38:05,137 basehttp 63344 13052751872 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-10 14:38:05,137 basehttp 63344 6168899584 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 14:38:11,276 basehttp 63344 6168899584 "GET /en/htmx/dismiss-notification/7f5f7eca-e3c3-4e6c-9eb7-4b8fb82c9740/ HTTP/1.1" 200 23 WARNING 2025-08-10 14:38:11,299 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:38:11,300 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:38:13,755 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:38:13,755 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:38:13,765 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:38:13,765 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:38:35,114 basehttp 63344 6168899584 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-10 14:38:52,030 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:38:52,030 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:38:52,053 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:38:52,055 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:38:58,878 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:38:58,883 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:38:58,902 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:38:58,902 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:39:05,135 basehttp 63344 6168899584 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:39:05,136 basehttp 63344 13052751872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 14:39:05,137 basehttp 63344 13069578240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-10 14:39:06,327 basehttp 63344 6168899584 "GET /en/ HTTP/1.1" 200 46408 WARNING 2025-08-10 14:39:06,343 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:39:06,343 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:39:06,418 basehttp 63344 6168899584 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:39:06,419 basehttp 63344 13052751872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 14:39:06,419 basehttp 63344 13035925504 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-10 14:39:06,421 basehttp 63344 13069578240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-10 14:39:12,244 basehttp 63344 13069578240 "GET /en/emr HTTP/1.1" 301 0 INFO 2025-08-10 14:39:12,277 basehttp 63344 13035925504 "GET /en/emr/ HTTP/1.1" 200 70688 WARNING 2025-08-10 14:39:12,294 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:39:12,294 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:39:12,322 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:39:12,325 basehttp 63344 13052751872 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-10 14:39:22,565 basehttp 63344 13052751872 "GET /en/emr/notes/ HTTP/1.1" 200 96982 WARNING 2025-08-10 14:39:22,586 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:39:22,586 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:39:22,628 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:39:45,450 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:39:45,450 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:39:45,454 basehttp 63344 13052751872 "GET /en/emr/stats/ HTTP/1.1" 200 2966 WARNING 2025-08-10 14:39:45,458 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:39:45,458 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:39:47,312 log 63344 13035925504 Internal Server Error: /en/emr/problems/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'resolve_problem' not found. 'resolve_problem' is not a valid view function or pattern name. ERROR 2025-08-10 14:39:47,313 basehttp 63344 13035925504 "GET /en/emr/problems/ HTTP/1.1" 500 263958 WARNING 2025-08-10 14:39:47,328 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:39:47,328 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:39:57,299 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:39:57,300 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:39:57,307 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:39:57,307 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:39:59,008 basehttp 63344 13035925504 "GET /en/emr/vital-signs/ HTTP/1.1" 200 91518 WARNING 2025-08-10 14:39:59,025 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:39:59,025 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:39:59,066 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:40:12,011 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:40:12,012 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:40:12,023 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:40:12,023 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:40:12,330 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:40:15,467 basehttp 63344 13035925504 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-10 14:40:33,110 basehttp 63344 13035925504 "GET /en/emr/encounters/2098/ HTTP/1.1" 200 28508 WARNING 2025-08-10 14:40:33,130 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:40:33,130 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:40:33,175 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:40:39,614 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:40:39,614 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:40:39,625 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:40:39,625 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:40:45,455 basehttp 63344 13035925504 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-10 14:40:55,304 basehttp 63344 13035925504 "GET /en/emr/notes/?status=unsigned HTTP/1.1" 200 23827 WARNING 2025-08-10 14:40:55,324 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:40:55,324 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:40:55,366 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:40:58,510 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:40:58,511 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:40:58,520 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:40:58,520 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:41:00,643 basehttp 63344 13035925504 "GET /en/emr/encounters/?documentation_complete=false HTTP/1.1" 200 147954 WARNING 2025-08-10 14:41:00,663 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:41:00,663 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:41:00,702 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:41:04,154 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:41:04,154 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:41:04,163 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:41:04,163 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:41:12,336 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:41:15,451 basehttp 63344 13035925504 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-10 14:41:45,460 basehttp 63344 13035925504 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-10 14:42:12,326 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:42:15,450 basehttp 63344 13035925504 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-10 14:42:45,473 basehttp 63344 13035925504 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-10 14:43:12,367 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:43:15,497 basehttp 63344 13035925504 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-10 14:43:17,143 basehttp 63344 13035925504 "GET /en/emr/ HTTP/1.1" 200 70468 WARNING 2025-08-10 14:43:17,158 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:43:17,158 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:43:17,218 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:43:17,220 basehttp 63344 13052751872 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-10 14:43:47,209 basehttp 63344 13052751872 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-10 14:43:50,982 basehttp 63344 13052751872 "GET /en/emr/ HTTP/1.1" 200 70388 WARNING 2025-08-10 14:43:50,995 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:43:50,996 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:43:51,063 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:43:51,067 basehttp 63344 13035925504 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-10 14:44:21,055 basehttp 63344 13035925504 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-10 14:44:51,044 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:44:51,047 basehttp 63344 13052751872 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-10 14:44:52,645 basehttp 63344 13052751872 "GET /en/emr/ HTTP/1.1" 200 71288 WARNING 2025-08-10 14:44:52,659 log 63344 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:44:52,659 basehttp 63344 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:44:52,711 basehttp 63344 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:44:52,714 basehttp 63344 13035925504 "GET /en/emr/stats/ HTTP/1.1" 200 2966 WARNING 2025-08-10 14:45:08,320 log 63344 13035925504 Bad Request: /en/emr/encounter/2098/vitals/add/ WARNING 2025-08-10 14:45:08,321 basehttp 63344 13035925504 "GET /en/emr/encounter/2098/vitals/add/ HTTP/1.1" 400 28 WARNING 2025-08-10 14:45:08,342 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:45:08,342 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:45:14,770 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:45:14,770 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:45:14,794 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:45:14,794 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:45:22,720 basehttp 63344 13035925504 "GET /en/emr/stats/ HTTP/1.1" 200 2966 ERROR 2025-08-10 14:45:24,496 log 63344 13035925504 Internal Server Error: /en/emr/problems/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'resolve_problem' not found. 'resolve_problem' is not a valid view function or pattern name. ERROR 2025-08-10 14:45:24,499 basehttp 63344 13035925504 "GET /en/emr/problems/ HTTP/1.1" 500 263958 WARNING 2025-08-10 14:45:24,513 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:45:24,513 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:45:27,813 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:45:27,813 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:45:27,846 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:45:27,846 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:45:42,138 basehttp 63344 13035925504 "GET /en/inpatients/ HTTP/1.1" 200 41323 WARNING 2025-08-10 14:45:42,153 log 63344 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:45:42,153 basehttp 63344 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:45:42,217 basehttp 63344 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:45:42,220 basehttp 63344 13052751872 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-10 14:45:42,247 basehttp 63344 6168899584 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 ERROR 2025-08-10 14:45:47,623 log 63344 6168899584 Internal Server Error: /en/inpatients/wards/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 231, in render raise ValueError( ValueError: Need 2 values to unpack in for loop; got 8. ERROR 2025-08-10 14:45:47,624 basehttp 63344 6168899584 "GET /en/inpatients/wards/ HTTP/1.1" 500 184826 WARNING 2025-08-10 14:45:47,645 log 63344 6168899584 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:45:47,645 basehttp 63344 6168899584 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:48:41,381 autoreload 63344 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-10 14:48:41,814 autoreload 72587 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 14:48:44,785 log 72587 6191951872 Internal Server Error: /en/inpatients/wards/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 231, in render raise ValueError( ValueError: Need 2 values to unpack in for loop; got 8. ERROR 2025-08-10 14:48:44,788 basehttp 72587 6191951872 "GET /en/inpatients/wards/ HTTP/1.1" 500 184963 WARNING 2025-08-10 14:48:44,803 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:48:44,804 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 14:50:06,477 log 72587 6191951872 Internal Server Error: /en/inpatients/wards/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 231, in render raise ValueError( ValueError: Need 2 values to unpack in for loop; got 8. ERROR 2025-08-10 14:50:06,478 basehttp 72587 6191951872 "GET /en/inpatients/wards/ HTTP/1.1" 500 206232 WARNING 2025-08-10 14:50:06,494 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:50:06,494 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:50:42,362 basehttp 72587 6191951872 "GET /en/inpatients/wards/ HTTP/1.1" 200 47472 WARNING 2025-08-10 14:50:42,374 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:50:42,374 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:50:42,414 basehttp 72587 6191951872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:51:42,416 basehttp 72587 6191951872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:51:49,472 basehttp 72587 6191951872 "GET /en/inpatients/wards/ HTTP/1.1" 200 47666 WARNING 2025-08-10 14:51:49,484 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:51:49,485 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:51:49,511 basehttp 72587 6191951872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:52:49,526 basehttp 72587 6191951872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:53:49,529 basehttp 72587 6191951872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:54:49,533 basehttp 72587 6191951872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:55:12,904 basehttp 72587 6191951872 "GET /en/inpatients/beds/?ward=73 HTTP/1.1" 200 782106 WARNING 2025-08-10 14:55:12,917 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:55:12,918 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:55:12,960 basehttp 72587 6191951872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:55:13,027 basehttp 72587 6191951872 "GET /en/inpatients/beds/?ward=73 HTTP/1.1" 200 782106 INFO 2025-08-10 14:55:43,053 basehttp 72587 6191951872 "GET /en/inpatients/beds/?ward=73 HTTP/1.1" 200 782106 INFO 2025-08-10 14:56:11,135 basehttp 72587 6191951872 "GET /en/inpatients/beds/?ward=73 HTTP/1.1" 200 782106 WARNING 2025-08-10 14:56:11,152 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:56:11,152 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:56:11,216 basehttp 72587 6191951872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:56:11,256 basehttp 72587 6191951872 "GET /en/inpatients/beds/?ward=73 HTTP/1.1" 200 782106 INFO 2025-08-10 14:56:12,335 basehttp 72587 6191951872 "GET /en/inpatients/beds/?ward=73 HTTP/1.1" 200 782106 WARNING 2025-08-10 14:56:12,349 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:56:12,349 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:56:12,410 basehttp 72587 6191951872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:56:12,469 basehttp 72587 6191951872 "GET /en/inpatients/beds/?ward=73 HTTP/1.1" 200 782106 INFO 2025-08-10 14:56:13,533 basehttp 72587 6191951872 "GET /en/inpatients/beds/create/ HTTP/1.1" 200 34406 WARNING 2025-08-10 14:56:13,557 log 72587 6242430976 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-10 14:56:13,557 basehttp 72587 6208778240 "GET /static/plugins/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css HTTP/1.1" 200 15733 INFO 2025-08-10 14:56:13,557 basehttp 72587 6191951872 "GET /static/plugins/select2/dist/css/select2.min.css HTTP/1.1" 200 14966 WARNING 2025-08-10 14:56:13,557 basehttp 72587 6242430976 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:56:13,558 basehttp 72587 6225604608 "GET /static/plugins/select2/dist/js/select2.min.js HTTP/1.1" 200 70851 INFO 2025-08-10 14:56:13,604 basehttp 72587 6225604608 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:56:27,590 log 72587 6225604608 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:56:27,590 basehttp 72587 6225604608 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:56:27,619 log 72587 6225604608 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:56:27,620 basehttp 72587 6225604608 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:56:42,494 basehttp 72587 6191951872 "GET /en/inpatients/beds/?ward=73 HTTP/1.1" 200 782106 INFO 2025-08-10 14:57:12,424 basehttp 72587 6191951872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:57:12,477 basehttp 72587 6191951872 "GET /en/inpatients/beds/?ward=73 HTTP/1.1" 200 782106 INFO 2025-08-10 14:57:26,259 basehttp 72587 6191951872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 14:57:26,261 log 72587 6208778240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:57:26,261 basehttp 72587 6208778240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 14:57:26,271 log 72587 6208778240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 14:57:26,271 basehttp 72587 6208778240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 14:58:26,262 basehttp 72587 6208778240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 14:59:26,257 basehttp 72587 6208778240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:00:17,632 log 72587 6208778240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:00:17,633 basehttp 72587 6208778240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:00:27,748 basehttp 72587 6208778240 "GET /en/inpatients/beds/ HTTP/1.1" 200 782106 WARNING 2025-08-10 15:00:27,766 log 72587 6208778240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:00:27,766 basehttp 72587 6208778240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:00:27,867 basehttp 72587 6208778240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:00:27,904 basehttp 72587 6191951872 "GET /en/inpatients/beds/ HTTP/1.1" 200 782106 WARNING 2025-08-10 15:00:29,607 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:00:29,608 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:00:29,619 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:00:29,619 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:00:30,986 basehttp 72587 6191951872 "GET /en/inpatients/transfers/ HTTP/1.1" 200 22230 WARNING 2025-08-10 15:00:31,007 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:00:31,008 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:00:31,048 basehttp 72587 6191951872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:00:38,269 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:00:38,269 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:00:38,281 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:00:38,281 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:00:40,215 basehttp 72587 6191951872 "GET /en/inpatients/wards/ HTTP/1.1" 200 47666 WARNING 2025-08-10 15:00:40,232 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:00:40,233 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:00:40,277 basehttp 72587 6191951872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:00:42,107 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:00:42,108 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:00:42,119 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:00:42,119 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:00:44,321 basehttp 72587 6191951872 "GET /en/inpatients/surgery/ HTTP/1.1" 200 23100 WARNING 2025-08-10 15:00:44,342 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:00:44,342 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:00:44,394 basehttp 72587 6191951872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:00:53,601 log 72587 6208778240 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-10 15:00:53,605 basehttp 72587 6191951872 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 WARNING 2025-08-10 15:00:53,605 basehttp 72587 6208778240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:00:53,612 log 72587 6208778240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:00:53,612 basehttp 72587 6208778240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:01:17,713 basehttp 72587 6208778240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:01:17,745 basehttp 72587 6191951872 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-10 15:01:23,603 basehttp 72587 6191951872 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-10 15:01:53,607 basehttp 72587 6191951872 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-10 15:02:17,704 basehttp 72587 6208778240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:02:17,736 basehttp 72587 6191951872 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-10 15:02:17,769 basehttp 72587 6208778240 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-10 15:02:23,608 basehttp 72587 6208778240 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-10 15:02:53,611 basehttp 72587 6208778240 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-10 15:03:08,943 basehttp 72587 6208778240 "GET /en/ HTTP/1.1" 200 46365 WARNING 2025-08-10 15:03:08,961 log 72587 6208778240 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:03:08,961 basehttp 72587 6208778240 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:03:09,030 basehttp 72587 6208778240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:03:09,034 basehttp 72587 6242430976 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-10 15:03:09,036 basehttp 72587 6225604608 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 15:03:09,036 basehttp 72587 6191951872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 ERROR 2025-08-10 15:03:13,005 log 72587 6191951872 Internal Server Error: /en/analytics/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_detail' with arguments '(UUID('605e5533-a71e-435d-a570-4181de1ba1e4'),)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9]+)/\\Z'] ERROR 2025-08-10 15:03:13,006 basehttp 72587 6191951872 "GET /en/analytics/ HTTP/1.1" 500 229423 WARNING 2025-08-10 15:03:13,027 log 72587 6191951872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:03:13,027 basehttp 72587 6191951872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:03:34,103 autoreload 72587 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-10 15:03:34,449 autoreload 79071 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 15:03:35,271 basehttp 79071 6192459776 "GET /en/analytics/ HTTP/1.1" 200 51657 WARNING 2025-08-10 15:03:35,292 log 79071 6192459776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:03:35,292 basehttp 79071 6192459776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:03:35,345 basehttp 79071 6192459776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:03:35,347 basehttp 79071 6209286144 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 ERROR 2025-08-10 15:03:44,302 log 79071 6209286144 Internal Server Error: /en/analytics/executions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 650, in get_queryset queryset = ReportExecution.objects.filter(tenant=self.request.user.tenant) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-10 15:03:44,304 basehttp 79071 6209286144 "GET /en/analytics/executions/ HTTP/1.1" 500 135858 WARNING 2025-08-10 15:03:44,321 log 79071 6209286144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:03:44,321 basehttp 79071 6209286144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:03:48,961 log 79071 6209286144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:03:48,962 basehttp 79071 6209286144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:03:48,969 log 79071 6209286144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:03:48,970 basehttp 79071 6209286144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:04:05,355 basehttp 79071 6209286144 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 WARNING 2025-08-10 15:04:09,342 log 79071 6242938880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:04:09,343 basehttp 79071 6242938880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:04:09,346 basehttp 79071 6192459776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:04:09,346 basehttp 79071 6209286144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-10 15:04:09,347 basehttp 79071 6226112512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 WARNING 2025-08-10 15:04:09,353 log 79071 6242938880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:04:09,353 basehttp 79071 6242938880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:04:11,086 basehttp 79071 6242938880 "GET /en/ HTTP/1.1" 200 46365 WARNING 2025-08-10 15:04:11,105 log 79071 6242938880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:04:11,105 basehttp 79071 6242938880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:04:11,181 basehttp 79071 6242938880 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:04:11,183 basehttp 79071 6192459776 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-10 15:04:11,183 basehttp 79071 6209286144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 15:04:11,184 basehttp 79071 6226112512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-10 15:04:31,464 basehttp 79071 6226112512 "GET /en/radiology HTTP/1.1" 301 0 ERROR 2025-08-10 15:04:31,494 log 79071 6209286144 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 62, in get_context_data 'studies_completed_today': ImagingStudy.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'completed_datetime' into field. Choices are: accession_number, archive_location, archived, body_part, clinical_history, clinical_indication, completion_status, created_at, created_by, created_by_id, diagnosis_code, encounter, encounter_id, exposure_time, id, image_quality, imaging_order, imaging_order_id, kvp, manufacturer, mas, modality, model_name, number_of_instances, number_of_series, pacs_location, patient, patient_id, priority, radiologist, radiologist_id, referring_physician, referring_physician_id, report, series, slice_thickness, station_name, status, study_date, study_datetime, study_description, study_id, study_instance_uid, study_size, study_time, tenant, tenant_id, updated_at ERROR 2025-08-10 15:04:31,496 basehttp 79071 6209286144 "GET /en/radiology/ HTTP/1.1" 500 138790 WARNING 2025-08-10 15:04:31,511 log 79071 6209286144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:04:31,511 basehttp 79071 6209286144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:12:37,443 autoreload 79071 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/models.py changed, reloading. INFO 2025-08-10 15:12:37,772 autoreload 83064 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:12:39,658 log 83064 6203158528 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 67, in get_context_data 'reports_pending': RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-10 15:12:39,699 basehttp 83064 6203158528 "GET /en/radiology/ HTTP/1.1" 500 138065 WARNING 2025-08-10 15:12:39,720 log 83064 6203158528 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:12:39,720 basehttp 83064 6203158528 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:14:12,858 autoreload 83064 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:14:13,130 autoreload 83756 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:14:14,306 log 83756 6134837248 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 67, in get_context_data 'reports_pending': RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-10 15:14:14,310 basehttp 83756 6134837248 "GET /en/radiology/ HTTP/1.1" 500 138065 WARNING 2025-08-10 15:14:14,321 log 83756 6134837248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:14:14,321 basehttp 83756 6134837248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:14:16,070 log 83756 6134837248 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 67, in get_context_data 'reports_pending': RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-10 15:14:16,071 basehttp 83756 6134837248 "GET /en/radiology/ HTTP/1.1" 500 138065 WARNING 2025-08-10 15:14:16,087 log 83756 6134837248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:14:16,087 basehttp 83756 6134837248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:15:01,655 autoreload 83756 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:15:01,937 autoreload 84068 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:15:04,535 log 84068 6125481984 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 71, in get_context_data 'reports_signed_today': RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'signed_datetime' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-10 15:15:04,538 basehttp 84068 6125481984 "GET /en/radiology/ HTTP/1.1" 500 137959 WARNING 2025-08-10 15:15:04,558 log 84068 6125481984 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:15:04,558 basehttp 84068 6125481984 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:15:43,427 autoreload 84068 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:15:43,752 autoreload 84375 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:15:44,200 log 84375 6136901632 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 76, in get_context_data 'critical_findings': RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'has_critical_findings' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-10 15:15:44,202 basehttp 84375 6136901632 "GET /en/radiology/ HTTP/1.1" 500 137760 WARNING 2025-08-10 15:15:44,220 log 84375 6136901632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:15:44,221 basehttp 84375 6136901632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:15:57,343 autoreload 84375 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:15:57,685 autoreload 84527 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:15:58,731 log 84527 6159773696 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 99, in get_context_data context['recent_reports'] = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-10 15:15:58,733 basehttp 84527 6159773696 "GET /en/radiology/ HTTP/1.1" 500 138134 WARNING 2025-08-10 15:15:58,750 log 84527 6159773696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:15:58,751 basehttp 84527 6159773696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:16:00,517 log 84527 6159773696 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 99, in get_context_data context['recent_reports'] = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-10 15:16:00,519 basehttp 84527 6159773696 "GET /en/radiology/ HTTP/1.1" 500 138134 WARNING 2025-08-10 15:16:00,537 log 84527 6159773696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:16:00,537 basehttp 84527 6159773696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:16:29,812 autoreload 84527 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:16:30,116 autoreload 84761 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:16:32,531 log 84761 6200242176 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 102, in get_context_data ).select_related('study__order__patient').order_by('-signed_datetime')[:10] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'signed_datetime' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-10 15:16:32,534 basehttp 84761 6200242176 "GET /en/radiology/ HTTP/1.1" 500 104231 WARNING 2025-08-10 15:16:32,555 log 84761 6200242176 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:16:32,555 basehttp 84761 6200242176 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:16:47,881 autoreload 84761 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:16:48,190 autoreload 84838 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:16:49,402 log 84838 6133608448 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-10 15:16:49,404 basehttp 84838 6133608448 "GET /en/radiology/ HTTP/1.1" 500 212108 WARNING 2025-08-10 15:16:49,418 log 84838 6133608448 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:16:49,418 basehttp 84838 6133608448 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:18:13,913 autoreload 84838 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:18:14,218 autoreload 85526 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:18:16,409 log 85526 6162182144 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-10 15:18:16,412 basehttp 85526 6162182144 "GET /en/radiology/ HTTP/1.1" 500 212096 WARNING 2025-08-10 15:18:16,434 log 85526 6162182144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:18:16,434 basehttp 85526 6162182144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:18:17,441 log 85526 6162182144 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-10 15:18:17,442 basehttp 85526 6162182144 "GET /en/radiology/ HTTP/1.1" 500 212096 WARNING 2025-08-10 15:18:17,456 log 85526 6162182144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:18:17,457 basehttp 85526 6162182144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:18:39,201 autoreload 85526 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:18:39,528 autoreload 85684 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:18:40,493 log 85684 6161510400 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-10 15:18:40,501 basehttp 85684 6161510400 "GET /en/radiology/ HTTP/1.1" 500 212077 WARNING 2025-08-10 15:18:40,525 log 85684 6161510400 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:18:40,525 basehttp 85684 6161510400 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:18:41,548 log 85684 6161510400 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-10 15:18:41,549 basehttp 85684 6161510400 "GET /en/radiology/ HTTP/1.1" 500 212077 WARNING 2025-08-10 15:18:41,563 log 85684 6161510400 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:18:41,563 basehttp 85684 6161510400 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:19:09,508 autoreload 85684 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:19:09,796 autoreload 85915 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:19:10,597 log 85915 6131642368 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-10 15:19:10,601 basehttp 85915 6131642368 "GET /en/radiology/ HTTP/1.1" 500 212108 WARNING 2025-08-10 15:19:10,617 log 85915 6131642368 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:19:10,617 basehttp 85915 6131642368 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:19:11,425 log 85915 6131642368 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-10 15:19:11,427 basehttp 85915 6131642368 "GET /en/radiology/ HTTP/1.1" 500 212108 WARNING 2025-08-10 15:19:11,443 log 85915 6131642368 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:19:11,443 basehttp 85915 6131642368 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:19:29,521 autoreload 85915 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:19:29,846 autoreload 86067 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:19:30,641 log 86067 6162722816 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1265, in get_related_selections next_klass_infos = self.get_related_selections( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-10 15:19:30,671 basehttp 86067 6162722816 "GET /en/radiology/ HTTP/1.1" 500 230930 WARNING 2025-08-10 15:19:30,697 log 86067 6162722816 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:19:30,698 basehttp 86067 6162722816 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:19:32,323 log 86067 6162722816 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1265, in get_related_selections next_klass_infos = self.get_related_selections( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-10 15:19:32,324 basehttp 86067 6162722816 "GET /en/radiology/ HTTP/1.1" 500 230930 WARNING 2025-08-10 15:19:32,335 log 86067 6162722816 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:19:32,336 basehttp 86067 6162722816 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:20:06,168 autoreload 86067 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:20:06,506 autoreload 86308 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:20:07,170 log 86308 6197702656 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'referring_physician'. Choices are: tenant, patient, ordering_provider, encounter ERROR 2025-08-10 15:20:07,203 basehttp 86308 6197702656 "GET /en/radiology/ HTTP/1.1" 500 218927 WARNING 2025-08-10 15:20:07,228 log 86308 6197702656 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:20:07,229 basehttp 86308 6197702656 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:20:21,170 autoreload 86308 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:20:21,512 autoreload 86462 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:20:21,856 log 86462 6163656704 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1265, in get_related_selections next_klass_infos = self.get_related_selections( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-10 15:20:21,858 basehttp 86462 6163656704 "GET /en/radiology/ HTTP/1.1" 500 230930 WARNING 2025-08-10 15:20:21,875 log 86462 6163656704 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:20:21,875 basehttp 86462 6163656704 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:20:22,999 log 86462 6163656704 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1265, in get_related_selections next_klass_infos = self.get_related_selections( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-10 15:20:23,000 basehttp 86462 6163656704 "GET /en/radiology/ HTTP/1.1" 500 230930 WARNING 2025-08-10 15:20:23,016 log 86462 6163656704 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:20:23,017 basehttp 86462 6163656704 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:20:50,749 autoreload 86462 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:20:51,075 autoreload 86690 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 15:20:53,327 basehttp 86690 6157086720 "GET /en/radiology/ HTTP/1.1" 200 29177 WARNING 2025-08-10 15:20:53,347 log 86690 6157086720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:20:53,347 basehttp 86690 6157086720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:20:53,425 basehttp 86690 6157086720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 15:20:53,457 log 86690 6173913088 Internal Server Error: /en/radiology/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 843, in radiology_stats 'reports_pending': RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-10 15:20:53,459 basehttp 86690 6173913088 "GET /en/radiology/htmx/stats/ HTTP/1.1" 500 124245 ERROR 2025-08-10 15:21:23,444 log 86690 6173913088 Internal Server Error: /en/radiology/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 843, in radiology_stats 'reports_pending': RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-10 15:21:23,445 basehttp 86690 6173913088 "GET /en/radiology/htmx/stats/ HTTP/1.1" 500 124245 INFO 2025-08-10 15:21:53,419 basehttp 86690 6173913088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 15:21:53,455 log 86690 6157086720 Internal Server Error: /en/radiology/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 843, in radiology_stats 'reports_pending': RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-10 15:21:53,456 basehttp 86690 6157086720 "GET /en/radiology/htmx/stats/ HTTP/1.1" 500 124245 ERROR 2025-08-10 15:22:19,428 log 86690 6157086720 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 47, in select_template raise TemplateDoesNotExist(", ".join(template_name_list), chain=chain) django.template.exceptions.TemplateDoesNotExist: radiology/imaging_study_list.html, radiology/imagingstudy_list.html ERROR 2025-08-10 15:22:19,429 basehttp 86690 6157086720 "GET /en/radiology/studies/ HTTP/1.1" 500 85768 WARNING 2025-08-10 15:22:19,450 log 86690 6157086720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:22:19,451 basehttp 86690 6157086720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:22:25,146 log 86690 6173913088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:22:25,148 basehttp 86690 6173913088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:22:25,149 basehttp 86690 6173913088 - Broken pipe from ('127.0.0.1', 60290) ERROR 2025-08-10 15:22:25,191 log 86690 6157086720 Internal Server Error: /en/radiology/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 843, in radiology_stats 'reports_pending': RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-10 15:22:25,192 basehttp 86690 6157086720 "GET /en/radiology/htmx/stats/ HTTP/1.1" 500 124245 WARNING 2025-08-10 15:22:25,199 log 86690 6157086720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:22:25,199 basehttp 86690 6157086720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:22:26,581 basehttp 86690 6157086720 "GET /en/radiology/orders/ HTTP/1.1" 200 79990 WARNING 2025-08-10 15:22:26,601 log 86690 6157086720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:22:26,602 basehttp 86690 6157086720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:22:26,636 basehttp 86690 6157086720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 15:22:31,085 log 86690 6157086720 Internal Server Error: /en/radiology/orders/394/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 356, in get_context_data context['reports'] = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1563, in build_filter self.check_related_objects(join_info.final_field, value, join_info.opts) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1372, in check_related_objects self.check_query_object_type(value, opts, field) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1349, in check_query_object_type raise ValueError( ValueError: Cannot query "IMG768284 - Extremity X-Ray": Must be "ImagingStudy" instance. ERROR 2025-08-10 15:22:31,087 basehttp 86690 6157086720 "GET /en/radiology/orders/394/ HTTP/1.1" 500 135937 WARNING 2025-08-10 15:22:31,100 log 86690 6157086720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:22:31,100 basehttp 86690 6157086720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:24:32,520 autoreload 86690 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:24:32,805 autoreload 88306 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:24:33,594 log 88306 6167523328 Internal Server Error: /en/radiology/orders/394/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 356, in get_context_data context['reports'] = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1563, in build_filter self.check_related_objects(join_info.final_field, value, join_info.opts) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1372, in check_related_objects self.check_query_object_type(value, opts, field) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1349, in check_query_object_type raise ValueError( ValueError: Cannot query "IMG768284 - Extremity X-Ray": Must be "ImagingStudy" instance. ERROR 2025-08-10 15:24:33,595 basehttp 88306 6167523328 "GET /en/radiology/orders/394/ HTTP/1.1" 500 136074 WARNING 2025-08-10 15:24:33,614 log 88306 6167523328 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:24:33,614 basehttp 88306 6167523328 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:24:34,496 log 88306 6184349696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:24:34,496 basehttp 88306 6184349696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:24:34,552 basehttp 88306 6167523328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:24:34,554 log 88306 6184349696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:24:34,555 basehttp 88306 6184349696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:24:35,121 basehttp 88306 6184349696 "GET /en/radiology/orders/ HTTP/1.1" 200 79990 WARNING 2025-08-10 15:24:35,135 log 88306 6184349696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:24:35,136 basehttp 88306 6184349696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:24:35,183 basehttp 88306 6184349696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 15:24:36,523 log 88306 6184349696 Internal Server Error: /en/radiology/orders/394/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 356, in get_context_data context['reports'] = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1563, in build_filter self.check_related_objects(join_info.final_field, value, join_info.opts) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1372, in check_related_objects self.check_query_object_type(value, opts, field) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1349, in check_query_object_type raise ValueError( ValueError: Cannot query "IMG768284 - Extremity X-Ray": Must be "ImagingStudy" instance. ERROR 2025-08-10 15:24:36,524 basehttp 88306 6184349696 "GET /en/radiology/orders/394/ HTTP/1.1" 500 135937 WARNING 2025-08-10 15:24:36,539 log 88306 6184349696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:24:36,540 basehttp 88306 6184349696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:24:39,925 log 88306 6184349696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:24:39,925 basehttp 88306 6184349696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:24:39,935 log 88306 6184349696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:24:39,936 basehttp 88306 6184349696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:24:49,993 log 88306 6184349696 Internal Server Error: /en/radiology/orders/1/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 356, in get_context_data context['reports'] = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1563, in build_filter self.check_related_objects(join_info.final_field, value, join_info.opts) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1372, in check_related_objects self.check_query_object_type(value, opts, field) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1349, in check_query_object_type raise ValueError( ValueError: Cannot query "IMG685442 - CT Abdomen Pelvis": Must be "ImagingStudy" instance. ERROR 2025-08-10 15:24:49,994 basehttp 88306 6184349696 "GET /en/radiology/orders/1/ HTTP/1.1" 500 135939 WARNING 2025-08-10 15:24:50,013 log 88306 6184349696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:24:50,013 basehttp 88306 6184349696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:24:55,180 log 88306 6184349696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:24:55,180 basehttp 88306 6184349696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:24:55,191 log 88306 6184349696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:24:55,191 basehttp 88306 6184349696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:25:35,190 basehttp 88306 6184349696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 15:26:23,253 log 88306 6184349696 Internal Server Error: /en/radiology/orders/163/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 356, in get_context_data context['reports'] = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1563, in build_filter self.check_related_objects(join_info.final_field, value, join_info.opts) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1372, in check_related_objects self.check_query_object_type(value, opts, field) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1349, in check_query_object_type raise ValueError( ValueError: Cannot query "IMG527716 - MRI Knee": Must be "ImagingStudy" instance. ERROR 2025-08-10 15:26:23,254 basehttp 88306 6184349696 "GET /en/radiology/orders/163/ HTTP/1.1" 500 135846 WARNING 2025-08-10 15:26:23,267 log 88306 6184349696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:26:23,267 basehttp 88306 6184349696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:27:49,655 autoreload 88306 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:27:49,922 autoreload 89679 8601149632 Watching for file changes with StatReloader WARNING 2025-08-10 15:27:50,692 log 89679 6166228992 Not Found: /en/radiology/orders/163/ WARNING 2025-08-10 15:27:50,692 basehttp 89679 6166228992 "GET /en/radiology/orders/163/ HTTP/1.1" 404 30744 WARNING 2025-08-10 15:27:50,706 log 89679 6166228992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:27:50,706 basehttp 89679 6166228992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:28:29,360 autoreload 89679 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:28:29,635 autoreload 89986 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:28:30,256 log 89986 6158430208 Internal Server Error: /en/radiology/orders/163/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 356, in get_context_data context['reports'] = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1563, in build_filter self.check_related_objects(join_info.final_field, value, join_info.opts) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1372, in check_related_objects self.check_query_object_type(value, opts, field) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1349, in check_query_object_type raise ValueError( ValueError: Cannot query "IMG527716 - MRI Knee": Must be "ImagingStudy" instance. ERROR 2025-08-10 15:28:30,258 basehttp 89986 6158430208 "GET /en/radiology/orders/163/ HTTP/1.1" 500 135983 WARNING 2025-08-10 15:28:30,275 log 89986 6158430208 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:28:30,275 basehttp 89986 6158430208 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:29:13,288 autoreload 89986 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-10 15:29:13,616 autoreload 90292 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:29:14,605 log 90292 6341865472 Internal Server Error: /en/radiology/orders/163/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'imaging_order_edit' not found. 'imaging_order_edit' is not a valid view function or pattern name. ERROR 2025-08-10 15:29:14,607 basehttp 90292 6341865472 "GET /en/radiology/orders/163/ HTTP/1.1" 500 175450 WARNING 2025-08-10 15:29:14,619 log 90292 6341865472 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:29:14,619 basehttp 90292 6341865472 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:29:16,304 log 90292 6341865472 Internal Server Error: /en/radiology/orders/163/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'imaging_order_edit' not found. 'imaging_order_edit' is not a valid view function or pattern name. ERROR 2025-08-10 15:29:16,305 basehttp 90292 6341865472 "GET /en/radiology/orders/163/ HTTP/1.1" 500 175450 WARNING 2025-08-10 15:29:16,318 log 90292 6341865472 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:29:16,318 basehttp 90292 6341865472 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:30:24,826 log 90292 6341865472 Internal Server Error: /en/radiology/orders/163/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'start_study' with no arguments not found. 1 pattern(s) tried: ['en/radiology/studies/(?P[0-9]+)/start/\\Z'] ERROR 2025-08-10 15:30:24,827 basehttp 90292 6341865472 "GET /en/radiology/orders/163/ HTTP/1.1" 500 176737 WARNING 2025-08-10 15:30:24,840 log 90292 6341865472 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:30:24,841 basehttp 90292 6341865472 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:32:09,849 log 90292 6341865472 Internal Server Error: /en/radiology/orders/163/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'start_study' with arguments '(UUID('54d883d2-d0a4-47a8-9492-9349e7040a8f'),)' not found. 1 pattern(s) tried: ['en/radiology/studies/(?P[0-9]+)/start/\\Z'] ERROR 2025-08-10 15:32:09,850 basehttp 90292 6341865472 "GET /en/radiology/orders/163/ HTTP/1.1" 500 179011 WARNING 2025-08-10 15:32:09,865 log 90292 6341865472 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:32:09,865 basehttp 90292 6341865472 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:33:04,253 log 90292 6341865472 Internal Server Error: /en/radiology/orders/163/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'complete_study' with no arguments not found. 1 pattern(s) tried: ['en/radiology/studies/(?P[0-9]+)/complete/\\Z'] ERROR 2025-08-10 15:33:04,254 basehttp 90292 6341865472 "GET /en/radiology/orders/163/ HTTP/1.1" 500 177094 WARNING 2025-08-10 15:33:04,269 log 90292 6341865472 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:33:04,269 basehttp 90292 6341865472 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:33:24,077 log 90292 6341865472 Internal Server Error: /en/radiology/orders/163/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'start_study' with arguments '('',)' not found. 1 pattern(s) tried: ['en/radiology/studies/(?P[0-9]+)/start/\\Z'] ERROR 2025-08-10 15:33:24,078 basehttp 90292 6341865472 "GET /en/radiology/orders/163/ HTTP/1.1" 500 178366 WARNING 2025-08-10 15:33:24,089 log 90292 6341865472 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:33:24,089 basehttp 90292 6341865472 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:33:43,470 log 90292 6341865472 Internal Server Error: /en/radiology/orders/163/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'start_study' with arguments '(UUID('54d883d2-d0a4-47a8-9492-9349e7040a8f'),)' not found. 1 pattern(s) tried: ['en/radiology/studies/(?P[0-9]+)/start/\\Z'] ERROR 2025-08-10 15:33:43,471 basehttp 90292 6341865472 "GET /en/radiology/orders/163/ HTTP/1.1" 500 179011 WARNING 2025-08-10 15:33:43,481 log 90292 6341865472 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:33:43,481 basehttp 90292 6341865472 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:33:58,250 autoreload 90292 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/urls.py changed, reloading. INFO 2025-08-10 15:33:58,536 autoreload 92367 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:33:59,183 log 92367 6194802688 Internal Server Error: /en/radiology/orders/163/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'complete_study' with no arguments not found. 1 pattern(s) tried: ['en/radiology/studies/(?P[0-9]+)/complete/\\Z'] ERROR 2025-08-10 15:33:59,184 basehttp 92367 6194802688 "GET /en/radiology/orders/163/ HTTP/1.1" 500 177133 WARNING 2025-08-10 15:33:59,203 log 92367 6194802688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:33:59,203 basehttp 92367 6194802688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:34:35,802 autoreload 92367 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/urls.py changed, reloading. INFO 2025-08-10 15:34:36,102 autoreload 92672 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 15:34:36,584 log 92672 6133346304 Internal Server Error: /en/radiology/orders/163/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'create_report' not found. 'create_report' is not a valid view function or pattern name. ERROR 2025-08-10 15:34:36,585 basehttp 92672 6133346304 "GET /en/radiology/orders/163/ HTTP/1.1" 500 174897 WARNING 2025-08-10 15:34:36,604 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:34:36,604 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:35:08,296 log 92672 6133346304 Internal Server Error: /en/radiology/orders/163/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'create_report' not found. 'create_report' is not a valid view function or pattern name. ERROR 2025-08-10 15:35:08,298 basehttp 92672 6133346304 "GET /en/radiology/orders/163/ HTTP/1.1" 500 175157 WARNING 2025-08-10 15:35:08,313 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:35:08,313 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:35:52,309 log 92672 6133346304 Internal Server Error: /en/radiology/orders/163/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'upload_dicom' not found. 'upload_dicom' is not a valid view function or pattern name. ERROR 2025-08-10 15:35:52,310 basehttp 92672 6133346304 "GET /en/radiology/orders/163/ HTTP/1.1" 500 174878 WARNING 2025-08-10 15:35:52,321 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:35:52,321 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 15:36:40,043 log 92672 6133346304 Internal Server Error: /en/radiology/orders/163/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'order_history' not found. 'order_history' is not a valid view function or pattern name. ERROR 2025-08-10 15:36:40,044 basehttp 92672 6133346304 "GET /en/radiology/orders/163/ HTTP/1.1" 500 174541 WARNING 2025-08-10 15:36:40,056 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:36:40,056 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:37:05,941 basehttp 92672 6133346304 "GET /en/radiology/orders/163/ HTTP/1.1" 200 31700 WARNING 2025-08-10 15:37:05,952 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:37:05,952 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:37:06,024 basehttp 92672 6133346304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:37:22,196 log 92672 6133346304 Not Found: /en/radiology/studies/54d883d2-d0a4-47a8-9492-9349e7040a8f/start/ WARNING 2025-08-10 15:37:22,196 basehttp 92672 6133346304 "POST /en/radiology/studies/54d883d2-d0a4-47a8-9492-9349e7040a8f/start/ HTTP/1.1" 404 37361 INFO 2025-08-10 15:37:49,351 basehttp 92672 6133346304 "GET /en/radiology/orders/163/ HTTP/1.1" 200 31707 WARNING 2025-08-10 15:37:49,370 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:37:49,370 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:37:49,422 basehttp 92672 6133346304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 15:38:18,478 log 92672 6133346304 Internal Server Error: /en/radiology/orders/163/update/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 109, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 202, in get return super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 72, in get_context_data kwargs["form"] = self.get_form() ^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 36, in get_form form_class = self.get_form_class() ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 108, in get_form_class return model_forms.modelform_factory(model, fields=self.fields) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 654, in modelform_factory return type(form)(class_name, (form,), form_class_attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 334, in __new__ raise FieldError(message) django.core.exceptions.FieldError: Unknown field(s) (notes) specified for ImagingOrder ERROR 2025-08-10 15:38:18,479 basehttp 92672 6133346304 "GET /en/radiology/orders/163/update/ HTTP/1.1" 500 116015 WARNING 2025-08-10 15:38:18,494 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:38:18,495 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:38:43,569 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:38:43,569 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:38:43,589 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:38:43,589 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:38:49,418 basehttp 92672 6133346304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:39:36,723 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:39:36,723 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:39:39,252 basehttp 92672 6133346304 "GET /en/radiology/orders/166/ HTTP/1.1" 200 30963 WARNING 2025-08-10 15:39:39,272 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:39:39,272 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:39:39,308 basehttp 92672 6133346304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:39:59,586 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:39:59,586 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:39:59,596 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:39:59,596 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:40:02,770 basehttp 92672 6133346304 "GET /en/radiology/orders/336/ HTTP/1.1" 200 31259 WARNING 2025-08-10 15:40:02,789 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:40:02,789 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:40:02,828 basehttp 92672 6133346304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:40:21,348 log 92672 6133346304 Not Found: /en/department WARNING 2025-08-10 15:40:21,349 basehttp 92672 6133346304 "GET /en/department HTTP/1.1" 404 29634 WARNING 2025-08-10 15:40:21,367 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:40:21,368 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:40:25,500 basehttp 92672 6133346304 "GET /en/departments HTTP/1.1" 301 0 INFO 2025-08-10 15:40:25,525 basehttp 92672 6133346304 "GET /en/departments/ HTTP/1.1" 200 134360 WARNING 2025-08-10 15:40:25,537 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:40:25,538 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:40:25,581 basehttp 92672 6133346304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:40:29,442 basehttp 92672 6133346304 "GET /en/departments/74/ HTTP/1.1" 200 38186 WARNING 2025-08-10 15:40:29,457 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:40:29,457 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:40:29,785 basehttp 92672 6133346304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:40:44,135 basehttp 92672 6133346304 "GET /en/hr/employees/?department=74 HTTP/1.1" 200 37667 WARNING 2025-08-10 15:40:44,154 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:40:44,155 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:40:44,200 basehttp 92672 6133346304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:40:49,807 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:40:49,808 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:40:49,826 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:40:49,835 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:40:50,337 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:40:50,337 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:40:50,348 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:40:50,348 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:40:51,109 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:40:51,110 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:40:51,914 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:40:51,914 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:40:51,934 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:40:51,934 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:41:02,545 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-10 15:41:02,546 basehttp 92672 6133346304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:41:02,546 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:41:02,581 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:41:02,581 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:41:26,260 basehttp 92672 6133346304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:41:26,262 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:41:26,262 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:41:26,279 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:41:26,279 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:41:26,876 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:41:26,876 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:41:27,541 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:41:27,541 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:41:47,342 basehttp 92672 6150172672 "GET /en/departments/80/ HTTP/1.1" 200 38179 WARNING 2025-08-10 15:41:47,365 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:41:47,365 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:41:47,425 basehttp 92672 6150172672 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:41:49,426 basehttp 92672 6150172672 "GET /en/hr/employees/create/?department=80 HTTP/1.1" 200 54320 WARNING 2025-08-10 15:41:49,449 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:41:49,449 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:41:49,489 basehttp 92672 6150172672 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:42:00,294 basehttp 92672 6150172672 "GET /en/hr/employees/ HTTP/1.1" 200 127726 WARNING 2025-08-10 15:42:00,317 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:42:00,317 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:42:00,360 basehttp 92672 6150172672 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:42:15,522 basehttp 92672 6150172672 "GET /en/hr/employees/892/update/ HTTP/1.1" 200 54094 WARNING 2025-08-10 15:42:15,545 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:42:15,545 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:42:15,583 basehttp 92672 6150172672 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:42:43,463 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:42:43,463 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:42:43,481 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:42:43,481 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:43:00,375 basehttp 92672 6150172672 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:43:03,868 basehttp 92672 6150172672 "GET /en/hr/employees/892/ HTTP/1.1" 200 34216 WARNING 2025-08-10 15:43:03,889 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:43:03,889 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:43:03,928 basehttp 92672 6150172672 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:44:03,950 basehttp 92672 6150172672 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:44:30,417 basehttp 92672 6150172672 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:44:30,419 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:44:30,419 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:44:30,457 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:44:30,457 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:45:18,074 basehttp 92672 6133346304 "GET / HTTP/1.1" 302 0 INFO 2025-08-10 15:45:18,098 basehttp 92672 6150172672 "GET /en/ HTTP/1.1" 200 46318 WARNING 2025-08-10 15:45:18,114 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:45:18,115 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:45:18,173 basehttp 92672 6150172672 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:45:18,187 basehttp 92672 13438578688 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-10 15:45:18,188 basehttp 92672 6166999040 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 15:45:18,190 basehttp 92672 6133346304 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-10 15:45:48,175 basehttp 92672 6133346304 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-10 15:46:09,629 basehttp 92672 6133346304 "GET /en/appointments/create/ HTTP/1.1" 200 33613 WARNING 2025-08-10 15:46:09,652 log 92672 6133346304 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:46:09,652 basehttp 92672 6133346304 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:46:09,693 basehttp 92672 6133346304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:46:19,602 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:46:19,603 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:46:19,604 basehttp 92672 6133346304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:46:19,605 basehttp 92672 6166999040 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 15:46:19,608 basehttp 92672 13438578688 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-10 15:46:19,612 log 92672 6150172672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:46:19,612 basehttp 92672 6150172672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:46:20,280 basehttp 92672 6150172672 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 15:46:20,282 log 92672 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:46:20,282 basehttp 92672 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:46:20,295 log 92672 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:46:20,295 basehttp 92672 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:47:20,286 basehttp 92672 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:47:29,429 basehttp 92672 13438578688 "GET /en/hr/employees/ HTTP/1.1" 200 129206 WARNING 2025-08-10 15:47:29,441 log 92672 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:47:29,441 basehttp 92672 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:47:29,489 basehttp 92672 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 15:47:43,597 log 92672 13438578688 Internal Server Error: /en/hr/employees/892/delete/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'employee_deactivate' not found. 'employee_deactivate' is not a valid view function or pattern name. ERROR 2025-08-10 15:47:43,598 basehttp 92672 13438578688 "GET /en/hr/employees/892/delete/ HTTP/1.1" 500 175039 WARNING 2025-08-10 15:47:43,619 log 92672 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:47:43,619 basehttp 92672 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:47:49,915 log 92672 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:47:49,915 basehttp 92672 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 15:47:49,925 log 92672 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:47:49,925 basehttp 92672 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:48:29,491 basehttp 92672 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:48:32,699 basehttp 92672 13438578688 "GET /en/hr/employees/892/ HTTP/1.1" 200 34216 WARNING 2025-08-10 15:48:32,721 log 92672 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 15:48:32,721 basehttp 92672 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 15:48:32,761 basehttp 92672 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:49:32,776 basehttp 92672 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:50:32,780 basehttp 92672 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:50:49,325 basehttp 92672 13438578688 "GET /en/admin/analytics/dashboard/c7b82360-3ccb-42e9-934d-05fd5e2e2c3d/change/ HTTP/1.1" 200 176848 INFO 2025-08-10 15:50:49,336 basehttp 92672 6150172672 "GET /static/admin/css/dark_mode.css HTTP/1.1" 200 2808 INFO 2025-08-10 15:50:49,336 basehttp 92672 13455405056 "GET /static/admin/css/forms.css HTTP/1.1" 200 8525 INFO 2025-08-10 15:50:49,336 basehttp 92672 13438578688 "GET /static/admin/css/base.css HTTP/1.1" 200 22120 INFO 2025-08-10 15:50:49,336 basehttp 92672 6133346304 "GET /static/admin/css/nav_sidebar.css HTTP/1.1" 200 2810 INFO 2025-08-10 15:50:49,336 basehttp 92672 6166999040 "GET /static/admin/js/theme.js HTTP/1.1" 200 1653 INFO 2025-08-10 15:50:49,338 basehttp 92672 6133346304 "GET /static/admin/js/core.js HTTP/1.1" 200 6208 INFO 2025-08-10 15:50:49,339 basehttp 92672 6150172672 "GET /static/admin/css/responsive.css HTTP/1.1" 200 16565 INFO 2025-08-10 15:50:49,339 basehttp 92672 13455405056 "GET /static/admin/js/jquery.init.js HTTP/1.1" 200 347 INFO 2025-08-10 15:50:49,340 basehttp 92672 13438578688 "GET /static/admin/js/inlines.js HTTP/1.1" 200 15628 INFO 2025-08-10 15:50:49,341 basehttp 92672 6133346304 "GET /static/admin/css/widgets.css HTTP/1.1" 200 11991 INFO 2025-08-10 15:50:49,341 basehttp 92672 6150172672 "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 200 9777 INFO 2025-08-10 15:50:49,343 basehttp 92672 13455405056 "GET /static/admin/js/SelectBox.js HTTP/1.1" 200 4530 INFO 2025-08-10 15:50:49,343 basehttp 92672 6133346304 "GET /static/admin/js/urlify.js HTTP/1.1" 200 7887 INFO 2025-08-10 15:50:49,343 basehttp 92672 6150172672 "GET /static/admin/js/SelectFilter2.js HTTP/1.1" 200 15845 INFO 2025-08-10 15:50:49,344 basehttp 92672 13438578688 "GET /static/admin/js/actions.js HTTP/1.1" 200 8076 INFO 2025-08-10 15:50:49,346 basehttp 92672 13455405056 "GET /static/admin/js/prepopulate.js HTTP/1.1" 200 1531 INFO 2025-08-10 15:50:49,346 basehttp 92672 6150172672 "GET /static/admin/js/prepopulate_init.js HTTP/1.1" 200 586 INFO 2025-08-10 15:50:49,347 basehttp 92672 13472231424 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-10 15:50:49,347 basehttp 92672 6166999040 "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 200 285314 INFO 2025-08-10 15:50:49,349 basehttp 92672 6166999040 "GET /static/admin/js/nav_sidebar.js HTTP/1.1" 200 3063 INFO 2025-08-10 15:50:49,350 basehttp 92672 6133346304 "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 200 325171 INFO 2025-08-10 15:50:49,352 basehttp 92672 6166999040 "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 200 331 INFO 2025-08-10 15:50:49,352 basehttp 92672 6133346304 "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 200 380 INFO 2025-08-10 15:50:49,357 basehttp 92672 6166999040 "GET /static/admin/img/icon-deletelink.svg HTTP/1.1" 200 392 INFO 2025-08-10 15:50:49,357 basehttp 92672 13472231424 "GET /static/admin/js/change_form.js HTTP/1.1" 200 606 INFO 2025-08-10 15:50:49,357 basehttp 92672 6133346304 "GET /static/admin/img/icon-viewlink.svg HTTP/1.1" 200 581 INFO 2025-08-10 15:50:49,403 basehttp 92672 6133346304 "GET /static/admin/img/search.svg HTTP/1.1" 200 458 INFO 2025-08-10 15:50:49,403 basehttp 92672 13472231424 "GET /static/admin/img/selector-icons.svg HTTP/1.1" 200 3291 INFO 2025-08-10 15:51:33,653 basehttp 92672 13472231424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:52:34,664 basehttp 92672 13472231424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:53:35,661 basehttp 92672 13472231424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:54:36,662 basehttp 92672 13472231424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:55:37,661 basehttp 92672 13472231424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:56:38,665 basehttp 92672 6133346304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:56:40,410 basehttp 92672 6133346304 "GET /en/admin/accounts/passwordhistory/ HTTP/1.1" 200 110756 INFO 2025-08-10 15:56:40,420 basehttp 92672 6133346304 "GET /static/admin/css/changelists.css HTTP/1.1" 200 6878 INFO 2025-08-10 15:56:40,421 basehttp 92672 6133346304 "GET /static/admin/js/filters.js HTTP/1.1" 200 978 INFO 2025-08-10 15:56:40,426 basehttp 92672 6150172672 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-10 15:56:40,445 basehttp 92672 6150172672 "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 200 331 INFO 2025-08-10 15:56:40,445 basehttp 92672 6133346304 "GET /static/admin/img/sorting-icons.svg HTTP/1.1" 200 1097 INFO 2025-08-10 15:56:44,711 basehttp 92672 6133346304 "GET /en/admin/accounts/passwordhistory/1626/change/ HTTP/1.1" 200 106276 INFO 2025-08-10 15:56:44,726 basehttp 92672 6133346304 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-10 15:56:52,146 basehttp 92672 6133346304 "GET /en/admin/accounts/passwordhistory/ HTTP/1.1" 200 110756 INFO 2025-08-10 15:56:59,328 basehttp 92672 6133346304 "GET /en/admin/appointments/slotavailability/ HTTP/1.1" 200 211710 INFO 2025-08-10 15:56:59,340 basehttp 92672 6166999040 "GET /static/admin/img/icon-no.svg HTTP/1.1" 200 560 INFO 2025-08-10 15:56:59,340 basehttp 92672 6150172672 "GET /static/admin/img/icon-yes.svg HTTP/1.1" 200 436 INFO 2025-08-10 15:56:59,344 basehttp 92672 6133346304 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-10 15:57:19,304 basehttp 92672 6133346304 "GET /en/admin/appointments/queueentry/ HTTP/1.1" 200 154209 INFO 2025-08-10 15:57:19,317 basehttp 92672 6133346304 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-10 15:57:31,062 basehttp 92672 6133346304 "GET /en/admin/appointments/waitingqueue/ HTTP/1.1" 200 145986 INFO 2025-08-10 15:57:31,078 basehttp 92672 6133346304 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-10 15:57:40,663 basehttp 92672 6133346304 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:57:48,056 basehttp 92672 6133346304 "GET /en/admin/appointments/appointmenttemplate/ HTTP/1.1" 200 138255 INFO 2025-08-10 15:57:48,067 basehttp 92672 6133346304 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-10 15:57:50,279 basehttp 92672 6133346304 "GET /en/admin/appointments/appointmenttemplate/234/change/ HTTP/1.1" 200 122787 INFO 2025-08-10 15:57:50,292 basehttp 92672 6133346304 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-10 15:57:55,408 basehttp 92672 6133346304 "GET /en/admin/appointments/appointmentrequest/ HTTP/1.1" 200 153838 INFO 2025-08-10 15:57:55,422 basehttp 92672 6133346304 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-10 15:58:03,365 basehttp 92672 6133346304 "GET /en/admin/appointments/appointmentrequest/2210/change/ HTTP/1.1" 200 335487 INFO 2025-08-10 15:58:03,380 basehttp 92672 6150172672 "GET /static/admin/js/calendar.js HTTP/1.1" 200 9141 INFO 2025-08-10 15:58:03,380 basehttp 92672 6166999040 "GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 200 19319 INFO 2025-08-10 15:58:03,382 basehttp 92672 6166999040 "GET /static/admin/img/icon-unknown.svg HTTP/1.1" 200 655 INFO 2025-08-10 15:58:03,383 basehttp 92672 6133346304 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-10 15:58:03,423 basehttp 92672 6133346304 "GET /static/admin/img/icon-calendar.svg HTTP/1.1" 200 1086 INFO 2025-08-10 15:58:03,423 basehttp 92672 6166999040 "GET /static/admin/img/icon-clock.svg HTTP/1.1" 200 677 INFO 2025-08-10 15:58:58,032 basehttp 92672 6166999040 "GET /en/admin/appointments/queueentry/ HTTP/1.1" 200 154209 INFO 2025-08-10 15:58:58,048 basehttp 92672 6166999040 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-10 15:59:00,997 basehttp 92672 6166999040 "GET /en/admin/appointments/queueentry/1/change/ HTTP/1.1" 200 347043 INFO 2025-08-10 15:59:01,013 basehttp 92672 6166999040 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-10 15:59:37,686 basehttp 92672 6166999040 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 15:59:43,915 basehttp 92672 6166999040 "GET /en/admin/billing/insuranceclaim/ HTTP/1.1" 200 71130 INFO 2025-08-10 15:59:43,928 basehttp 92672 6166999040 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-10 15:59:46,328 basehttp 92672 6166999040 "GET /en/admin/billing/claimstatusupdate/ HTTP/1.1" 200 70516 INFO 2025-08-10 15:59:46,343 basehttp 92672 6166999040 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 ERROR 2025-08-10 15:59:46,965 log 92672 6166999040 Internal Server Error: /en/admin/billing/billingconfiguration/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 719, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 192, in _view_wrapper result = _process_exception(request, e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 190, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/sites.py", line 246, in inner return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 192, in _view_wrapper result = _process_exception(request, e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 190, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 2163, in changelist_view "selection_note": _("0 of %(cnt)s selected") % {"cnt": len(cl.result_list)}, ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 366, in __len__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 123, in __iter__ for row in compiler.results_iter(results): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1541, in apply_converters value = converter(value, expression, connection) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/backends/sqlite3/operations.py", line 346, in converter return create_decimal(value).quantize( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ decimal.InvalidOperation: [] ERROR 2025-08-10 15:59:46,967 basehttp 92672 6166999040 "GET /en/admin/billing/billingconfiguration/ HTTP/1.1" 500 151398 INFO 2025-08-10 15:59:49,658 basehttp 92672 6166999040 "GET /en/admin/billing/claimstatusupdate/ HTTP/1.1" 200 70516 INFO 2025-08-10 15:59:51,037 basehttp 92672 6166999040 "GET /en/admin/billing/billlineitem/ HTTP/1.1" 200 73768 INFO 2025-08-10 15:59:51,050 basehttp 92672 6166999040 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 ERROR 2025-08-10 15:59:52,485 log 92672 6166999040 Internal Server Error: /en/admin/billing/billingconfiguration/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 719, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 192, in _view_wrapper result = _process_exception(request, e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 190, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/sites.py", line 246, in inner return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 192, in _view_wrapper result = _process_exception(request, e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 190, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/options.py", line 2163, in changelist_view "selection_note": _("0 of %(cnt)s selected") % {"cnt": len(cl.result_list)}, ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 366, in __len__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 123, in __iter__ for row in compiler.results_iter(results): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1541, in apply_converters value = converter(value, expression, connection) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/backends/sqlite3/operations.py", line 346, in converter return create_decimal(value).quantize( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ decimal.InvalidOperation: [] ERROR 2025-08-10 15:59:52,486 basehttp 92672 6166999040 "GET /en/admin/billing/billingconfiguration/ HTTP/1.1" 500 151393 INFO 2025-08-10 15:59:53,688 basehttp 92672 6166999040 "GET /en/admin/billing/billlineitem/ HTTP/1.1" 200 73768 ERROR 2025-08-10 15:59:56,024 log 92672 6166999040 Internal Server Error: /en/admin/billing/medicalbill/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'payment_percentage_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: MedicalBill has no field named 'payment_percentage_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/billing/admin.py", line 166, in payment_percentage_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-10 15:59:56,026 basehttp 92672 6166999040 "GET /en/admin/billing/medicalbill/ HTTP/1.1" 500 398180 INFO 2025-08-10 16:00:09,675 basehttp 92672 6166999040 "GET /en/admin/billing/billlineitem/ HTTP/1.1" 200 73768 INFO 2025-08-10 16:00:12,972 basehttp 92672 6166999040 "GET /en/admin/billing/payment/ HTTP/1.1" 200 71959 INFO 2025-08-10 16:00:12,985 basehttp 92672 6166999040 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-10 16:00:13,793 basehttp 92672 6166999040 "GET /en/admin/billing/payment/ HTTP/1.1" 200 71959 INFO 2025-08-10 16:00:13,805 basehttp 92672 6166999040 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 ERROR 2025-08-10 16:00:15,579 log 92672 6166999040 Internal Server Error: /en/admin/billing/payment/add/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'net_payment' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Payment has no field named 'net_payment' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 210, in render return template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 173, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1075, in render output = self.filter_expression.resolve(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 722, in resolve obj = self.var.resolve(context) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 854, in resolve value = self._resolve_lookup(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 925, in _resolve_lookup current = current() ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/helpers.py", line 275, in contents f, attr, value = lookup_field(field, obj, model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 302, in lookup_field attr = getattr(obj, name, sentinel) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/billing/models.py", line 1145, in net_payment return self.payment_amount - self.refund_amount ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ TypeError: unsupported operand type(s) for -: 'NoneType' and 'decimal.Decimal' ERROR 2025-08-10 16:00:15,581 basehttp 92672 6166999040 "GET /en/admin/billing/payment/add/ HTTP/1.1" 500 589821 INFO 2025-08-10 16:01:37,707 basehttp 92672 6166999040 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 16:03:37,697 basehttp 92672 6166999040 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 16:05:37,695 basehttp 92672 6166999040 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 16:07:37,698 basehttp 92672 6166999040 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 16:09:37,715 basehttp 92672 6166999040 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 16:11:37,703 basehttp 92672 6166999040 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 16:13:37,703 basehttp 92672 6166999040 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 16:15:37,610 basehttp 92672 6166999040 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 16:17:37,595 basehttp 92672 6166999040 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 16:19:37,592 basehttp 92672 6166999040 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 16:21:14,961 autoreload 92672 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/models.py changed, reloading. INFO 2025-08-10 16:21:15,404 autoreload 14141 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 16:21:37,646 basehttp 14141 6122729472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:38:46,053 autoreload 48951 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 17:38:50,307 basehttp 48951 6195261440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:38:51,298 basehttp 48951 6195261440 "GET /en/hr/employees/892/ HTTP/1.1" 200 34216 INFO 2025-08-10 17:38:51,439 basehttp 48951 6195261440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 17:38:52,234 log 48951 6195261440 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:38:52,234 basehttp 48951 6195261440 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:38:59,387 basehttp 48951 6195261440 "GET /en/billing HTTP/1.1" 301 0 INFO 2025-08-10 17:38:59,416 basehttp 48951 6195261440 "GET /en/billing/ HTTP/1.1" 200 46660 WARNING 2025-08-10 17:38:59,438 log 48951 6195261440 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:38:59,438 basehttp 48951 6195261440 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:38:59,517 basehttp 48951 6195261440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:38:59,519 basehttp 48951 6212087808 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 ERROR 2025-08-10 17:39:07,518 log 48951 6212087808 Internal Server Error: /en/billing/payments/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'payment_receipt' not found. 'payment_receipt' is not a valid view function or pattern name. ERROR 2025-08-10 17:39:07,520 basehttp 48951 6212087808 "GET /en/billing/payments/ HTTP/1.1" 500 213299 WARNING 2025-08-10 17:39:07,533 log 48951 6212087808 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:39:07,534 basehttp 48951 6212087808 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 17:39:13,358 log 48951 6212087808 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:39:13,358 basehttp 48951 6212087808 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 17:39:13,382 log 48951 6212087808 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:39:13,391 basehttp 48951 6212087808 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:39:14,769 basehttp 48951 6212087808 "GET /en/billing/bills/create/ HTTP/1.1" 200 53807 WARNING 2025-08-10 17:39:14,789 log 48951 6212087808 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:39:14,789 basehttp 48951 6212087808 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:39:14,845 basehttp 48951 6212087808 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 17:39:47,446 log 48951 6195261440 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:39:47,447 basehttp 48951 6195261440 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 17:39:47,481 log 48951 6195261440 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:39:47,481 basehttp 48951 6195261440 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:39:47,482 basehttp 48951 6212087808 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 17:39:50,392 basehttp 48951 6212087808 "GET /en/billing/bills/ HTTP/1.1" 200 133370 WARNING 2025-08-10 17:39:50,413 log 48951 6212087808 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:39:50,413 basehttp 48951 6212087808 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:39:50,458 basehttp 48951 6212087808 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:39:50,458 basehttp 48951 6195261440 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 ERROR 2025-08-10 17:39:53,169 log 48951 6195261440 Internal Server Error: /en/billing/bills/714b0ebd-a9e5-4b4f-b68f-9fcb35971d41/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'encounter_detail' with arguments '(UUID('86dc7108-bae9-451b-a862-b2fb523b6e22'),)' not found. 1 pattern(s) tried: ['en/emr/encounters/(?P[0-9]+)/\\Z'] ERROR 2025-08-10 17:39:53,170 basehttp 48951 6195261440 "GET /en/billing/bills/714b0ebd-a9e5-4b4f-b68f-9fcb35971d41/ HTTP/1.1" 500 196932 WARNING 2025-08-10 17:39:53,187 log 48951 6195261440 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:39:53,187 basehttp 48951 6195261440 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 17:40:04,187 log 48951 6195261440 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:40:04,187 basehttp 48951 6195261440 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 17:40:04,201 log 48951 6195261440 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:40:04,202 basehttp 48951 6195261440 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:40:50,030 autoreload 48951 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/emr/urls.py changed, reloading. INFO 2025-08-10 17:40:50,385 autoreload 49869 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 17:40:51,096 basehttp 49869 6166065152 "GET /en/billing/bills/ HTTP/1.1" 200 133370 WARNING 2025-08-10 17:40:51,123 log 49869 6166065152 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:40:51,123 basehttp 49869 6166065152 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:40:51,176 basehttp 49869 6166065152 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:40:51,178 basehttp 49869 13035925504 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 17:40:53,181 basehttp 49869 13035925504 "GET /en/billing/bills/0066dbc8-2af6-484b-b98d-3132ebc94cd1/ HTTP/1.1" 200 36098 WARNING 2025-08-10 17:40:53,202 log 49869 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:40:53,202 basehttp 49869 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:40:53,241 basehttp 49869 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 17:41:34,759 log 49869 13035925504 Internal Server Error: /en/billing/payments/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bill_details_api' not found. 'bill_details_api' is not a valid view function or pattern name. ERROR 2025-08-10 17:41:34,762 basehttp 49869 13035925504 "GET /en/billing/payments/create/?bill=0066dbc8-2af6-484b-b98d-3132ebc94cd1 HTTP/1.1" 500 176747 WARNING 2025-08-10 17:41:34,780 log 49869 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:41:34,780 basehttp 49869 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 17:41:37,660 log 49869 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:41:37,660 basehttp 49869 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 17:41:37,676 log 49869 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:41:37,677 basehttp 49869 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:41:53,242 basehttp 49869 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 17:41:57,923 log 49869 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:41:57,925 basehttp 49869 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:41:57,925 basehttp 49869 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:41:57,926 basehttp 49869 6166065152 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 WARNING 2025-08-10 17:41:57,932 log 49869 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:41:57,933 basehttp 49869 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:42:57,913 basehttp 49869 6166065152 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 17:42:57,976 basehttp 49869 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:43:57,913 basehttp 49869 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:43:57,914 basehttp 49869 6166065152 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 17:44:10,590 basehttp 49869 6166065152 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 17:44:10,608 log 49869 6166065152 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:44:10,608 basehttp 49869 6166065152 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:44:10,662 basehttp 49869 6166065152 "GET /static/css/saudiriyalsymbol.woff2 HTTP/1.1" 200 720 INFO 2025-08-10 17:44:10,674 basehttp 49869 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:44:10,674 basehttp 49869 13035925504 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 17:44:15,485 basehttp 49869 13052751872 "GET /en/billing/bills/714b0ebd-a9e5-4b4f-b68f-9fcb35971d41/ HTTP/1.1" 200 35240 WARNING 2025-08-10 17:44:15,509 log 49869 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:44:15,509 basehttp 49869 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:44:15,544 basehttp 49869 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:45:15,545 basehttp 49869 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:45:25,410 basehttp 49869 13052751872 "GET /en/billing/bills/714b0ebd-a9e5-4b4f-b68f-9fcb35971d41/ HTTP/1.1" 200 35445 WARNING 2025-08-10 17:45:25,431 log 49869 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:45:25,431 basehttp 49869 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:45:25,480 basehttp 49869 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:46:25,598 basehttp 49869 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:47:07,117 basehttp 49869 13052751872 "GET /en/billing/bills/714b0ebd-a9e5-4b4f-b68f-9fcb35971d41/ HTTP/1.1" 200 35448 WARNING 2025-08-10 17:47:07,139 log 49869 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:47:07,139 basehttp 49869 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:47:07,186 basehttp 49869 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:48:07,195 basehttp 49869 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:49:07,196 basehttp 49869 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:49:11,964 basehttp 49869 13052751872 "GET /en/billing/bills/714b0ebd-a9e5-4b4f-b68f-9fcb35971d41/ HTTP/1.1" 200 36283 WARNING 2025-08-10 17:49:11,983 log 49869 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:49:11,983 basehttp 49869 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:49:12,033 basehttp 49869 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:50:12,044 basehttp 49869 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:50:27,911 basehttp 49869 13052751872 "GET /en/billing/bills/714b0ebd-a9e5-4b4f-b68f-9fcb35971d41/ HTTP/1.1" 200 36347 WARNING 2025-08-10 17:50:27,930 log 49869 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 17:50:27,930 basehttp 49869 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 17:50:27,981 basehttp 49869 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:51:27,982 basehttp 49869 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:51:41,308 autoreload 49869 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/models.py changed, reloading. INFO 2025-08-10 17:51:41,634 autoreload 55024 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 17:52:28,095 basehttp 55024 6191886336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:53:28,007 basehttp 55024 6191886336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:54:00,000 autoreload 55024 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/models.py changed, reloading. INFO 2025-08-10 17:54:00,312 autoreload 56026 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 17:54:28,071 basehttp 56026 6168096768 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:55:27,997 basehttp 56026 6168096768 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:55:28,969 autoreload 56026 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/models.py changed, reloading. INFO 2025-08-10 17:55:29,257 autoreload 56649 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 17:56:28,075 basehttp 56649 6202175488 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:56:29,173 autoreload 56649 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/models.py changed, reloading. INFO 2025-08-10 17:56:29,476 autoreload 57108 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 17:56:58,502 autoreload 57108 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/models.py changed, reloading. INFO 2025-08-10 17:56:58,814 autoreload 57352 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 17:57:28,224 basehttp 57352 6202568704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:57:49,473 autoreload 57352 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/models.py changed, reloading. INFO 2025-08-10 17:57:49,787 autoreload 57737 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 17:58:21,932 autoreload 57737 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/models.py changed, reloading. INFO 2025-08-10 17:58:22,203 autoreload 57969 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 17:58:28,075 basehttp 57969 6133297152 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:58:51,281 autoreload 57969 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/models.py changed, reloading. INFO 2025-08-10 17:58:51,601 autoreload 58199 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 17:59:15,457 autoreload 58199 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/models.py changed, reloading. INFO 2025-08-10 17:59:15,772 autoreload 58357 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 17:59:28,073 basehttp 58357 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 17:59:40,742 autoreload 58357 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/models.py changed, reloading. INFO 2025-08-10 17:59:41,029 autoreload 58513 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 18:00:10,098 autoreload 58513 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/models.py changed, reloading. INFO 2025-08-10 18:00:10,377 autoreload 58744 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 18:00:10,726 basehttp 58744 6131101696 "GET /en/billing/bills/714b0ebd-a9e5-4b4f-b68f-9fcb35971d41/ HTTP/1.1" 200 36347 WARNING 2025-08-10 18:00:10,744 log 58744 6131101696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:00:10,744 basehttp 58744 6131101696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:00:10,795 basehttp 58744 6131101696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:00:54,022 basehttp 58744 6131101696 "GET /en/billing/bills/714b0ebd-a9e5-4b4f-b68f-9fcb35971d41/ HTTP/1.1" 200 36361 WARNING 2025-08-10 18:00:54,042 log 58744 6131101696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:00:54,042 basehttp 58744 6131101696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:00:54,089 basehttp 58744 6131101696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:01:47,744 basehttp 58744 6131101696 "GET /en/billing/bills/714b0ebd-a9e5-4b4f-b68f-9fcb35971d41/ HTTP/1.1" 200 36361 WARNING 2025-08-10 18:01:47,780 log 58744 6131101696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:01:47,780 basehttp 58744 6131101696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:01:47,811 basehttp 58744 6131101696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:02:14,762 basehttp 58744 6131101696 "GET /en/billing/bills/714b0ebd-a9e5-4b4f-b68f-9fcb35971d41/ HTTP/1.1" 200 36361 WARNING 2025-08-10 18:02:14,782 log 58744 6131101696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:02:14,782 basehttp 58744 6131101696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:02:14,833 basehttp 58744 6131101696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 18:02:27,705 log 58744 6131101696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:02:27,705 basehttp 58744 6131101696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:02:28,653 basehttp 58744 6131101696 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:02:28,671 log 58744 6131101696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:02:28,671 basehttp 58744 6131101696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:02:28,731 basehttp 58744 6131101696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:02:28,734 basehttp 58744 6147928064 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 ERROR 2025-08-10 18:02:36,079 log 58744 6147928064 Internal Server Error: /en/billing/bills/a195f7f4-0c1b-4c82-9dfa-2d43648f23f9/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'payment_receipt' not found. 'payment_receipt' is not a valid view function or pattern name. ERROR 2025-08-10 18:02:36,081 basehttp 58744 6147928064 "GET /en/billing/bills/a195f7f4-0c1b-4c82-9dfa-2d43648f23f9/ HTTP/1.1" 500 200073 WARNING 2025-08-10 18:02:36,095 log 58744 6147928064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:02:36,096 basehttp 58744 6147928064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:03:12,870 basehttp 58744 6147928064 "GET /en/billing/bills/a195f7f4-0c1b-4c82-9dfa-2d43648f23f9/ HTTP/1.1" 200 44723 WARNING 2025-08-10 18:03:12,891 log 58744 6147928064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:03:12,891 basehttp 58744 6147928064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:03:12,928 basehttp 58744 6147928064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 18:03:27,598 log 58744 6147928064 Internal Server Error: /en/billing/payments/599b394c-3f7a-4412-aae3-6ee79d3e2521/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'payment_receipt' not found. 'payment_receipt' is not a valid view function or pattern name. ERROR 2025-08-10 18:03:27,600 basehttp 58744 6147928064 "GET /en/billing/payments/599b394c-3f7a-4412-aae3-6ee79d3e2521/ HTTP/1.1" 500 176605 WARNING 2025-08-10 18:03:27,621 log 58744 6147928064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:03:27,621 basehttp 58744 6147928064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 18:03:33,717 log 58744 6147928064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:03:33,717 basehttp 58744 6147928064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 18:03:33,727 log 58744 6147928064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:03:33,727 basehttp 58744 6147928064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:04:12,934 basehttp 58744 6147928064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:05:13,650 basehttp 58744 6147928064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:06:14,638 basehttp 58744 6147928064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:07:02,878 autoreload 58744 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-10 18:07:03,186 autoreload 61740 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 18:07:15,708 basehttp 61740 6167425024 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:08:02,387 autoreload 61740 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/urls.py changed, reloading. INFO 2025-08-10 18:08:02,660 autoreload 62205 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 18:08:16,687 basehttp 62205 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:08:52,559 basehttp 62205 13035925504 "GET /en/billing/bills/a195f7f4-0c1b-4c82-9dfa-2d43648f23f9/ HTTP/1.1" 200 45635 WARNING 2025-08-10 18:08:52,578 log 62205 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:08:52,578 basehttp 62205 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:08:52,662 basehttp 62205 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 ERROR 2025-08-10 18:08:54,290 log 62205 13035925504 Internal Server Error: /en/billing/payments/599b394c-3f7a-4412-aae3-6ee79d3e2521/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'payment_email' not found. 'payment_email' is not a valid view function or pattern name. ERROR 2025-08-10 18:08:54,292 basehttp 62205 13035925504 "GET /en/billing/payments/599b394c-3f7a-4412-aae3-6ee79d3e2521/ HTTP/1.1" 500 176615 WARNING 2025-08-10 18:08:54,313 log 62205 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:08:54,313 basehttp 62205 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:10:33,476 autoreload 62205 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-10 18:10:33,799 autoreload 63349 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 18:11:03,017 autoreload 63349 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/urls.py changed, reloading. INFO 2025-08-10 18:11:03,332 autoreload 63512 8601149632 Watching for file changes with StatReloader ERROR 2025-08-10 18:12:36,680 log 63512 6128447488 Internal Server Error: /en/billing/payments/599b394c-3f7a-4412-aae3-6ee79d3e2521/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'payment_download' not found. 'payment_download' is not a valid view function or pattern name. ERROR 2025-08-10 18:12:36,682 basehttp 63512 6128447488 "GET /en/billing/payments/599b394c-3f7a-4412-aae3-6ee79d3e2521/ HTTP/1.1" 500 177227 WARNING 2025-08-10 18:12:36,694 log 63512 6128447488 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:12:36,694 basehttp 63512 6128447488 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:14:25,195 autoreload 63512 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-10 18:14:25,501 autoreload 65045 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 18:14:42,279 autoreload 65045 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/urls.py changed, reloading. INFO 2025-08-10 18:14:42,595 autoreload 65130 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 18:15:36,202 basehttp 65130 6204944384 "GET /en/billing/payments/599b394c-3f7a-4412-aae3-6ee79d3e2521/ HTTP/1.1" 200 31642 WARNING 2025-08-10 18:15:36,221 log 65130 6204944384 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:15:36,221 basehttp 65130 6204944384 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:15:36,317 basehttp 65130 6204944384 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:15:43,859 basehttp 65130 6204944384 "GET /en/billing/payments/599b394c-3f7a-4412-aae3-6ee79d3e2521/receipt/ HTTP/1.1" 302 0 INFO 2025-08-10 18:15:43,891 basehttp 65130 6204944384 "GET /en/billing/bills/ HTTP/1.1" 200 136843 WARNING 2025-08-10 18:15:43,910 log 65130 6204944384 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:15:43,910 basehttp 65130 6204944384 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:15:44,002 basehttp 65130 6204944384 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:15:44,004 basehttp 65130 6221770752 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:15:49,600 basehttp 65130 6221770752 "GET /en/billing/bills/5cd3bf24-4e40-4898-aa38-478e5e385e1d/ HTTP/1.1" 200 39074 WARNING 2025-08-10 18:15:49,620 log 65130 6221770752 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:15:49,620 basehttp 65130 6221770752 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:15:49,657 basehttp 65130 6221770752 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 18:15:54,386 log 65130 6221770752 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:15:54,386 basehttp 65130 6221770752 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 18:15:54,403 log 65130 6221770752 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:15:54,403 basehttp 65130 6221770752 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:15:59,623 basehttp 65130 6221770752 "GET /en/billing/bills/a195f7f4-0c1b-4c82-9dfa-2d43648f23f9/ HTTP/1.1" 200 45635 WARNING 2025-08-10 18:15:59,644 log 65130 6221770752 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:15:59,645 basehttp 65130 6221770752 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:15:59,685 basehttp 65130 6221770752 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:16:04,855 basehttp 65130 6221770752 "GET /en/billing/payments/599b394c-3f7a-4412-aae3-6ee79d3e2521/ HTTP/1.1" 200 31642 WARNING 2025-08-10 18:16:04,875 log 65130 6221770752 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:16:04,875 basehttp 65130 6221770752 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:16:04,916 basehttp 65130 6221770752 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:16:08,249 basehttp 65130 6221770752 "GET /en/billing/bills/a195f7f4-0c1b-4c82-9dfa-2d43648f23f9/ HTTP/1.1" 200 45635 WARNING 2025-08-10 18:16:08,269 log 65130 6221770752 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:16:08,269 basehttp 65130 6221770752 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:16:08,309 basehttp 65130 6221770752 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:17:05,281 basehttp 65130 6221770752 "GET /en/billing/payments/599b394c-3f7a-4412-aae3-6ee79d3e2521/receipt/ HTTP/1.1" 302 0 INFO 2025-08-10 18:17:05,302 basehttp 65130 6221770752 "GET /en/billing/bills/ HTTP/1.1" 200 136843 WARNING 2025-08-10 18:17:05,317 log 65130 6221770752 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:17:05,318 basehttp 65130 6221770752 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:17:05,379 basehttp 65130 6221770752 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:17:05,380 basehttp 65130 6204944384 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:18:05,387 basehttp 65130 6204944384 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:18:05,388 basehttp 65130 6221770752 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:18:34,778 autoreload 65130 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-10 18:18:35,059 autoreload 66803 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 18:18:36,247 basehttp 66803 6201389056 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:18:36,270 log 66803 6201389056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:18:36,270 basehttp 66803 6201389056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:18:36,325 basehttp 66803 6201389056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:18:36,327 basehttp 66803 6218215424 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:18:47,452 basehttp 66803 6218215424 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 200 35734 WARNING 2025-08-10 18:18:47,470 log 66803 6218215424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:18:47,472 basehttp 66803 6218215424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:18:47,507 basehttp 66803 6218215424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 18:18:50,014 log 66803 6218215424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:18:50,014 basehttp 66803 6218215424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 18:18:50,025 log 66803 6218215424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:18:50,025 basehttp 66803 6218215424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:18:53,541 basehttp 66803 6218215424 "GET /en/billing/bills/d9619094-1a75-4b94-b3a9-bbb3a8dc50be/ HTTP/1.1" 200 39716 WARNING 2025-08-10 18:18:53,563 log 66803 6218215424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:18:53,563 basehttp 66803 6218215424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:18:53,582 basehttp 66803 6218215424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 18:18:57,418 log 66803 6218215424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:18:57,418 basehttp 66803 6218215424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 18:18:57,430 log 66803 6218215424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:18:57,432 basehttp 66803 6218215424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:18:59,601 basehttp 66803 6218215424 "GET /en/billing/bills/a195f7f4-0c1b-4c82-9dfa-2d43648f23f9/ HTTP/1.1" 200 45635 WARNING 2025-08-10 18:18:59,630 log 66803 6218215424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:18:59,631 basehttp 66803 6218215424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:18:59,665 basehttp 66803 6218215424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:19:01,812 basehttp 66803 6218215424 "GET /en/billing/payments/599b394c-3f7a-4412-aae3-6ee79d3e2521/receipt/ HTTP/1.1" 302 0 INFO 2025-08-10 18:19:01,844 basehttp 66803 6218215424 "GET /en/billing/bills/ HTTP/1.1" 200 136488 WARNING 2025-08-10 18:19:01,868 log 66803 6218215424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:19:01,868 basehttp 66803 6218215424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:19:01,914 basehttp 66803 6218215424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:19:01,915 basehttp 66803 6201389056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:19:26,599 autoreload 66803 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-10 18:19:26,871 autoreload 67187 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 18:19:29,507 basehttp 67187 6162821120 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:19:29,529 log 67187 6162821120 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:19:29,529 basehttp 67187 6162821120 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:19:29,587 basehttp 67187 6162821120 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:19:29,589 basehttp 67187 6179647488 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:19:32,705 basehttp 67187 6179647488 "GET /en/billing/bills/a195f7f4-0c1b-4c82-9dfa-2d43648f23f9/ HTTP/1.1" 200 45635 WARNING 2025-08-10 18:19:32,735 log 67187 6179647488 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:19:32,735 basehttp 67187 6179647488 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:19:32,769 basehttp 67187 6179647488 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:19:35,157 basehttp 67187 6179647488 "GET /en/billing/payments/599b394c-3f7a-4412-aae3-6ee79d3e2521/receipt/ HTTP/1.1" 302 0 INFO 2025-08-10 18:19:35,188 basehttp 67187 6179647488 "GET /en/billing/bills/ HTTP/1.1" 200 136464 WARNING 2025-08-10 18:19:35,212 log 67187 6179647488 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:19:35,213 basehttp 67187 6179647488 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:19:35,258 basehttp 67187 6179647488 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:19:35,258 basehttp 67187 6162821120 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:20:35,277 basehttp 67187 6162821120 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:20:35,278 basehttp 67187 6179647488 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:21:33,051 autoreload 67187 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-10 18:21:33,326 autoreload 68110 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 18:21:33,725 basehttp 68110 6133919744 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:21:33,745 log 68110 6133919744 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:21:33,745 basehttp 68110 6133919744 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:21:33,803 basehttp 68110 6133919744 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:21:33,805 basehttp 68110 6150746112 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:21:36,477 basehttp 68110 6150746112 "GET /en/billing/bills/53a8edf6-5fb7-4c0d-b505-1cb9b90c144a/ HTTP/1.1" 200 35734 WARNING 2025-08-10 18:21:36,500 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:21:36,500 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:21:36,540 basehttp 68110 6150746112 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 18:21:39,053 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:21:39,053 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 18:21:39,066 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:21:39,066 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:21:41,211 basehttp 68110 6150746112 "GET /en/billing/bills/d9619094-1a75-4b94-b3a9-bbb3a8dc50be/ HTTP/1.1" 200 39716 WARNING 2025-08-10 18:21:41,233 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:21:41,234 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:21:41,278 basehttp 68110 6150746112 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 WARNING 2025-08-10 18:21:43,609 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:21:43,609 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 18:21:43,625 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:21:43,625 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-10 18:21:45,370 log 68110 6150746112 Internal Server Error: /en/billing/bills/443910ad-f19a-4b5c-aca2-3c9e4cd278d4/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bill_submit' not found. 'bill_submit' is not a valid view function or pattern name. ERROR 2025-08-10 18:21:45,372 basehttp 68110 6150746112 "GET /en/billing/bills/443910ad-f19a-4b5c-aca2-3c9e4cd278d4/ HTTP/1.1" 500 191753 WARNING 2025-08-10 18:21:45,395 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:21:45,395 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 18:21:49,630 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:21:49,630 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 18:21:49,643 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:21:49,643 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:21:51,659 basehttp 68110 6150746112 "GET /en/billing/bills/a195f7f4-0c1b-4c82-9dfa-2d43648f23f9/ HTTP/1.1" 200 45635 WARNING 2025-08-10 18:21:51,686 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:21:51,687 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:21:51,729 basehttp 68110 6150746112 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:21:53,663 basehttp 68110 6150746112 "GET /en/billing/payments/599b394c-3f7a-4412-aae3-6ee79d3e2521/receipt/ HTTP/1.1" 302 0 INFO 2025-08-10 18:21:53,684 basehttp 68110 6150746112 "GET /en/billing/bills/ HTTP/1.1" 200 136322 WARNING 2025-08-10 18:21:53,708 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:21:53,708 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:21:53,755 basehttp 68110 6150746112 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:21:53,756 basehttp 68110 6133919744 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:22:53,766 basehttp 68110 6150746112 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:22:53,766 basehttp 68110 6133919744 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:23:53,774 basehttp 68110 6133919744 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:23:53,775 basehttp 68110 6150746112 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:24:53,785 basehttp 68110 6150746112 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:24:53,786 basehttp 68110 6133919744 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:25:47,191 basehttp 68110 6150746112 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:25:47,211 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:25:47,211 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:25:47,268 basehttp 68110 6133919744 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:25:47,269 basehttp 68110 6150746112 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:25:48,741 basehttp 68110 6150746112 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:25:48,762 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:25:48,762 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:25:48,821 basehttp 68110 6150746112 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:25:48,822 basehttp 68110 6133919744 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:25:51,182 basehttp 68110 6133919744 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:25:51,202 log 68110 6133919744 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:25:51,202 basehttp 68110 6133919744 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:25:51,260 basehttp 68110 6133919744 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:25:51,260 basehttp 68110 6150746112 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:25:54,604 basehttp 68110 6150746112 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:25:54,626 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:25:54,626 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:25:54,671 basehttp 68110 6150746112 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:25:54,671 basehttp 68110 6133919744 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:25:55,683 basehttp 68110 6150746112 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:25:55,702 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:25:55,703 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:25:55,766 basehttp 68110 6150746112 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:25:55,767 basehttp 68110 6133919744 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:25:56,636 basehttp 68110 6133919744 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:25:56,660 log 68110 6133919744 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:25:56,660 basehttp 68110 6133919744 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:25:56,722 basehttp 68110 6133919744 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:25:56,723 basehttp 68110 6150746112 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:25:57,670 basehttp 68110 6150746112 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:25:57,689 log 68110 6150746112 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:25:57,689 basehttp 68110 6150746112 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:25:57,750 basehttp 68110 6150746112 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:25:57,751 basehttp 68110 6133919744 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:26:57,755 basehttp 68110 6133919744 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:26:57,757 basehttp 68110 6150746112 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 123 INFO 2025-08-10 18:27:28,302 autoreload 68110 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/billing/views.py changed, reloading. INFO 2025-08-10 18:27:28,616 autoreload 70720 8601149632 Watching for file changes with StatReloader INFO 2025-08-10 18:27:30,496 basehttp 70720 6125170688 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:27:30,516 log 70720 6125170688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:27:30,516 basehttp 70720 6125170688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:27:30,575 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:27:30,584 basehttp 70720 6141997056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:27:58,891 basehttp 70720 6141997056 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:27:58,914 log 70720 6141997056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:27:58,914 basehttp 70720 6141997056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:27:58,978 basehttp 70720 6141997056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:27:58,980 basehttp 70720 6125170688 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:28:00,067 basehttp 70720 6125170688 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:28:00,083 log 70720 6125170688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:28:00,083 basehttp 70720 6125170688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:28:00,139 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:28:00,142 basehttp 70720 6141997056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:29:00,159 basehttp 70720 6141997056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:29:00,162 basehttp 70720 6125170688 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:30:00,163 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:30:00,165 basehttp 70720 6141997056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:31:00,166 basehttp 70720 6141997056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:31:00,169 basehttp 70720 6125170688 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:32:00,171 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:32:00,173 basehttp 70720 6141997056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:33:00,117 basehttp 70720 6141997056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:33:00,121 basehttp 70720 6125170688 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:34:00,122 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:34:00,125 basehttp 70720 6141997056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:35:00,126 basehttp 70720 6141997056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:35:00,129 basehttp 70720 6125170688 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:36:00,118 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:36:00,121 basehttp 70720 6141997056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:37:00,135 basehttp 70720 6141997056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:37:00,139 basehttp 70720 6125170688 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:38:00,138 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:38:00,141 basehttp 70720 6141997056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:39:00,614 basehttp 70720 6141997056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:39:00,617 basehttp 70720 6125170688 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:40:02,615 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:40:02,618 basehttp 70720 6141997056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:41:37,611 basehttp 70720 6141997056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:41:37,614 basehttp 70720 6125170688 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:43:37,612 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:43:37,615 basehttp 70720 6141997056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:44:37,623 basehttp 70720 6141997056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:44:37,627 basehttp 70720 6125170688 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:45:37,625 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:45:37,628 basehttp 70720 6141997056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:46:37,610 basehttp 70720 6141997056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:46:37,612 basehttp 70720 6125170688 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 INFO 2025-08-10 18:46:52,330 basehttp 70720 6125170688 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:46:52,342 log 70720 6125170688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:46:52,342 basehttp 70720 6125170688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:46:52,453 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:46:52,456 basehttp 70720 6141997056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4906 INFO 2025-08-10 18:47:52,430 basehttp 70720 6141997056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:47:52,432 basehttp 70720 6125170688 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4906 INFO 2025-08-10 18:48:52,486 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:48:52,489 basehttp 70720 6141997056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4906 INFO 2025-08-10 18:49:10,287 basehttp 70720 6141997056 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:49:10,307 log 70720 6141997056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:49:10,307 basehttp 70720 6141997056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:49:10,408 basehttp 70720 6141997056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:49:10,411 basehttp 70720 6125170688 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4722 INFO 2025-08-10 18:50:10,409 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:50:10,412 basehttp 70720 6141997056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 5139 INFO 2025-08-10 18:51:10,403 basehttp 70720 6141997056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:51:10,405 basehttp 70720 6125170688 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 5139 INFO 2025-08-10 18:51:20,467 basehttp 70720 6125170688 "GET /en/billing/bills/ HTTP/1.1" 200 135944 WARNING 2025-08-10 18:51:20,486 log 70720 6125170688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:51:20,486 basehttp 70720 6125170688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:51:20,546 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:51:20,549 basehttp 70720 6141997056 "GET /en/billing/htmx/stats/ HTTP/1.1" 200 4936 WARNING 2025-08-10 18:51:46,370 log 70720 6141997056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:51:46,371 basehttp 70720 6141997056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 18:51:47,108 log 70720 6141997056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:51:47,108 basehttp 70720 6141997056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 18:51:47,727 log 70720 6141997056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:51:47,728 basehttp 70720 6141997056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 18:51:49,394 log 70720 6141997056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:51:49,395 basehttp 70720 6141997056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-10 18:51:49,858 log 70720 6141997056 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:51:49,858 basehttp 70720 6141997056 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:51:52,165 basehttp 70720 6141997056 "GET / HTTP/1.1" 302 0 INFO 2025-08-10 18:51:52,196 basehttp 70720 6125170688 "GET /en/ HTTP/1.1" 200 46410 WARNING 2025-08-10 18:51:52,214 log 70720 6125170688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-10 18:51:52,214 basehttp 70720 6125170688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-10 18:51:52,279 basehttp 70720 6125170688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:51:52,283 basehttp 70720 13572796416 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-10 18:51:52,284 basehttp 70720 6158823424 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 18:51:52,286 basehttp 70720 6141997056 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-10 18:52:22,273 basehttp 70720 6141997056 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-10 18:52:52,294 basehttp 70720 6158823424 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 18:52:52,295 basehttp 70720 6141997056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:52:52,297 basehttp 70720 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-10 18:53:22,278 basehttp 70720 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-10 18:53:52,299 basehttp 70720 13572796416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4449 INFO 2025-08-10 18:53:52,300 basehttp 70720 6141997056 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-10 18:53:52,301 basehttp 70720 6158823424 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-10 18:54:22,286 basehttp 70720 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 11:28:51,602 autoreload 69349 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 11:28:55,089 basehttp 69349 6168178688 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 11:28:55,187 basehttp 69349 6168178688 "GET /en/ HTTP/1.1" 302 0 WARNING 2025-08-12 11:28:55,193 log 69349 6168178688 Not Found: /accounts/login/ WARNING 2025-08-12 11:28:55,193 basehttp 69349 6168178688 "GET /accounts/login/?next=/en/ HTTP/1.1" 404 2581 WARNING 2025-08-12 11:28:55,209 log 69349 6168178688 Not Found: /favicon.ico WARNING 2025-08-12 11:28:55,210 basehttp 69349 6168178688 "GET /favicon.ico HTTP/1.1" 404 2559 INFO 2025-08-12 11:32:00,787 autoreload 69349 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/hospital_management/settings.py changed, reloading. INFO 2025-08-12 11:32:01,125 autoreload 71176 8601149632 Watching for file changes with StatReloader WARNING 2025-08-12 11:32:03,086 log 71176 6131544064 Not Found: /accounts/login/ WARNING 2025-08-12 11:32:03,086 basehttp 71176 6131544064 "GET /accounts/login/?next=/en/ HTTP/1.1" 404 2581 WARNING 2025-08-12 11:32:04,011 log 71176 6131544064 Not Found: /accounts/login/ WARNING 2025-08-12 11:32:04,012 basehttp 71176 6131544064 "GET /accounts/login/?next=/en/ HTTP/1.1" 404 2581 WARNING 2025-08-12 11:32:23,287 log 71176 6131544064 Not Found: /en/accounts/login/ WARNING 2025-08-12 11:32:23,287 basehttp 71176 6131544064 "GET /en/accounts/login/ HTTP/1.1" 404 33967 INFO 2025-08-12 11:34:35,824 autoreload 71176 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/accounts/urls.py changed, reloading. INFO 2025-08-12 11:34:36,086 autoreload 72320 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 11:40:04,940 autoreload 72320 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/accounts/urls.py changed, reloading. INFO 2025-08-12 11:40:05,201 autoreload 74744 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 11:40:32,149 autoreload 74744 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/hospital_management/settings.py changed, reloading. INFO 2025-08-12 11:40:32,392 autoreload 74978 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 11:40:38,768 log 74978 6129168384 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'account_signup' not found. 'account_signup' is not a valid view function or pattern name. ERROR 2025-08-12 11:40:38,770 basehttp 74978 6129168384 "GET /en/accounts/login/ HTTP/1.1" 500 154616 INFO 2025-08-12 11:41:21,758 autoreload 75332 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 11:41:24,648 log 75332 6165442560 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'account_signup' not found. 'account_signup' is not a valid view function or pattern name. ERROR 2025-08-12 11:41:24,649 basehttp 75332 6165442560 "GET /en/accounts/login/ HTTP/1.1" 500 154616 INFO 2025-08-12 11:42:22,102 autoreload 75332 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/accounts/views.py changed, reloading. INFO 2025-08-12 11:42:22,386 autoreload 75799 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 11:42:24,712 log 75799 6194212864 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'account_signup' not found. 'account_signup' is not a valid view function or pattern name. ERROR 2025-08-12 11:42:24,715 basehttp 75799 6194212864 "GET /en/accounts/login/ HTTP/1.1" 500 154616 INFO 2025-08-12 11:43:04,394 autoreload 75799 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/accounts/urls.py changed, reloading. INFO 2025-08-12 11:43:04,668 autoreload 76113 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 11:43:06,814 log 76113 6192869376 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'account_signup' not found. 'account_signup' is not a valid view function or pattern name. ERROR 2025-08-12 11:43:06,816 basehttp 76113 6192869376 "GET /en/accounts/login/ HTTP/1.1" 500 154616 INFO 2025-08-12 11:46:17,914 autoreload 76113 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/accounts/views.py changed, reloading. INFO 2025-08-12 11:46:18,199 autoreload 77512 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 11:46:29,630 autoreload 77512 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/hospital_management/settings.py changed, reloading. INFO 2025-08-12 11:46:29,868 autoreload 77671 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 11:46:32,093 log 77671 6166982656 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'account_signup' not found. 'account_signup' is not a valid view function or pattern name. ERROR 2025-08-12 11:46:32,094 basehttp 77671 6166982656 "GET /en/accounts/login/ HTTP/1.1" 500 154616 ERROR 2025-08-12 11:46:33,174 log 77671 6166982656 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'account_signup' not found. 'account_signup' is not a valid view function or pattern name. ERROR 2025-08-12 11:46:33,176 basehttp 77671 6166982656 "GET /en/accounts/login/ HTTP/1.1" 500 154616 INFO 2025-08-12 11:46:35,347 basehttp 77671 6166982656 "GET /accounts/login/?next=/en/ HTTP/1.1" 302 0 ERROR 2025-08-12 11:46:35,367 log 77671 6166982656 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'account_signup' not found. 'account_signup' is not a valid view function or pattern name. ERROR 2025-08-12 11:46:35,368 basehttp 77671 6166982656 "GET /en/accounts/login/?next=/en/ HTTP/1.1" 500 155232 INFO 2025-08-12 11:46:41,706 basehttp 77671 6166982656 "GET /en/accounts/login HTTP/1.1" 301 0 ERROR 2025-08-12 11:46:41,732 log 77671 6166982656 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'account_signup' not found. 'account_signup' is not a valid view function or pattern name. ERROR 2025-08-12 11:46:41,734 basehttp 77671 6166982656 "GET /en/accounts/login/ HTTP/1.1" 500 154479 INFO 2025-08-12 11:47:21,339 autoreload 77671 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/accounts/urls.py changed, reloading. INFO 2025-08-12 11:47:21,609 autoreload 78042 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 11:47:24,018 log 78042 6160166912 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'account_signup' not found. 'account_signup' is not a valid view function or pattern name. ERROR 2025-08-12 11:47:24,020 basehttp 78042 6160166912 "GET /en/accounts/login/ HTTP/1.1" 500 154616 ERROR 2025-08-12 11:47:24,877 log 78042 6160166912 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'account_signup' not found. 'account_signup' is not a valid view function or pattern name. ERROR 2025-08-12 11:47:24,879 basehttp 78042 6160166912 "GET /en/accounts/login/ HTTP/1.1" 500 154616 INFO 2025-08-12 11:48:31,736 autoreload 78042 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/accounts/views.py changed, reloading. INFO 2025-08-12 11:48:32,016 autoreload 78546 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 11:49:42,407 autoreload 78546 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/accounts/views.py changed, reloading. INFO 2025-08-12 11:49:42,658 autoreload 79087 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 11:50:28,230 autoreload 79087 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/accounts/views.py changed, reloading. INFO 2025-08-12 11:50:28,461 autoreload 79402 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 11:50:32,125 log 79402 6126366720 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 1035, in find_library return parser.libraries[name] ~~~~~~~~~~~~~~~~^^^^^^ KeyError: 'account' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 42, in select_template return engine.get_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 79, in get_template return Template(self.engine.get_template(template_name), self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 177, in get_template template, origin = self.find_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 159, in find_template template = loader.get_template(name, skip=skip) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loaders/cached.py", line 57, in get_template template = super().get_template(template_name, skip) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loaders/base.py", line 28, in get_template return Template( ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 154, in __init__ self.nodelist = self.compile_nodelist() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 196, in compile_nodelist nodelist = parser.parse() ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 518, in parse raise self.error(token, e) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 516, in parse compiled_result = compile_func(self, token) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 299, in do_extends nodelist = parser.parse() ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 518, in parse raise self.error(token, e) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 516, in parse compiled_result = compile_func(self, token) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 1097, in load lib = find_library(parser, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 1037, in find_library raise TemplateSyntaxError( django.template.exceptions.TemplateSyntaxError: 'account' is not a registered tag library. Must be one of: admin_list admin_modify admin_urls allauth cache debugger_tags highlighting i18n indent_text l10n log rest_framework static syntax_color tz widont ERROR 2025-08-12 11:50:32,126 basehttp 79402 6126366720 "GET /en/accounts/login/ HTTP/1.1" 500 223942 ERROR 2025-08-12 11:52:54,026 log 79402 6126366720 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 81, in reverse extra, resolver = resolver.namespace_dict[ns] ~~~~~~~~~~~~~~~~~~~~~~~^^^^ KeyError: 'accounts' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 92, in reverse raise NoReverseMatch("%s is not a registered namespace" % key) django.urls.exceptions.NoReverseMatch: 'accounts' is not a registered namespace ERROR 2025-08-12 11:52:54,028 basehttp 79402 6126366720 "GET /en/accounts/login/ HTTP/1.1" 500 167607 INFO 2025-08-12 11:53:20,258 autoreload 79402 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/hospital_management/urls.py changed, reloading. INFO 2025-08-12 11:53:20,533 autoreload 80626 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 11:53:36,177 autoreload 80626 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/accounts/urls.py changed, reloading. INFO 2025-08-12 11:53:36,424 autoreload 80783 8601149632 Watching for file changes with StatReloader WARNING 2025-08-12 11:53:38,556 log 80783 6124253184 Not Found: /en/accounts/login/ WARNING 2025-08-12 11:53:38,557 basehttp 80783 6124253184 "GET /en/accounts/login/ HTTP/1.1" 404 34211 ERROR 2025-08-12 11:53:47,350 log 80783 6124253184 Internal Server Error: /en/account/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'password_reset' not found. 'password_reset' is not a valid view function or pattern name. ERROR 2025-08-12 11:53:47,352 basehttp 80783 6124253184 "GET /en/account/login/ HTTP/1.1" 500 166056 INFO 2025-08-12 11:54:20,302 basehttp 80783 6124253184 "GET /en/account/login/ HTTP/1.1" 200 21317 INFO 2025-08-12 11:54:20,314 basehttp 80783 6358691840 "GET /static/css/custom.css HTTP/1.1" 304 0 INFO 2025-08-12 11:54:20,321 basehttp 80783 6341865472 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-12 11:54:20,325 basehttp 80783 6325039104 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-12 11:54:20,329 basehttp 80783 6124253184 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-12 11:54:20,331 basehttp 80783 6341865472 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-12 11:54:20,335 basehttp 80783 6141079552 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-12 11:54:20,337 basehttp 80783 6157905920 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-12 11:54:20,339 basehttp 80783 6358691840 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-12 11:54:20,648 basehttp 80783 6141079552 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-12 11:54:20,649 basehttp 80783 6157905920 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-12 11:54:20,650 basehttp 80783 6358691840 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-12 11:54:20,650 basehttp 80783 6341865472 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-12 11:54:20,651 basehttp 80783 6124253184 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-12 11:54:20,654 basehttp 80783 6325039104 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-12 11:54:20,655 basehttp 80783 6141079552 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-12 11:54:20,658 basehttp 80783 6358691840 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-12 11:54:20,658 basehttp 80783 6157905920 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-12 11:54:20,659 basehttp 80783 6341865472 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-12 11:54:20,659 basehttp 80783 6124253184 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-12 11:54:20,662 basehttp 80783 6341865472 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-12 11:54:20,662 basehttp 80783 6124253184 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-12 11:54:20,662 basehttp 80783 6358691840 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-12 11:54:20,662 basehttp 80783 6157905920 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-12 11:54:20,665 basehttp 80783 6325039104 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-12 11:54:20,666 basehttp 80783 6358691840 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-12 11:54:20,667 basehttp 80783 6341865472 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-12 11:54:20,669 basehttp 80783 6124253184 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-12 11:54:20,670 basehttp 80783 6141079552 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 11:54:20,670 basehttp 80783 6157905920 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-12 11:54:20,671 basehttp 80783 6325039104 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-12 11:54:20,671 basehttp 80783 6358691840 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-12 11:54:20,672 basehttp 80783 6341865472 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 WARNING 2025-08-12 11:54:20,679 log 80783 6141079552 Not Found: /accounts/login/ WARNING 2025-08-12 11:54:20,680 basehttp 80783 6141079552 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 404 2607 INFO 2025-08-12 11:54:49,645 basehttp 80783 6141079552 "GET /en/account/login/ HTTP/1.1" 200 21255 INFO 2025-08-12 11:54:49,687 basehttp 80783 6141079552 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 WARNING 2025-08-12 11:54:49,695 log 80783 6141079552 Not Found: /accounts/login/ WARNING 2025-08-12 11:54:49,695 basehttp 80783 6141079552 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 404 2607 INFO 2025-08-12 11:55:01,357 basehttp 80783 6141079552 "POST /en/account/login/ HTTP/1.1" 200 21255 INFO 2025-08-12 11:55:01,385 basehttp 80783 6141079552 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 WARNING 2025-08-12 11:55:01,391 log 80783 6141079552 Not Found: /accounts/login/ WARNING 2025-08-12 11:55:01,391 basehttp 80783 6141079552 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 404 2607 INFO 2025-08-12 11:55:06,361 basehttp 80783 6141079552 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-12 11:56:01,398 basehttp 80783 6141079552 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 WARNING 2025-08-12 11:56:01,406 log 80783 6141079552 Not Found: /accounts/login/ WARNING 2025-08-12 11:56:01,406 basehttp 80783 6141079552 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 404 2607 INFO 2025-08-12 11:56:03,292 autoreload 80783 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/hospital_management/urls.py changed, reloading. INFO 2025-08-12 11:56:03,571 autoreload 81857 8601149632 Watching for file changes with StatReloader WARNING 2025-08-12 11:56:06,435 log 81857 6133542912 Not Found: /en/account/login/ WARNING 2025-08-12 11:56:06,435 basehttp 81857 6133542912 "POST /en/account/login/ HTTP/1.1" 404 29649 WARNING 2025-08-12 11:56:08,044 log 81857 6133542912 Not Found: /en/account/login/ WARNING 2025-08-12 11:56:08,045 basehttp 81857 6133542912 "GET /en/account/login/ HTTP/1.1" 404 29648 INFO 2025-08-12 11:56:09,720 basehttp 81857 6133542912 "GET /en/accounts/login/ HTTP/1.1" 200 21255 INFO 2025-08-12 11:56:09,827 basehttp 81857 6133542912 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 11:56:09,840 basehttp 81857 6133542912 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 11:56:09,865 log 81857 6133542912 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 11:56:09,983 basehttp 81857 6133542912 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161120 INFO 2025-08-12 11:56:43,726 basehttp 81857 6133542912 "POST /en/accounts/login/ HTTP/1.1" 200 21255 INFO 2025-08-12 11:56:43,820 basehttp 81857 6133542912 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 11:56:43,829 basehttp 81857 6133542912 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 11:56:43,844 log 81857 6133542912 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 11:56:43,845 basehttp 81857 6133542912 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161120 INFO 2025-08-12 11:56:45,728 basehttp 81857 6133542912 "POST /en/accounts/login/ HTTP/1.1" 200 21424 INFO 2025-08-12 11:56:45,832 basehttp 81857 6133542912 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 11:56:45,847 basehttp 81857 6133542912 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 11:56:45,869 log 81857 6150369280 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 11:56:45,871 basehttp 81857 6150369280 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161120 INFO 2025-08-12 11:57:45,833 basehttp 81857 6150369280 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 11:57:45,848 basehttp 81857 6150369280 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 11:57:45,873 log 81857 6133542912 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 11:57:45,874 basehttp 81857 6133542912 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161120 INFO 2025-08-12 11:57:50,666 basehttp 81857 6133542912 "GET /en/admin HTTP/1.1" 301 0 INFO 2025-08-12 11:57:50,712 basehttp 81857 6150369280 "GET /en/admin/ HTTP/1.1" 302 0 INFO 2025-08-12 11:57:50,726 basehttp 81857 6150369280 "GET /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4212 INFO 2025-08-12 11:57:50,739 basehttp 81857 6133542912 "GET /static/admin/css/dark_mode.css HTTP/1.1" 200 2808 INFO 2025-08-12 11:57:50,740 basehttp 81857 13455405056 "GET /static/admin/css/responsive.css HTTP/1.1" 200 16565 INFO 2025-08-12 11:57:50,740 basehttp 81857 6167195648 "GET /static/admin/css/nav_sidebar.css HTTP/1.1" 200 2810 INFO 2025-08-12 11:57:50,740 basehttp 81857 13438578688 "GET /static/admin/css/login.css HTTP/1.1" 200 951 INFO 2025-08-12 11:57:50,740 basehttp 81857 6150369280 "GET /static/admin/css/base.css HTTP/1.1" 200 22120 INFO 2025-08-12 11:57:50,741 basehttp 81857 13472231424 "GET /static/admin/js/theme.js HTTP/1.1" 200 1653 INFO 2025-08-12 11:57:50,741 basehttp 81857 6150369280 "GET /static/admin/js/nav_sidebar.js HTTP/1.1" 200 3063 INFO 2025-08-12 11:58:00,779 basehttp 81857 6150369280 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 302 0 INFO 2025-08-12 11:58:00,804 basehttp 81857 6150369280 "GET /en/admin/ HTTP/1.1" 200 86670 INFO 2025-08-12 11:58:00,819 basehttp 81857 6150369280 "GET /static/admin/css/dashboard.css HTTP/1.1" 200 441 INFO 2025-08-12 11:58:00,821 basehttp 81857 6150369280 "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 200 331 INFO 2025-08-12 11:58:00,821 basehttp 81857 13472231424 "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 200 380 INFO 2025-08-12 11:58:05,840 basehttp 81857 13472231424 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 11:58:05,861 basehttp 81857 6150369280 "GET /en/ HTTP/1.1" 200 46415 INFO 2025-08-12 11:58:05,994 basehttp 81857 6150369280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 11:58:05,998 basehttp 81857 13455405056 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 11:58:05,999 basehttp 81857 6167195648 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 11:58:06,001 basehttp 81857 13438578688 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 11:58:35,994 basehttp 81857 13438578688 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 ERROR 2025-08-12 11:58:40,453 log 81857 13438578688 Internal Server Error: /en/audit-log/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'audit_log_export' not found. 'audit_log_export' is not a valid view function or pattern name. ERROR 2025-08-12 11:58:40,454 basehttp 81857 13438578688 "GET /en/audit-log/ HTTP/1.1" 500 224223 INFO 2025-08-12 12:00:27,100 basehttp 81857 13438578688 "GET /en/audit-log/ HTTP/1.1" 200 214534 INFO 2025-08-12 12:00:27,160 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:01:27,172 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:02:03,763 basehttp 81857 13438578688 "GET /en/audit-log/ HTTP/1.1" 200 214486 INFO 2025-08-12 12:02:03,807 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:02:44,183 basehttp 81857 13438578688 "GET /en/audit-log/ HTTP/1.1" 200 214195 INFO 2025-08-12 12:02:44,234 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:03:03,725 basehttp 81857 13438578688 "GET /en/audit-log/ HTTP/1.1" 200 214199 INFO 2025-08-12 12:03:03,764 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:03:15,438 basehttp 81857 13438578688 "GET /en/audit-log/?page=2 HTTP/1.1" 200 195139 INFO 2025-08-12 12:03:15,479 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:04:16,424 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:05:10,065 basehttp 81857 13438578688 "GET /en/audit-log/?page=2 HTTP/1.1" 200 195144 INFO 2025-08-12 12:05:10,115 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:05:15,808 basehttp 81857 13438578688 "GET /en/audit-log/?page=1 HTTP/1.1" 200 214189 INFO 2025-08-12 12:05:15,849 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:06:16,415 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:07:16,428 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:08:17,436 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:09:18,412 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:09:59,506 basehttp 81857 13438578688 "GET /en/audit-log/?page=1 HTTP/1.1" 200 214197 INFO 2025-08-12 12:09:59,580 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:10:46,256 basehttp 81857 13438578688 "GET /en/audit-log/?page=1 HTTP/1.1" 200 214098 INFO 2025-08-12 12:10:46,315 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:10:52,927 basehttp 81857 13438578688 "GET /en/audit-log/?page=2 HTTP/1.1" 200 195053 INFO 2025-08-12 12:10:52,969 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:11:46,744 basehttp 81857 13438578688 "GET /en/audit-log/?page=2 HTTP/1.1" 200 196036 INFO 2025-08-12 12:11:46,792 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:12:28,437 basehttp 81857 13438578688 "GET /en/audit-log/?page=2 HTTP/1.1" 200 196044 INFO 2025-08-12 12:12:28,474 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:12:57,685 basehttp 81857 13438578688 "GET /en/audit-log/?page=2 HTTP/1.1" 200 196043 INFO 2025-08-12 12:12:57,722 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:13:00,562 basehttp 81857 13438578688 "GET /en/audit-log/?page=2 HTTP/1.1" 200 196043 INFO 2025-08-12 12:13:00,597 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:13:04,918 basehttp 81857 13438578688 "GET /en/audit-log/?page=1 HTTP/1.1" 200 215440 INFO 2025-08-12 12:13:04,952 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:13:36,973 basehttp 81857 13438578688 "GET /en/audit-log/?page=1 HTTP/1.1" 200 215426 INFO 2025-08-12 12:13:37,013 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:14:37,055 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:14:44,489 basehttp 81857 13438578688 "GET /en/audit-log/?page=1 HTTP/1.1" 200 215390 INFO 2025-08-12 12:14:44,537 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:15:08,459 basehttp 81857 13438578688 "GET /en/audit-log/?page=1 HTTP/1.1" 200 215388 INFO 2025-08-12 12:15:08,498 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:15:11,890 basehttp 81857 13438578688 "GET /en/audit-log/?page=2 HTTP/1.1" 200 195991 INFO 2025-08-12 12:15:11,909 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:15:16,473 basehttp 81857 13438578688 "GET /en/audit-log/?page=1 HTTP/1.1" 200 215388 INFO 2025-08-12 12:15:16,510 basehttp 81857 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:15:42,977 basehttp 81857 13438578688 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 12:15:42,987 basehttp 81857 6133542912 "GET /en/ HTTP/1.1" 200 46415 INFO 2025-08-12 12:15:43,021 basehttp 81857 6133542912 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:15:43,028 basehttp 81857 6167195648 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:15:43,028 basehttp 81857 6150369280 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:15:43,028 basehttp 81857 13438578688 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 12:16:13,018 basehttp 81857 6150369280 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:16:43,443 basehttp 81857 6150369280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:16:43,444 basehttp 81857 13438578688 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:16:43,444 basehttp 81857 6167195648 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:17:14,422 basehttp 81857 6167195648 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:17:29,163 basehttp 81857 6167195648 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 ERROR 2025-08-12 12:17:29,893 log 81857 6167195648 Internal Server Error: /en/audit-log/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/smartif.py", line 180, in translate_token op = OPERATORS[token] ~~~~~~~~~^^^^^^^ KeyError: '(num' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 199, in render template = context.template.engine.select_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 208, in select_template return self.get_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 177, in get_template template, origin = self.find_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 159, in find_template template = loader.get_template(name, skip=skip) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loaders/cached.py", line 57, in get_template template = super().get_template(template_name, skip) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loaders/base.py", line 28, in get_template return Template( ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 154, in __init__ self.nodelist = self.compile_nodelist() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 196, in compile_nodelist nodelist = parser.parse() ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 518, in parse raise self.error(token, e) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 516, in parse compiled_result = compile_func(self, token) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 862, in do_for nodelist_loop = parser.parse( ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 518, in parse raise self.error(token, e) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 516, in parse compiled_result = compile_func(self, token) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 961, in do_if condition = TemplateIfParser(parser, bits).parse() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 894, in __init__ super().__init__(*args, **kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/smartif.py", line 171, in __init__ mapped_tokens.append(self.translate_token(token)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/smartif.py", line 182, in translate_token return self.create_var(token) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 897, in create_var return TemplateLiteral(self.template_parser.compile_filter(value), value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 609, in compile_filter return FilterExpression(token, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 710, in __init__ raise TemplateSyntaxError( django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: '(num' from '(num' ERROR 2025-08-12 12:17:30,198 basehttp 81857 6167195648 "GET /en/audit-log/?page=1 HTTP/1.1" 500 391868 INFO 2025-08-12 12:19:28,399 basehttp 81857 6167195648 "GET /en/audit-log/?page=1 HTTP/1.1" 200 214958 INFO 2025-08-12 12:19:28,438 basehttp 81857 6167195648 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:19:39,062 basehttp 81857 6167195648 "GET /en/audit-log/?page=2 HTTP/1.1" 200 195657 INFO 2025-08-12 12:19:39,106 basehttp 81857 6167195648 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:20:39,118 basehttp 81857 6167195648 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:21:12,183 basehttp 81857 6133542912 "GET /en/audit-log/?page=2 HTTP/1.1" 200 195657 INFO 2025-08-12 12:21:23,362 autoreload 93741 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 12:21:25,282 basehttp 93741 6159708160 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 12:21:25,375 basehttp 93741 6159708160 "GET /en/ HTTP/1.1" 200 46415 INFO 2025-08-12 12:21:25,447 basehttp 93741 6159708160 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:21:25,450 basehttp 93741 6210187264 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 12:21:25,452 basehttp 93741 6176534528 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:21:25,452 basehttp 93741 6193360896 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:21:29,167 basehttp 93741 6193360896 "GET /en/audit-log/?page=2 HTTP/1.1" 200 195657 INFO 2025-08-12 12:21:29,215 basehttp 93741 6193360896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:21:31,505 basehttp 93741 6193360896 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 12:21:31,521 basehttp 93741 6176534528 "GET /en/ HTTP/1.1" 200 46415 INFO 2025-08-12 12:21:31,583 basehttp 93741 6176534528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:21:31,585 basehttp 93741 6159708160 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:21:31,586 basehttp 93741 6193360896 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 12:21:31,587 basehttp 93741 6210187264 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:21:51,406 basehttp 93741 6210187264 "GET /en/audit-log/ HTTP/1.1" 200 214958 INFO 2025-08-12 12:21:51,450 basehttp 93741 6210187264 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:22:51,464 basehttp 93741 6210187264 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:23:06,511 basehttp 93741 6210187264 "GET /en/tenants HTTP/1.1" 301 0 ERROR 2025-08-12 12:23:06,531 log 93741 6193360896 Internal Server Error: /en/tenants/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 47, in select_template raise TemplateDoesNotExist(", ".join(template_name_list), chain=chain) django.template.exceptions.TemplateDoesNotExist: core/tenant_list.html, core/tenant_list.html ERROR 2025-08-12 12:23:06,532 basehttp 93741 6193360896 "GET /en/tenants/ HTTP/1.1" 500 85695 INFO 2025-08-12 12:24:35,576 autoreload 93741 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/views.py changed, reloading. INFO 2025-08-12 12:24:35,886 autoreload 95244 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 12:24:36,806 log 95244 6167736320 Internal Server Error: /en/tenants/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'tenant_detail' with arguments '(7,)' not found. 1 pattern(s) tried: ['en/tenants/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-12 12:24:36,809 basehttp 95244 6167736320 "GET /en/tenants/ HTTP/1.1" 500 212870 INFO 2025-08-12 12:25:11,357 autoreload 95244 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/core/urls.py changed, reloading. INFO 2025-08-12 12:25:11,652 autoreload 95483 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 12:25:12,767 log 95483 6128840704 Internal Server Error: /en/tenants/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'tenant_edit' not found. 'tenant_edit' is not a valid view function or pattern name. ERROR 2025-08-12 12:25:12,769 basehttp 95483 6128840704 "GET /en/tenants/ HTTP/1.1" 500 209938 ERROR 2025-08-12 12:25:14,278 log 95483 6128840704 Internal Server Error: /en/tenants/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'tenant_edit' not found. 'tenant_edit' is not a valid view function or pattern name. ERROR 2025-08-12 12:25:14,280 basehttp 95483 6128840704 "GET /en/tenants/ HTTP/1.1" 500 209938 INFO 2025-08-12 12:25:53,443 basehttp 95483 6128840704 "GET /en/tenants/ HTTP/1.1" 200 78409 INFO 2025-08-12 12:25:53,503 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 ERROR 2025-08-12 12:26:02,214 log 95483 6128840704 Internal Server Error: /en/tenants/7/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'tenant_edit' not found. 'tenant_edit' is not a valid view function or pattern name. ERROR 2025-08-12 12:26:02,215 basehttp 95483 6128840704 "GET /en/tenants/7/ HTTP/1.1" 500 204017 ERROR 2025-08-12 12:26:18,802 log 95483 6128840704 Internal Server Error: /en/tenants/7/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'tenant_activate' not found. 'tenant_activate' is not a valid view function or pattern name. ERROR 2025-08-12 12:26:18,803 basehttp 95483 6128840704 "GET /en/tenants/7/ HTTP/1.1" 500 202496 ERROR 2025-08-12 12:27:08,832 log 95483 6128840704 Internal Server Error: /en/tenants/7/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'tenant_export' not found. 'tenant_export' is not a valid view function or pattern name. ERROR 2025-08-12 12:27:08,834 basehttp 95483 6128840704 "GET /en/tenants/7/ HTTP/1.1" 500 201950 INFO 2025-08-12 12:27:54,180 basehttp 95483 6128840704 "GET /en/tenants/7/ HTTP/1.1" 200 33226 INFO 2025-08-12 12:27:54,213 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:28:23,713 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:29:23,715 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:30:23,717 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:31:23,729 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:32:23,735 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:33:23,730 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:34:19,070 basehttp 95483 6128840704 "GET /en/tenants/7/edit/ HTTP/1.1" 200 42280 INFO 2025-08-12 12:34:19,110 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:34:29,089 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:34:31,706 basehttp 95483 6128840704 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 12:34:31,729 basehttp 95483 6128840704 "GET /en/ HTTP/1.1" 200 46415 INFO 2025-08-12 12:34:31,782 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:34:31,815 basehttp 95483 13572796416 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 12:34:31,815 basehttp 95483 6162493440 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:34:31,817 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:35:01,780 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:35:31,795 basehttp 95483 6162493440 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:35:31,795 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:35:31,796 basehttp 95483 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:36:01,792 basehttp 95483 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:36:31,807 basehttp 95483 13572796416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:36:31,808 basehttp 95483 6162493440 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:36:31,809 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:37:01,787 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:37:31,807 basehttp 95483 6162493440 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:37:31,807 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:37:31,809 basehttp 95483 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:38:01,794 basehttp 95483 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:38:31,801 basehttp 95483 13572796416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:38:31,802 basehttp 95483 6145667072 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:38:31,804 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:39:01,791 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:39:31,790 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:39:31,791 basehttp 95483 6145667072 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:39:31,792 basehttp 95483 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:40:01,795 basehttp 95483 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:40:31,784 basehttp 95483 13572796416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:40:31,786 basehttp 95483 6145667072 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:40:31,788 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:41:01,798 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:41:31,801 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:41:31,801 basehttp 95483 6145667072 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:41:31,804 basehttp 95483 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:42:01,804 basehttp 95483 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:42:31,809 basehttp 95483 13572796416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:42:31,811 basehttp 95483 6145667072 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:42:31,813 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:43:01,806 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:43:31,815 basehttp 95483 6145667072 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:43:31,815 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:43:31,819 basehttp 95483 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:44:01,825 basehttp 95483 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:44:31,816 basehttp 95483 6145667072 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:44:31,817 basehttp 95483 13572796416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:44:31,821 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:45:02,194 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:45:32,191 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:45:32,192 basehttp 95483 13572796416 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:45:33,183 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:46:11,189 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:47:11,213 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:47:11,215 basehttp 95483 13572796416 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:47:11,216 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:48:11,208 basehttp 95483 13572796416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:48:11,209 basehttp 95483 6162493440 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:48:11,211 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:49:11,194 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:50:11,201 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:50:11,203 basehttp 95483 13572796416 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:50:11,204 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:51:11,205 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:51:11,206 basehttp 95483 6162493440 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:51:11,208 basehttp 95483 6128840704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:52:11,207 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:52:11,208 basehttp 95483 6145667072 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:52:11,210 basehttp 95483 6128840704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:53:11,185 basehttp 95483 6128840704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:54:11,205 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:54:11,206 basehttp 95483 6145667072 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:54:11,207 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:55:11,199 basehttp 95483 6145667072 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:55:11,199 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:55:11,201 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:56:11,174 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:57:11,230 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:57:11,232 basehttp 95483 6128840704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:57:11,232 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:58:11,162 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 12:59:11,174 basehttp 95483 6128840704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 12:59:11,175 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 12:59:11,176 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:00:11,170 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:00:11,170 basehttp 95483 6128840704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:00:11,171 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:01:11,165 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:01:11,166 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:02:11,170 basehttp 95483 6128840704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:02:11,171 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:03:11,162 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:03:11,163 basehttp 95483 6128840704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:04:11,173 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:04:11,174 basehttp 95483 6128840704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:04:11,175 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:05:11,154 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:05:11,155 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:05:11,155 basehttp 95483 6128840704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:06:03,525 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:06:11,161 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:06:11,161 basehttp 95483 6145667072 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:06:33,515 basehttp 95483 6128840704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:07:03,514 basehttp 95483 6128840704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:07:11,150 basehttp 95483 6128840704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:07:11,150 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:07:33,515 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:08:03,518 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:08:11,159 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:08:11,160 basehttp 95483 6145667072 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:08:33,519 basehttp 95483 6128840704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:09:03,521 basehttp 95483 6128840704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:09:11,163 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:09:11,163 basehttp 95483 6128840704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:09:33,515 basehttp 95483 6128840704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:10:03,521 basehttp 95483 6128840704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:10:08,216 basehttp 95483 6128840704 "GET /en/appointments/create/ HTTP/1.1" 200 33613 INFO 2025-08-12 13:10:08,281 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:10:11,021 basehttp 95483 6128840704 "GET /en/appointments/list/ HTTP/1.1" 200 129005 INFO 2025-08-12 13:10:11,064 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 WARNING 2025-08-12 13:10:26,754 log 95483 6128840704 Forbidden (CSRF token missing.): /en/appointments/check-in/2035/ WARNING 2025-08-12 13:10:26,754 basehttp 95483 6128840704 "POST /en/appointments/check-in/2035/ HTTP/1.1" 403 2491 INFO 2025-08-12 13:10:31,802 basehttp 95483 6128840704 "GET /en/appointments/detail/2046/ HTTP/1.1" 200 22407 INFO 2025-08-12 13:10:31,836 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:11:11,076 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:12:11,076 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:12:41,706 basehttp 95483 6128840704 "GET /en/appointments/list/?page=2 HTTP/1.1" 200 128681 INFO 2025-08-12 13:12:41,742 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 WARNING 2025-08-12 13:13:17,097 log 95483 6128840704 Forbidden (CSRF token missing.): /en/appointments/check-in/1835/ WARNING 2025-08-12 13:13:17,097 basehttp 95483 6128840704 "POST /en/appointments/check-in/1835/ HTTP/1.1" 403 2491 INFO 2025-08-12 13:13:21,691 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:13:22,396 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:13:23,361 basehttp 95483 6128840704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:13:23,368 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:13:23,371 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:13:53,348 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:14:23,362 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:14:23,362 basehttp 95483 6162493440 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:14:23,364 basehttp 95483 6128840704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:14:53,344 basehttp 95483 6128840704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:15:23,359 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:15:23,361 basehttp 95483 6128840704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:15:23,362 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:15:53,346 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:16:23,360 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:16:23,360 basehttp 95483 6162493440 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:16:23,363 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:16:53,348 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:17:23,354 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:17:23,355 basehttp 95483 6145667072 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:17:23,358 basehttp 95483 6128840704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:17:53,350 basehttp 95483 6128840704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-12 13:18:20,517 log 95483 6128840704 Not Found: /en/user WARNING 2025-08-12 13:18:20,518 basehttp 95483 6128840704 "GET /en/user HTTP/1.1" 404 29613 INFO 2025-08-12 13:18:36,855 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:18:36,856 basehttp 95483 6128840704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:18:36,858 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:18:40,767 basehttp 95483 6162493440 "GET /en/system-configuration HTTP/1.1" 301 0 INFO 2025-08-12 13:18:40,784 basehttp 95483 6145667072 "GET /en/system-configuration/ HTTP/1.1" 200 61680 INFO 2025-08-12 13:18:40,830 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:18:53,325 basehttp 95483 6145667072 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 13:18:53,340 basehttp 95483 6128840704 "GET /en/ HTTP/1.1" 200 46415 INFO 2025-08-12 13:18:53,397 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:18:53,402 basehttp 95483 6162493440 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:18:53,402 basehttp 95483 13572796416 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 13:18:53,403 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:19:01,825 basehttp 95483 6145667072 "GET /en/appointments HTTP/1.1" 301 0 INFO 2025-08-12 13:19:01,849 basehttp 95483 13572796416 "GET /en/appointments/ HTTP/1.1" 200 34650 INFO 2025-08-12 13:19:01,881 basehttp 95483 13572796416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:19:01,885 basehttp 95483 6162493440 "GET /en/appointments/stats/ HTTP/1.1" 200 3132 INFO 2025-08-12 13:19:17,005 basehttp 95483 6162493440 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:19:33,401 basehttp 95483 6162493440 "GET /en/emr HTTP/1.1" 301 0 ERROR 2025-08-12 13:19:33,454 log 95483 13572796416 Internal Server Error: /en/emr/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'encounter_detail' with arguments '(2098,)' not found. 1 pattern(s) tried: ['en/emr/encounters/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-12 13:19:33,455 basehttp 95483 13572796416 "GET /en/emr/ HTTP/1.1" 500 208408 INFO 2025-08-12 13:19:42,538 basehttp 95483 13572796416 "GET /en/patients HTTP/1.1" 301 0 INFO 2025-08-12 13:19:42,551 basehttp 95483 6128840704 "GET /en/patients/ HTTP/1.1" 200 66089 INFO 2025-08-12 13:19:42,578 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:19:42,583 basehttp 95483 6145667072 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-12 13:19:48,169 basehttp 95483 6145667072 "GET /en/patients/115/details/ HTTP/1.1" 200 36880 INFO 2025-08-12 13:19:48,223 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 ERROR 2025-08-12 13:19:48,237 log 95483 13572796416 Internal Server Error: /en/patients/htmx/appointments/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' ERROR 2025-08-12 13:19:48,237 basehttp 95483 13572796416 "GET /en/patients/htmx/appointments/115/ HTTP/1.1" 500 63085 ERROR 2025-08-12 13:19:48,246 log 95483 6128840704 Internal Server Error: /en/patients/htmx/emergency-contacts/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-12 13:19:48,254 log 95483 6162493440 Internal Server Error: /en/patients/insurance-info/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-12 13:19:48,254 basehttp 95483 6128840704 "GET /en/patients/htmx/emergency-contacts/115/ HTTP/1.1" 500 89696 ERROR 2025-08-12 13:19:48,256 basehttp 95483 6162493440 "GET /en/patients/insurance-info/115/ HTTP/1.1" 500 105189 INFO 2025-08-12 13:20:04,646 basehttp 95483 6162493440 "GET /en/appointments/create/?patient=115 HTTP/1.1" 200 33613 INFO 2025-08-12 13:20:04,684 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:20:07,666 basehttp 95483 6162493440 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 200 55795 INFO 2025-08-12 13:20:07,704 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:20:14,292 basehttp 95483 6162493440 "GET /en/laboratory/orders/create/?patient=115 HTTP/1.1" 200 76753 INFO 2025-08-12 13:20:14,331 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:20:20,685 basehttp 95483 6162493440 "GET /en/billing/bills/create/?patient=115 HTTP/1.1" 200 53807 INFO 2025-08-12 13:20:20,728 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:20:28,456 basehttp 95483 6162493440 "GET /en/patients/htmx/insurance-info/115/ HTTP/1.1" 200 153 INFO 2025-08-12 13:20:39,516 basehttp 95483 6162493440 "GET /en/patients/htmx/consent-forms/110/ HTTP/1.1" 200 1182 INFO 2025-08-12 13:20:42,591 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:20:42,592 basehttp 95483 6128840704 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-12 13:20:49,641 basehttp 95483 6128840704 "GET /en/patients/ HTTP/1.1" 200 66089 INFO 2025-08-12 13:20:49,692 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:20:49,694 basehttp 95483 6162493440 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-12 13:20:52,673 basehttp 95483 6162493440 "GET /en/patients/htmx/insurance-info/123/ HTTP/1.1" 200 568 INFO 2025-08-12 13:21:04,380 basehttp 95483 6162493440 "GET /en/patients/ HTTP/1.1" 200 66089 INFO 2025-08-12 13:21:04,427 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:21:04,429 basehttp 95483 6128840704 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-12 13:22:04,458 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:22:04,459 basehttp 95483 6145667072 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-12 13:22:07,201 basehttp 95483 6145667072 "GET /en/patients/ HTTP/1.1" 200 66129 INFO 2025-08-12 13:22:07,247 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:22:07,248 basehttp 95483 6128840704 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-12 13:22:10,829 basehttp 95483 6128840704 "GET /en/patients/htmx/insurance-info/110/ HTTP/1.1" 200 568 INFO 2025-08-12 13:22:16,913 basehttp 95483 6128840704 "GET /en/patients/ HTTP/1.1" 200 66129 INFO 2025-08-12 13:22:16,962 basehttp 95483 6128840704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:22:16,964 basehttp 95483 6145667072 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-12 13:22:23,011 basehttp 95483 6145667072 "GET /en/patients/ HTTP/1.1" 200 66129 INFO 2025-08-12 13:22:23,023 basehttp 95483 6162493440 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-12 13:22:23,025 basehttp 95483 13606449152 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-12 13:22:23,027 basehttp 95483 13589622784 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-12 13:22:23,035 basehttp 95483 6145667072 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-12 13:22:23,036 basehttp 95483 13606449152 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-12 13:22:23,040 basehttp 95483 13572796416 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-12 13:22:23,041 basehttp 95483 6128840704 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-12 13:22:23,043 basehttp 95483 6162493440 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-12 13:22:23,239 basehttp 95483 6162493440 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-12 13:22:23,239 basehttp 95483 13572796416 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-12 13:22:23,239 basehttp 95483 13606449152 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-12 13:22:23,239 basehttp 95483 6128840704 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-12 13:22:23,239 basehttp 95483 6145667072 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-12 13:22:23,267 basehttp 95483 13572796416 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-12 13:22:23,271 basehttp 95483 6145667072 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-12 13:22:23,278 basehttp 95483 6162493440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:22:23,279 basehttp 95483 6128840704 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-12 13:22:23,280 basehttp 95483 13606449152 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-12 13:22:23,284 basehttp 95483 6162493440 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-12 13:22:23,284 basehttp 95483 6128840704 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-12 13:22:23,286 basehttp 95483 6145667072 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-12 13:22:23,287 basehttp 95483 13572796416 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-12 13:22:23,290 basehttp 95483 13606449152 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-12 13:22:23,291 basehttp 95483 6128840704 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-12 13:22:23,293 basehttp 95483 6145667072 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-12 13:22:23,293 basehttp 95483 6162493440 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-12 13:22:23,295 basehttp 95483 6128840704 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-12 13:22:23,295 basehttp 95483 13572796416 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-12 13:22:23,296 basehttp 95483 13606449152 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-12 13:22:23,297 basehttp 95483 13589622784 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-12 13:22:23,297 basehttp 95483 6162493440 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-12 13:22:23,297 basehttp 95483 6145667072 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-12 13:22:23,298 basehttp 95483 13572796416 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-12 13:22:23,298 basehttp 95483 13606449152 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 WARNING 2025-08-12 13:22:23,370 log 95483 13606449152 Not Found: /favicon.ico WARNING 2025-08-12 13:22:23,370 basehttp 95483 13606449152 "GET /favicon.ico HTTP/1.1" 404 2559 INFO 2025-08-12 13:22:27,403 basehttp 95483 13606449152 "GET /en/patients/htmx/insurance-info/123/ HTTP/1.1" 200 568 INFO 2025-08-12 13:22:33,562 basehttp 95483 13606449152 "GET /en/patients/ HTTP/1.1" 200 66129 INFO 2025-08-12 13:22:33,661 basehttp 95483 13606449152 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:22:33,664 basehttp 95483 13572796416 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-12 13:23:33,682 basehttp 95483 13572796416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:23:33,684 basehttp 95483 13606449152 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-12 13:24:33,683 basehttp 95483 13606449152 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:24:33,686 basehttp 95483 13572796416 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-12 13:25:11,690 basehttp 95483 13572796416 "GET /en/ HTTP/1.1" 200 46455 INFO 2025-08-12 13:25:11,727 basehttp 95483 13606449152 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:25:11,728 basehttp 95483 6145667072 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 13:25:11,728 basehttp 95483 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:25:42,093 basehttp 95483 13572796416 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:26:12,103 basehttp 95483 6145667072 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:26:12,103 basehttp 95483 13572796416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:26:13,094 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:26:44,084 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:27:13,093 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:27:13,094 basehttp 95483 13572796416 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:27:14,085 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:27:45,090 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:28:14,097 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:28:14,098 basehttp 95483 13572796416 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:28:16,088 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:29:11,086 basehttp 95483 6145667072 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:29:15,101 basehttp 95483 6145667072 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:29:15,101 basehttp 95483 13572796416 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:35:22,560 autoreload 26812 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 13:35:23,912 basehttp 26812 6170587136 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 13:35:24,000 basehttp 26812 6170587136 "GET /en/ HTTP/1.1" 200 46455 INFO 2025-08-12 13:35:24,065 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:35:24,073 basehttp 26812 6221066240 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 13:35:24,073 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:35:24,075 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:35:41,123 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:36:12,132 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:36:12,134 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:36:16,121 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:36:43,114 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:37:45,141 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:37:45,142 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:37:45,144 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:39:11,143 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:39:11,143 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:39:11,145 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:40:11,115 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:41:11,134 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:41:11,134 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:41:11,136 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:42:11,130 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:42:11,130 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:42:11,132 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:43:11,112 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:44:11,132 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:44:11,132 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:44:11,134 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:45:11,134 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:45:11,135 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:45:11,137 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:46:11,128 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:46:11,130 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:47:11,127 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:47:11,129 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:48:11,138 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:48:11,138 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:48:11,139 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:49:11,123 basehttp 26812 6221066240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:49:11,125 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:50:11,116 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:50:11,117 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:50:11,119 basehttp 26812 6221066240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:51:11,111 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:51:11,111 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 13:52:11,127 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 13:52:11,129 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 13:53:11,125 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 13:53:11,126 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 13:53:11,126 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 13:53:11,149 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 13:53:11,149 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 13:53:11,150 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 13:53:11,196 log 26812 6254718976 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:53:11,196 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:53:11,196 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:53:11,198 basehttp 26812 6254718976 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 13:53:11,198 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 13:53:11,199 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 13:54:11,101 basehttp 26812 6237892608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 13:54:11,102 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 13:54:11,110 basehttp 26812 6237892608 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 13:54:11,112 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 13:54:11,132 log 26812 6254718976 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:54:11,139 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:54:11,139 basehttp 26812 6254718976 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 13:54:11,140 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 13:55:11,115 basehttp 26812 6254718976 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 13:55:11,115 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 13:55:11,132 basehttp 26812 6254718976 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 13:55:11,132 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 13:55:11,178 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:55:11,184 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:55:11,185 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 13:55:11,186 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 13:56:11,120 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 13:56:11,122 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 13:56:11,122 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 13:56:11,139 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 13:56:11,143 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 13:56:11,143 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 13:56:11,194 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:56:11,199 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:56:11,205 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:56:11,206 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 13:56:11,206 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 13:56:11,207 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 13:57:11,109 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 13:57:11,109 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 13:57:11,124 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 13:57:11,126 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 13:57:11,152 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:57:11,158 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:57:11,159 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 13:57:11,160 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 13:58:11,100 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 13:58:11,101 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 13:58:11,101 basehttp 26812 6237892608 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 13:58:11,121 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 13:58:11,124 basehttp 26812 6237892608 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 13:58:11,125 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 13:58:11,171 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:58:11,177 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:58:11,178 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 13:58:11,183 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:58:11,185 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 13:58:11,185 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 13:59:11,108 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 13:59:11,108 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 13:59:11,122 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 13:59:11,124 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 13:59:11,147 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:59:11,153 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 13:59:11,155 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 13:59:11,155 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:00:11,117 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:00:11,118 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:00:11,118 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:00:11,139 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:00:11,140 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:00:11,141 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:00:11,172 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:00:11,178 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:00:11,184 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:00:11,185 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:00:11,185 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:00:11,186 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:01:11,124 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:01:11,124 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:01:11,137 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:01:11,139 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:01:11,183 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:01:11,189 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:01:11,190 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:01:11,190 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:02:11,137 basehttp 26812 6221066240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:02:11,137 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:02:11,153 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:02:11,155 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:02:11,179 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:02:11,186 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:02:11,187 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:02:11,188 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:03:11,145 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:03:11,145 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:03:11,145 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:03:11,168 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:03:11,169 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:03:11,169 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:03:11,199 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:03:11,205 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:03:11,211 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:03:11,212 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:03:11,212 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:03:11,213 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:04:11,125 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:04:11,136 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:04:11,156 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:04:11,157 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:05:11,125 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:05:11,126 basehttp 26812 6237892608 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:05:11,126 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:05:11,142 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:05:11,143 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:05:11,145 basehttp 26812 6237892608 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:05:11,173 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:05:11,179 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:05:11,185 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:05:11,185 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:05:11,186 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:05:11,187 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:06:11,142 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:06:11,142 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:06:11,142 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:06:11,162 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:06:11,164 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:06:11,166 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:06:11,197 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:06:11,203 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:06:11,208 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:06:11,209 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:06:11,210 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:06:11,211 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:07:11,119 basehttp 26812 6221066240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:07:11,120 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:07:11,130 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:07:11,132 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:07:11,153 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:07:11,160 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:07:11,161 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:07:11,161 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:08:11,128 basehttp 26812 6237892608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:08:11,129 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:08:11,148 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:08:11,148 basehttp 26812 6237892608 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:08:11,174 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:08:11,181 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:08:11,182 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:08:11,182 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:09:11,138 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:09:11,138 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:09:11,139 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:09:11,162 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:09:11,162 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:09:11,162 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:09:11,193 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:09:11,199 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:09:11,206 log 26812 6254718976 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:09:11,206 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:09:11,207 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:09:11,208 basehttp 26812 6254718976 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:10:11,125 basehttp 26812 6254718976 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:10:11,125 basehttp 26812 6237892608 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:10:11,138 basehttp 26812 6237892608 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:10:11,141 basehttp 26812 6254718976 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:10:11,164 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:10:11,170 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:10:11,172 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:10:11,175 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:11:11,135 basehttp 26812 6221066240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:11:11,135 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:11:11,155 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:11:11,155 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:11:11,181 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:11:11,188 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:11:11,190 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:11:11,193 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:12:11,120 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:12:11,120 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:12:11,134 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:12:11,134 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:12:11,157 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:12:11,164 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:12:11,166 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:12:11,169 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:13:11,124 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:13:11,130 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:13:11,130 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:13:11,139 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:13:11,151 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:13:11,152 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:13:11,165 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:13:11,172 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:13:11,182 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:13:11,189 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:13:11,190 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:13:11,190 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:14:11,131 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:14:11,131 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:14:11,145 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:14:11,146 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:14:11,169 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:14:11,175 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:14:11,177 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:14:11,177 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:15:11,114 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:15:11,115 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:15:11,124 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:15:11,125 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:15:11,158 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:15:11,164 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:15:11,165 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:15:11,166 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:16:11,144 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:16:11,144 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:16:11,144 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:16:11,161 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:16:11,161 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:16:11,162 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:16:11,221 log 26812 6254718976 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:16:11,222 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:16:11,228 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:16:11,229 basehttp 26812 6254718976 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:16:11,230 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:16:11,231 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:17:11,150 basehttp 26812 6237892608 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:17:11,150 basehttp 26812 6221066240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:17:11,165 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:17:11,167 basehttp 26812 6237892608 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:17:11,192 log 26812 6254718976 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:17:11,199 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:17:11,200 basehttp 26812 6254718976 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:17:11,200 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:18:11,146 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:18:11,147 basehttp 26812 6254718976 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:18:11,160 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:18:11,162 basehttp 26812 6254718976 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:18:11,185 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:18:11,191 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:18:11,192 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:18:11,193 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:19:11,158 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:19:11,158 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:19:11,158 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:19:11,176 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:19:11,178 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:19:11,180 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:19:11,218 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:19:11,221 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:19:11,232 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:19:11,237 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:19:11,238 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:19:11,239 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:20:11,146 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:20:11,146 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:20:11,161 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:20:11,163 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:20:11,187 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:20:11,193 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:20:11,194 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:20:11,194 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:21:11,142 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:21:11,143 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:21:11,159 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:21:11,160 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:21:11,192 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:21:11,193 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:21:11,196 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:21:11,197 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:22:11,137 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:22:11,140 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:22:11,147 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:22:11,150 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:22:11,170 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:22:11,177 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:22:11,177 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:22:11,179 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:23:11,148 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:23:11,148 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:23:11,163 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:23:11,166 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:23:11,189 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:23:11,197 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:23:11,197 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:23:11,198 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:24:11,150 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:24:11,155 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:24:11,155 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:24:11,162 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:24:11,174 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:24:11,175 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:24:11,195 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:24:11,197 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:24:11,204 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:24:11,210 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:24:11,211 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:24:11,212 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:25:11,152 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:25:11,153 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:25:11,153 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:25:11,170 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:25:11,172 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:25:11,174 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:25:11,191 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:25:11,193 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:25:11,204 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:25:11,211 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:25:11,212 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:25:11,212 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:26:11,134 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:26:11,145 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:26:11,166 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:26:11,168 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:27:11,150 basehttp 26812 6221066240 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:27:11,153 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:27:11,154 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:27:11,166 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:27:11,171 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:27:11,173 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:27:11,185 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:27:11,191 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:27:11,199 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:27:11,205 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:27:11,206 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:27:11,207 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:28:11,146 basehttp 26812 6237892608 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:28:11,146 basehttp 26812 6221066240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:28:11,163 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:28:11,163 basehttp 26812 6237892608 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:28:11,190 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:28:11,196 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:28:11,199 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:28:11,201 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:29:11,158 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:29:11,158 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:29:11,158 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:29:11,177 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:29:11,180 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:29:11,180 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:29:11,205 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:29:11,207 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:29:11,213 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:29:11,220 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:29:11,221 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:29:11,221 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:30:11,124 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:30:11,131 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:30:11,147 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:30:11,148 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:31:11,156 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:31:11,156 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:31:11,156 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:31:11,176 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:31:11,179 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:31:11,179 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:31:11,214 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:31:11,220 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:31:11,226 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:31:11,227 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:31:11,228 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:31:11,229 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:32:11,243 basehttp 26812 6221066240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:32:11,252 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:32:11,273 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:32:11,277 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:33:11,253 basehttp 26812 6237892608 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:33:11,253 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:33:11,253 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:33:11,272 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:33:11,276 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:33:11,277 basehttp 26812 6237892608 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:33:11,345 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:33:11,351 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:33:11,357 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:33:11,358 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:33:11,359 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:33:11,360 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:34:11,243 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:34:11,252 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:34:11,272 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:34:11,273 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:35:11,248 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:35:11,248 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:35:11,248 basehttp 26812 6221066240 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:35:11,271 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:35:11,272 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:35:11,272 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:35:11,306 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:35:11,318 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:35:11,318 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:35:11,319 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:35:11,320 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:35:11,320 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:36:11,235 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:36:11,235 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:36:11,251 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:36:11,251 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:36:11,275 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:36:11,282 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:36:11,283 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:36:11,284 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:37:11,235 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:37:11,235 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:37:11,248 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:37:11,248 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:37:11,275 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:37:11,282 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:37:11,283 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:37:11,283 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:38:11,235 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:38:11,235 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:38:11,256 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:38:11,256 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:38:11,258 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:38:11,275 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:38:11,304 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:38:11,306 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:38:11,306 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:38:11,307 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:38:11,308 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:38:11,309 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:39:11,230 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:39:11,230 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:39:11,244 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:39:11,244 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:39:11,268 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:39:11,274 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:39:11,276 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:39:11,276 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:40:11,239 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:40:11,239 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:40:11,253 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:40:11,253 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:40:11,280 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:40:11,286 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:40:11,288 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:40:11,288 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:41:11,245 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:41:11,245 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:41:11,245 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:41:11,266 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:41:11,268 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:41:11,268 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:41:11,301 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:41:11,307 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:41:11,313 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:41:11,314 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:41:11,314 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:41:11,315 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:42:11,240 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:42:11,240 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:42:11,255 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:42:11,256 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:42:11,283 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:42:11,290 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:42:11,291 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:42:11,293 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:43:11,226 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:43:11,227 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:43:11,239 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:43:11,241 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:43:11,265 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:43:11,272 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:43:11,273 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:43:11,274 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:44:11,253 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:44:11,253 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:44:11,253 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:44:11,272 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:44:11,274 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:44:11,275 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:44:11,307 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:44:11,308 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:44:11,314 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:44:11,316 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:44:11,318 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:44:11,321 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:45:11,244 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:45:11,244 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:45:11,259 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:45:11,259 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:45:11,285 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:45:11,292 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:45:11,294 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:45:11,296 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:46:11,227 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:46:11,227 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:46:11,238 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:46:11,240 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:46:11,264 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:46:11,271 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:46:11,272 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:46:11,272 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:47:11,315 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:47:11,316 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:47:11,316 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:47:11,338 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:47:11,339 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:47:11,339 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:47:11,388 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:47:11,394 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:47:11,400 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:47:11,400 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:47:11,402 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:47:11,402 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:48:11,310 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:48:11,310 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:48:11,324 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:48:11,326 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:48:11,349 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:48:11,355 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:48:11,368 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:48:11,371 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:49:11,307 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:49:11,307 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:49:11,325 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:49:11,325 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:49:11,351 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:49:11,358 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:49:11,359 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:49:11,360 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:50:11,314 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:50:11,317 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:50:11,317 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:50:11,333 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:50:11,335 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:50:11,337 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:50:11,354 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:50:11,360 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:50:11,368 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:50:11,374 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:50:11,376 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:50:11,376 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:51:11,307 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:51:11,335 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:51:11,352 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:51:11,353 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:52:11,312 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:52:11,312 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:52:11,312 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:52:11,331 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:52:11,333 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:52:11,333 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:52:11,365 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:52:11,371 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:52:11,376 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:52:11,377 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:52:11,378 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:52:11,378 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:53:11,316 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:53:11,316 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:53:11,335 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:53:11,335 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:53:11,360 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:53:11,367 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:53:11,368 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:53:11,368 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:54:11,307 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:54:11,311 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:54:11,323 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:54:11,326 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:54:11,350 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:54:11,351 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:54:11,352 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:54:11,353 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:55:11,317 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:55:11,317 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:55:11,332 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:55:11,334 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:55:11,358 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:55:11,364 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:55:11,365 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:55:11,366 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:56:11,322 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:56:11,322 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:56:11,337 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:56:11,337 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:56:11,368 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:56:11,368 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:56:11,369 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:56:11,370 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 14:57:11,310 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:57:11,310 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:57:11,323 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:57:11,323 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:57:11,351 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:57:11,357 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:57:11,358 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:57:11,359 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 14:58:11,331 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:58:11,331 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 14:58:11,331 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:58:11,355 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:58:11,357 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:58:11,359 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:58:11,398 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:58:11,399 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:58:11,405 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:58:11,406 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 14:58:11,407 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 14:58:11,408 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 14:59:11,298 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:59:11,303 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 14:59:11,307 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 14:59:11,311 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 14:59:11,327 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:59:11,334 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 14:59:11,335 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 14:59:11,336 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:00:11,319 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:00:11,319 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:00:11,334 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:00:11,334 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:00:11,358 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:00:11,365 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:00:11,366 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:00:11,367 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 15:01:11,321 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:01:11,321 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:01:11,321 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:01:11,337 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:01:11,339 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:01:11,341 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:01:11,369 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:01:11,375 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:01:11,381 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:01:11,382 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:01:11,383 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:01:11,383 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 15:02:11,305 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:02:11,305 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:02:11,305 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:02:11,323 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:02:11,324 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:02:11,325 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:02:11,363 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:02:11,364 log 26812 6254718976 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:02:11,369 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:02:11,370 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:02:11,371 basehttp 26812 6254718976 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:02:11,372 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:03:11,269 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:03:11,275 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:03:11,290 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:03:11,291 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:04:11,300 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:04:11,300 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:04:11,300 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:04:11,322 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:04:11,324 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:04:11,326 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:04:11,344 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:04:11,350 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:04:11,358 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:04:11,364 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:04:11,365 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:04:11,366 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:05:11,292 basehttp 26812 6237892608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:05:11,292 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:05:11,292 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:05:11,313 basehttp 26812 6237892608 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:05:11,316 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:05:11,317 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:05:11,347 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:05:11,353 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:05:11,359 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:05:11,360 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:05:11,360 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:05:11,361 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:06:11,273 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:06:11,280 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:06:11,298 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:06:11,300 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:07:11,290 basehttp 26812 6237892608 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:07:11,292 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:07:11,292 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:07:11,308 basehttp 26812 6237892608 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:07:11,312 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:07:11,312 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:07:11,342 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:07:11,348 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:07:11,354 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:07:11,354 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:07:11,355 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:07:11,356 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:08:11,269 basehttp 26812 6221066240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:08:11,275 basehttp 26812 6237892608 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:08:11,278 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:08:11,282 basehttp 26812 6237892608 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:08:11,298 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:08:11,306 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:08:11,306 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:08:11,307 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:09:11,282 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:09:11,286 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:09:11,287 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:09:11,295 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:09:11,305 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:09:11,315 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:09:11,336 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:09:11,342 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:09:11,348 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:09:11,363 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:09:11,364 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:09:11,366 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:10:11,270 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:10:11,276 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:10:11,284 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:10:11,286 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:10:11,289 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:10:11,308 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:10:11,318 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:10:11,324 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:10:11,326 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:10:11,329 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:10:11,336 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:10:11,337 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:11:14,268 basehttp 26812 6221066240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:11:14,479 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:11:14,529 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:11:14,531 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:12:11,718 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:12:11,877 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:12:11,912 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:12:11,916 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:12:11,951 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:12:11,951 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:12:11,968 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:12:11,974 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:12:11,984 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:12:11,991 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:12:11,996 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:12:11,999 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:13:11,416 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:13:11,514 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:13:11,531 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:13:11,532 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:14:11,290 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:14:11,290 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:14:11,290 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:14:11,308 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:14:11,311 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:14:11,311 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:14:11,344 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:14:11,356 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:14:11,357 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:14:11,358 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:14:11,358 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:14:11,359 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:15:11,290 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:15:11,290 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:15:11,290 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:15:11,307 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:15:11,309 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:15:11,309 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:15:11,346 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:15:11,352 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:15:11,353 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:15:11,354 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:15:11,355 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:15:11,355 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:16:11,288 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:16:11,297 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:16:11,316 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:16:11,318 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:17:11,305 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:17:11,307 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:17:11,307 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:17:11,324 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:17:11,326 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:17:11,328 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:17:11,361 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:17:11,362 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:17:11,368 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:17:11,369 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:17:11,370 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:17:11,373 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:18:11,334 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:18:11,343 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:18:11,366 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:18:11,367 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:19:11,359 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:19:11,359 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:19:11,360 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:19:11,382 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:19:11,382 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:19:11,383 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:19:11,415 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:19:11,420 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:19:11,426 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:19:11,427 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:19:11,428 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:19:11,428 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 15:20:11,343 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:20:11,353 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:20:11,373 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:20:11,378 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:21:11,352 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:21:11,352 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:21:11,352 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:21:11,372 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:21:11,375 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:21:11,378 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:21:11,422 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:21:11,429 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:21:11,430 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:21:11,432 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:21:11,435 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:21:11,437 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:22:11,338 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:22:11,343 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:22:11,359 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:22:11,360 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:23:11,353 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:23:11,354 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:23:11,354 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:23:11,376 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:23:11,377 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:23:11,379 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:23:11,443 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:23:11,459 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:23:11,467 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:23:11,468 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:23:11,469 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:23:11,470 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 15:24:11,342 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:24:11,352 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:24:11,373 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:24:11,375 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:25:11,357 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:25:11,358 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:25:11,358 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:25:11,374 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:25:11,377 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:25:11,379 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:25:11,391 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:25:11,396 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:25:11,410 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:25:11,411 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:25:11,413 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:25:11,413 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:26:11,362 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:26:11,362 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:26:11,378 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:26:11,378 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:26:11,403 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:26:11,409 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:26:11,411 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:26:11,412 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:27:11,358 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:27:11,358 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:27:11,371 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:27:11,373 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:27:11,401 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:27:11,401 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:27:11,402 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:27:11,403 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:28:11,343 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:28:11,344 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:28:11,356 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:28:11,356 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:28:11,377 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:28:11,384 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:28:11,385 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:28:11,387 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:29:11,349 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:29:11,350 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:29:11,363 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:29:11,365 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:29:11,389 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:29:11,396 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:29:11,397 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:29:11,399 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:30:11,357 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:30:11,357 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:30:11,371 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:30:11,373 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:30:11,395 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:30:11,402 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:30:11,404 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:30:11,407 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:31:11,366 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:31:11,366 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:31:11,366 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:31:11,386 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:31:11,388 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:31:11,389 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:31:11,418 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:31:11,424 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:31:11,430 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:31:11,430 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:31:11,431 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:31:11,432 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:32:11,400 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:32:11,400 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:32:11,400 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:32:11,419 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:32:11,423 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:32:11,423 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:32:11,452 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:32:11,458 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:32:11,464 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:32:11,466 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:32:11,468 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:32:11,470 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:33:11,348 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:33:11,357 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:33:11,377 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:33:11,379 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:34:11,370 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:34:11,370 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:34:11,371 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:34:11,389 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:34:11,392 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:34:11,392 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:34:11,421 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:34:11,427 log 26812 6254718976 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:34:11,433 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:34:11,434 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:34:11,434 basehttp 26812 6254718976 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:34:11,435 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:35:11,368 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:35:11,368 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:35:11,382 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:35:11,382 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:35:11,406 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:35:11,412 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:35:11,414 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:35:11,415 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:36:11,367 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:36:11,367 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:36:11,382 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:36:11,383 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:36:11,405 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:36:11,412 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:36:11,412 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:36:11,413 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:37:11,367 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:37:11,368 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:37:11,381 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:37:11,382 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:37:11,404 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:37:11,411 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:37:11,413 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:37:11,414 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:38:11,373 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:38:11,374 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:38:11,376 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:38:11,394 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:38:11,398 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:38:11,398 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:38:11,427 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:38:11,433 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:38:11,439 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:38:11,441 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:38:11,444 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:38:11,447 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:39:11,375 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:39:11,383 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:39:11,402 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:39:11,404 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:40:11,381 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:40:11,382 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:40:11,382 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:40:11,399 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:40:11,402 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:40:11,403 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:40:11,437 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:40:11,438 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:40:11,443 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:40:11,445 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:40:11,447 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:40:11,449 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:41:11,374 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:41:11,374 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:41:11,375 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:41:11,394 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:41:11,394 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:41:11,394 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:41:11,424 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:41:11,430 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:41:11,431 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:41:11,432 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:41:11,433 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:41:11,434 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:42:11,361 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:42:11,372 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:42:11,391 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:42:11,393 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:43:11,375 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:43:11,378 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:43:11,378 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:43:11,390 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:43:11,398 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:43:11,400 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:43:11,412 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:43:11,415 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:43:11,426 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:43:11,432 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:43:11,433 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:43:11,434 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:44:11,378 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:44:11,385 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:44:11,429 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:44:11,430 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:45:11,962 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:45:11,991 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:45:12,012 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:45:12,016 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:45:12,016 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:45:12,024 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:45:12,096 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:45:12,102 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:45:12,107 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:45:15,269 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:45:15,481 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:45:15,486 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:46:11,398 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:46:11,437 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:46:11,453 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:46:11,901 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:47:11,373 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:47:11,379 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:47:11,379 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:47:11,388 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:47:11,400 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:47:11,402 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:47:11,413 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:47:11,416 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:47:11,427 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:47:11,433 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:47:11,435 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:47:11,435 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:48:11,400 basehttp 26812 6237892608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:48:11,410 basehttp 26812 6237892608 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:48:11,429 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:48:11,431 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:49:11,405 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:49:11,409 basehttp 26812 6221066240 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:49:11,410 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:49:11,419 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:49:11,428 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:49:11,430 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:49:11,441 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:49:11,448 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:49:11,456 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:49:11,461 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:49:11,462 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:49:11,463 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:50:11,383 basehttp 26812 6237892608 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:50:11,392 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:50:11,393 basehttp 26812 6237892608 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:50:11,404 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:50:11,412 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:50:11,415 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:50:11,421 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:50:11,423 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 15:51:11,407 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:51:11,407 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:51:11,420 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:51:11,422 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:51:11,446 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:51:11,453 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:51:11,455 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:51:11,458 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 15:52:11,408 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:52:11,408 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:52:11,423 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:52:11,425 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:52:11,448 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:52:11,454 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:52:11,457 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:52:11,462 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 15:53:11,408 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:53:11,408 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:53:11,423 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:53:11,424 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:53:11,448 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:53:11,454 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:53:11,455 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:53:11,457 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:54:11,413 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:54:11,413 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:54:11,429 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:54:11,429 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:54:11,458 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:54:11,459 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:54:11,464 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:54:11,469 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 15:55:11,420 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:55:11,420 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:55:11,433 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:55:11,434 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:55:11,458 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:55:11,464 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:55:11,467 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:55:11,471 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:56:11,422 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:56:11,422 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:56:11,435 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:56:11,437 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:56:11,486 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:56:11,493 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:56:11,517 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:56:11,521 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 15:57:11,413 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:57:11,414 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:57:11,425 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:57:11,425 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:57:11,446 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:57:11,452 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:57:11,456 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 15:57:11,459 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:58:11,419 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:58:11,419 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:58:11,432 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 15:58:11,434 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:58:11,459 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:58:11,465 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:58:11,467 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 15:58:11,468 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 15:59:11,422 basehttp 26812 6221066240 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 15:59:11,422 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:59:11,435 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 15:59:11,436 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 15:59:11,460 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:59:11,466 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 15:59:11,468 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 15:59:11,469 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 16:00:11,432 basehttp 26812 6204239872 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:00:11,433 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:00:11,433 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:00:11,451 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:00:11,454 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:00:11,455 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:00:11,500 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:00:11,505 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:00:11,510 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:00:11,512 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 16:00:11,515 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 16:00:11,516 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 16:01:11,409 basehttp 26812 6221066240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:01:11,418 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:01:11,440 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:01:11,442 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 16:02:11,417 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:02:11,417 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:02:11,417 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:02:11,433 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:02:11,435 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:02:11,436 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:02:11,465 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:02:11,471 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:02:11,476 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:02:11,478 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 16:02:11,479 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 16:02:11,482 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 16:03:11,426 basehttp 26812 6221066240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:03:11,426 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:03:11,441 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:03:11,441 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:03:11,472 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:03:11,472 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:03:11,473 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 16:03:11,475 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 16:04:11,419 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:04:11,419 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:04:11,433 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:04:11,434 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:04:11,505 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:04:11,511 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:04:11,513 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 16:04:11,514 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 16:05:11,426 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:05:11,426 basehttp 26812 6170587136 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:05:11,442 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:05:11,442 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:05:11,465 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:05:11,471 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:05:11,473 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 16:05:11,474 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 16:06:11,443 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:06:11,443 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:06:11,443 basehttp 26812 6221066240 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:06:11,463 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:06:11,464 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:06:11,464 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:06:11,495 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:06:11,500 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:06:11,506 log 26812 6254718976 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:06:11,508 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 16:06:11,510 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 16:06:11,511 basehttp 26812 6254718976 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 16:07:11,433 basehttp 26812 6237892608 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:07:11,433 basehttp 26812 6254718976 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:07:11,446 basehttp 26812 6254718976 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:07:11,447 basehttp 26812 6237892608 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:07:11,468 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:07:11,475 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:07:11,476 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 16:07:11,477 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 16:08:11,431 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:08:11,431 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:08:11,445 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:08:11,446 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:08:11,468 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:08:11,474 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:08:11,476 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 16:08:11,478 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 16:09:11,431 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:09:11,431 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:09:11,431 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:09:11,461 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:09:11,461 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:09:11,461 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:09:11,491 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:09:11,497 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:09:11,502 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:09:11,504 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 16:09:11,505 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 16:09:11,507 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 16:10:11,446 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:10:11,446 basehttp 26812 6187413504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:10:11,446 basehttp 26812 6204239872 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:10:11,463 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:10:11,466 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:10:11,467 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:10:11,496 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:10:11,501 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:10:11,507 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:10:11,509 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 16:10:11,511 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 16:10:11,513 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 16:11:11,442 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:11:11,442 basehttp 26812 6221066240 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:11:11,442 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:11:11,459 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:11:11,463 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:11:11,463 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:11:11,492 log 26812 6170587136 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:11:11,498 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:11:11,504 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:11:11,504 basehttp 26812 6170587136 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 16:11:11,506 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 16:11:11,509 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 INFO 2025-08-12 16:12:11,423 basehttp 26812 6221066240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:12:11,432 basehttp 26812 6221066240 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:12:11,452 log 26812 6187413504 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:12:11,454 basehttp 26812 6187413504 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 16:13:11,451 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:13:11,452 basehttp 26812 6170587136 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:13:11,452 basehttp 26812 6187413504 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:13:11,470 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:13:11,472 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:13:11,473 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:13:11,507 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:13:11,512 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:13:11,518 log 26812 6204239872 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:13:11,519 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 16:13:11,521 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 ERROR 2025-08-12 16:13:11,523 basehttp 26812 6204239872 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 INFO 2025-08-12 16:14:11,434 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:14:11,442 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:14:11,462 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:14:11,464 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 16:15:11,456 basehttp 26812 6187413504 "GET /en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:15:11,456 basehttp 26812 6170587136 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:15:11,456 basehttp 26812 6204239872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 302 0 INFO 2025-08-12 16:15:11,479 basehttp 26812 6187413504 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:15:11,479 basehttp 26812 6170587136 "GET /accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 302 0 INFO 2025-08-12 16:15:11,479 basehttp 26812 6204239872 "GET /accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:15:11,511 log 26812 6237892608 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:15:11,517 log 26812 6221066240 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:15:11,522 log 26812 6254718976 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:15:11,523 basehttp 26812 6237892608 "GET /en/accounts/login/?next=/en/htmx/system-health/ HTTP/1.1" 500 160880 ERROR 2025-08-12 16:15:11,524 basehttp 26812 6221066240 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161090 ERROR 2025-08-12 16:15:11,525 basehttp 26812 6254718976 "GET /en/accounts/login/?next=/en/htmx/dashboard-stats/ HTTP/1.1" 500 160940 INFO 2025-08-12 16:24:17,256 autoreload 3315 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 16:24:21,571 basehttp 3315 6168752128 "GET /en/ HTTP/1.1" 302 0 INFO 2025-08-12 16:24:21,578 basehttp 3315 6168752128 "GET /accounts/login/?next=/en/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:24:21,597 log 3315 6168752128 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:24:21,599 basehttp 3315 6168752128 "GET /en/accounts/login/?next=/en/ HTTP/1.1" 500 160183 ERROR 2025-08-12 16:24:25,509 log 3315 6168752128 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:24:25,511 basehttp 3315 6168752128 "GET /en/accounts/login/?next=/en/ HTTP/1.1" 500 160183 INFO 2025-08-12 16:25:29,251 autoreload 3876 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 16:25:30,625 basehttp 3876 6157545472 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 16:25:30,709 basehttp 3876 6157545472 "GET /en/ HTTP/1.1" 302 0 INFO 2025-08-12 16:25:30,713 basehttp 3876 6157545472 "GET /accounts/login/?next=/en/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:25:30,727 log 3876 6157545472 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:25:30,729 basehttp 3876 6157545472 "GET /en/accounts/login/?next=/en/ HTTP/1.1" 500 161428 WARNING 2025-08-12 16:25:30,766 log 3876 6157545472 Not Found: /favicon.ico WARNING 2025-08-12 16:25:30,766 basehttp 3876 6157545472 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-12 16:26:19,937 autoreload 4274 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 16:26:22,632 log 4274 6168522752 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:26:22,634 basehttp 4274 6168522752 "GET /en/accounts/login/?next=/en/ HTTP/1.1" 500 160183 INFO 2025-08-12 16:26:26,833 basehttp 4274 6168522752 "GET /en/accounts/login/ HTTP/1.1" 200 21295 INFO 2025-08-12 16:26:26,880 basehttp 4274 6168522752 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:26:26,886 basehttp 4274 6168522752 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:26:26,900 log 4274 6168522752 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:26:26,901 basehttp 4274 6168522752 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161120 INFO 2025-08-12 16:26:30,683 basehttp 4274 6168522752 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 16:26:30,688 basehttp 4274 6168522752 "GET /en/ HTTP/1.1" 302 0 INFO 2025-08-12 16:26:30,694 basehttp 4274 6168522752 "GET /accounts/login/?next=/en/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:26:30,709 log 4274 6168522752 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:26:30,711 basehttp 4274 6168522752 "GET /en/accounts/login/?next=/en/ HTTP/1.1" 500 160044 INFO 2025-08-12 16:26:31,844 basehttp 4274 6168522752 "GET /en/accounts/login/ HTTP/1.1" 200 21295 INFO 2025-08-12 16:26:40,848 basehttp 4274 6168522752 "POST /en/accounts/login/ HTTP/1.1" 200 21295 INFO 2025-08-12 16:26:40,881 basehttp 4274 6168522752 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 16:26:40,889 basehttp 4274 6168522752 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 16:26:40,906 log 4274 6168522752 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 16:26:40,907 basehttp 4274 6168522752 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161120 INFO 2025-08-12 16:26:47,619 basehttp 4274 6168522752 "GET /en/admin HTTP/1.1" 301 0 INFO 2025-08-12 16:26:47,658 basehttp 4274 6168522752 "GET /en/admin/ HTTP/1.1" 302 0 INFO 2025-08-12 16:26:47,671 basehttp 4274 6168522752 "GET /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4212 INFO 2025-08-12 16:26:47,684 basehttp 4274 13186969600 "GET /static/admin/css/nav_sidebar.css HTTP/1.1" 200 2810 INFO 2025-08-12 16:26:47,684 basehttp 4274 13237448704 "GET /static/admin/js/theme.js HTTP/1.1" 200 1653 INFO 2025-08-12 16:26:47,684 basehttp 4274 13170143232 "GET /static/admin/css/dark_mode.css HTTP/1.1" 200 2808 INFO 2025-08-12 16:26:47,684 basehttp 4274 13203795968 "GET /static/admin/css/login.css HTTP/1.1" 200 951 INFO 2025-08-12 16:26:47,685 basehttp 4274 13220622336 "GET /static/admin/css/responsive.css HTTP/1.1" 200 16565 INFO 2025-08-12 16:26:47,685 basehttp 4274 6168522752 "GET /static/admin/css/base.css HTTP/1.1" 200 22120 INFO 2025-08-12 16:26:47,686 basehttp 4274 6168522752 "GET /static/admin/js/nav_sidebar.js HTTP/1.1" 200 3063 INFO 2025-08-12 16:26:54,329 basehttp 4274 6168522752 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 302 0 INFO 2025-08-12 16:26:54,351 basehttp 4274 6168522752 "GET /en/admin/ HTTP/1.1" 200 86670 INFO 2025-08-12 16:26:54,365 basehttp 4274 6168522752 "GET /static/admin/css/dashboard.css HTTP/1.1" 200 441 INFO 2025-08-12 16:26:54,366 basehttp 4274 13220622336 "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 200 331 INFO 2025-08-12 16:26:54,366 basehttp 4274 13170143232 "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 200 380 INFO 2025-08-12 16:26:57,513 basehttp 4274 13170143232 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 16:26:57,539 basehttp 4274 13220622336 "GET /en/ HTTP/1.1" 200 46436 INFO 2025-08-12 16:26:57,595 basehttp 4274 13220622336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:26:57,599 basehttp 4274 13203795968 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 16:26:57,600 basehttp 4274 13237448704 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 16:26:57,601 basehttp 4274 6168522752 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:27:01,612 basehttp 4274 6168522752 "GET /en/ HTTP/1.1" 200 46436 INFO 2025-08-12 16:27:01,676 basehttp 4274 13203795968 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 16:27:01,676 basehttp 4274 6168522752 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:27:01,677 basehttp 4274 13220622336 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 16:27:01,679 basehttp 4274 13237448704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:27:02,389 basehttp 4274 13237448704 "GET /en/ HTTP/1.1" 200 46436 INFO 2025-08-12 16:27:02,457 basehttp 4274 6168522752 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 16:27:02,458 basehttp 4274 13203795968 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 16:27:02,459 basehttp 4274 13237448704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:27:02,461 basehttp 4274 13220622336 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:27:32,442 basehttp 4274 13220622336 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:28:02,455 basehttp 4274 13220622336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:28:02,456 basehttp 4274 13237448704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 16:28:02,458 basehttp 4274 13203795968 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:28:32,447 basehttp 4274 13203795968 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:29:02,467 basehttp 4274 13203795968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:29:02,467 basehttp 4274 13237448704 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 16:29:02,469 basehttp 4274 13220622336 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:29:32,453 basehttp 4274 13220622336 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:30:02,468 basehttp 4274 13220622336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:30:02,470 basehttp 4274 13203795968 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 16:30:02,471 basehttp 4274 13237448704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:30:32,458 basehttp 4274 13237448704 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:31:02,462 basehttp 4274 13237448704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:31:02,463 basehttp 4274 13203795968 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 16:31:02,465 basehttp 4274 13220622336 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:31:32,464 basehttp 4274 13220622336 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:31:59,362 basehttp 4274 13220622336 "GET /en/departments HTTP/1.1" 301 0 INFO 2025-08-12 16:31:59,375 basehttp 4274 13237448704 "GET /en/departments/ HTTP/1.1" 200 134400 INFO 2025-08-12 16:31:59,395 basehttp 4274 13237448704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:32:05,978 basehttp 4274 13237448704 "GET /en/departments/74/ HTTP/1.1" 200 38226 INFO 2025-08-12 16:32:06,354 basehttp 4274 13237448704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:32:09,871 basehttp 4274 13237448704 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42224 INFO 2025-08-12 16:32:09,882 basehttp 4274 13237448704 "GET /static/plugins/datatables.net-bs5/css/dataTables.bootstrap5.min.css HTTP/1.1" 200 15096 INFO 2025-08-12 16:32:09,883 basehttp 4274 13170143232 "GET /static/plugins/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css HTTP/1.1" 200 15733 INFO 2025-08-12 16:32:09,883 basehttp 4274 13203795968 "GET /static/plugins/datatables.net-responsive-bs5/css/responsive.bootstrap5.min.css HTTP/1.1" 200 6044 INFO 2025-08-12 16:32:09,883 basehttp 4274 6168522752 "GET /static/plugins/select2/dist/css/select2.min.css HTTP/1.1" 200 14966 INFO 2025-08-12 16:32:09,883 basehttp 4274 13220622336 "GET /static/plugins/datatables.net-bs5/js/dataTables.bootstrap5.min.js HTTP/1.1" 200 1470 INFO 2025-08-12 16:32:09,884 basehttp 4274 13186969600 "GET /static/plugins/datatables.net/js/dataTables.min.js HTTP/1.1" 200 95735 INFO 2025-08-12 16:32:09,887 basehttp 4274 6168522752 "GET /static/plugins/datatables.net-responsive-bs5/js/responsive.bootstrap5.min.js HTTP/1.1" 200 1796 INFO 2025-08-12 16:32:09,887 basehttp 4274 13186969600 "GET /static/plugins/datatables.net-responsive/js/dataTables.responsive.min.js HTTP/1.1" 200 16086 INFO 2025-08-12 16:32:09,888 basehttp 4274 13170143232 "GET /static/plugins/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js HTTP/1.1" 200 33871 INFO 2025-08-12 16:32:09,888 basehttp 4274 13220622336 "GET /static/plugins/select2/dist/js/select2.min.js HTTP/1.1" 200 70851 INFO 2025-08-12 16:32:09,922 basehttp 4274 13220622336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:32:09,957 basehttp 4274 13220622336 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42224 ERROR 2025-08-12 16:32:10,001 log 4274 13170143232 Internal Server Error: /en/inventory/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 889, in inventory_stats 'low_stock_items': InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'quantity' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-12 16:32:10,002 basehttp 4274 13170143232 "GET /en/inventory/htmx/stats/ HTTP/1.1" 500 124311 ERROR 2025-08-12 16:32:33,572 log 4274 13170143232 Internal Server Error: /en/inventory/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 889, in inventory_stats 'low_stock_items': InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'quantity' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-12 16:32:33,573 basehttp 4274 13170143232 "GET /en/inventory/htmx/stats/ HTTP/1.1" 500 124311 INFO 2025-08-12 16:33:09,934 basehttp 4274 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:34:09,934 basehttp 4274 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:35:09,937 basehttp 4274 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:35:15,894 autoreload 4274 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 16:35:16,177 autoreload 8213 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 16:35:17,233 basehttp 8213 6192803840 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42224 INFO 2025-08-12 16:35:17,270 basehttp 8213 6192803840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:35:17,292 basehttp 8213 6192803840 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42224 ERROR 2025-08-12 16:35:17,332 log 8213 6209630208 Internal Server Error: /en/inventory/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 889, in inventory_stats 'low_stock_items': InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1535, in build_filter value = self.resolve_lookup_value(value, can_reuse, allow_joins, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1300, in resolve_lookup_value value = value.resolve_expression( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 902, in resolve_expression return query.resolve_ref(self.name, allow_joins, reuse, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2049, in resolve_ref join_info = self.setup_joins( ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1900, in setup_joins path, final_field, targets, rest = self.names_to_path( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'minimum_stock_level' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-12 16:35:17,334 basehttp 8213 6209630208 "GET /en/inventory/htmx/stats/ HTTP/1.1" 500 139885 ERROR 2025-08-12 16:36:10,002 log 8213 6209630208 Internal Server Error: /en/inventory/items/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'generate_item_code' not found. 'generate_item_code' is not a valid view function or pattern name. ERROR 2025-08-12 16:36:10,004 basehttp 8213 6209630208 "GET /en/inventory/items/create/ HTTP/1.1" 500 171313 INFO 2025-08-12 16:37:21,039 autoreload 8213 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 16:37:21,324 autoreload 9061 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 16:37:25,396 basehttp 9061 6193147904 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:37:26,019 basehttp 9061 6193147904 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42224 INFO 2025-08-12 16:37:26,095 basehttp 9061 6193147904 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:37:26,126 basehttp 9061 6193147904 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42224 ERROR 2025-08-12 16:37:26,177 log 9061 6209974272 Internal Server Error: /en/inventory/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 889, in inventory_stats 'low_stock_items': InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-12 16:37:26,178 basehttp 9061 6209974272 "GET /en/inventory/htmx/stats/ HTTP/1.1" 500 125130 INFO 2025-08-12 16:38:26,112 basehttp 9061 6209974272 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:38:56,692 autoreload 9061 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 16:38:56,979 autoreload 9860 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 16:39:00,413 basehttp 9860 6190575616 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42224 INFO 2025-08-12 16:39:00,490 basehttp 9860 6190575616 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:39:00,520 basehttp 9860 6190575616 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42224 ERROR 2025-08-12 16:39:00,564 log 9860 6207401984 Internal Server Error: /en/inventory/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 893, in inventory_stats 'expired_items': InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'expiry_date' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-12 16:39:00,565 basehttp 9860 6207401984 "GET /en/inventory/htmx/stats/ HTTP/1.1" 500 124630 INFO 2025-08-12 16:39:26,140 autoreload 9860 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 16:39:26,420 autoreload 10026 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 16:39:28,698 basehttp 10026 6202716160 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42224 INFO 2025-08-12 16:39:28,780 basehttp 10026 6202716160 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:39:28,814 basehttp 10026 6202716160 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42224 INFO 2025-08-12 16:39:28,817 basehttp 10026 6219542528 "GET /en/inventory/htmx/stats/ HTTP/1.1" 200 6394 INFO 2025-08-12 16:40:24,939 autoreload 10026 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 16:40:25,229 autoreload 10485 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 16:40:29,109 basehttp 10485 6170079232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:40:29,534 basehttp 10485 6170079232 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42224 INFO 2025-08-12 16:40:29,612 basehttp 10485 6170079232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:40:29,641 basehttp 10485 6170079232 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42224 INFO 2025-08-12 16:40:29,645 basehttp 10485 13035925504 "GET /en/inventory/htmx/stats/ HTTP/1.1" 200 6394 INFO 2025-08-12 16:41:29,626 basehttp 10485 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:41:33,786 basehttp 10485 13035925504 "GET /en/admin/ HTTP/1.1" 200 86670 INFO 2025-08-12 16:41:39,639 basehttp 10485 13035925504 "GET /en/admin/inventory/inventoryitem/ HTTP/1.1" 200 71816 INFO 2025-08-12 16:41:39,657 basehttp 10485 13069578240 "GET /static/admin/js/jquery.init.js HTTP/1.1" 200 347 INFO 2025-08-12 16:41:39,658 basehttp 10485 13035925504 "GET /static/admin/css/changelists.css HTTP/1.1" 200 6878 INFO 2025-08-12 16:41:39,658 basehttp 10485 13103230976 "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 200 9777 INFO 2025-08-12 16:41:39,659 basehttp 10485 13086404608 "GET /static/admin/js/core.js HTTP/1.1" 200 6208 INFO 2025-08-12 16:41:39,661 basehttp 10485 13069578240 "GET /static/admin/js/actions.js HTTP/1.1" 200 8076 INFO 2025-08-12 16:41:39,662 basehttp 10485 13086404608 "GET /static/admin/js/prepopulate.js HTTP/1.1" 200 1531 INFO 2025-08-12 16:41:39,663 basehttp 10485 13035925504 "GET /static/admin/js/urlify.js HTTP/1.1" 200 7887 INFO 2025-08-12 16:41:39,665 basehttp 10485 13069578240 "GET /static/admin/img/search.svg HTTP/1.1" 200 458 INFO 2025-08-12 16:41:39,665 basehttp 10485 6170079232 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 16:41:39,667 basehttp 10485 13052751872 "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 200 285314 INFO 2025-08-12 16:41:39,669 basehttp 10485 13103230976 "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 200 325171 INFO 2025-08-12 16:41:39,673 basehttp 10485 13103230976 "GET /static/admin/js/filters.js HTTP/1.1" 200 978 INFO 2025-08-12 16:41:39,687 basehttp 10485 13103230976 "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 200 331 INFO 2025-08-12 16:41:39,687 basehttp 10485 13052751872 "GET /static/admin/img/icon-viewlink.svg HTTP/1.1" 200 581 INFO 2025-08-12 16:52:00,985 autoreload 15672 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 16:52:04,010 basehttp 15672 6168834048 "GET /en/admin/inventory/inventoryitem/ HTTP/1.1" 200 117495 INFO 2025-08-12 16:52:04,026 basehttp 15672 6185660416 "GET /static/admin/img/icon-yes.svg HTTP/1.1" 200 436 INFO 2025-08-12 16:52:04,032 basehttp 15672 6168834048 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 16:52:04,054 basehttp 15672 6168834048 "GET /static/admin/img/sorting-icons.svg HTTP/1.1" 200 1097 INFO 2025-08-12 16:52:12,926 basehttp 15672 6168834048 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 16:52:12,976 basehttp 15672 6185660416 "GET /en/ HTTP/1.1" 200 46437 INFO 2025-08-12 16:52:13,071 basehttp 15672 6185660416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:52:13,077 basehttp 15672 6202486784 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 16:52:13,077 basehttp 15672 6219313152 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 16:52:13,077 basehttp 15672 6168834048 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:52:18,005 basehttp 15672 6168834048 "GET /en/departments/ HTTP/1.1" 200 134400 INFO 2025-08-12 16:52:18,041 basehttp 15672 6168834048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:52:21,601 basehttp 15672 6168834048 "GET /en/departments/74/ HTTP/1.1" 200 38226 INFO 2025-08-12 16:52:21,672 basehttp 15672 6168834048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:52:23,728 basehttp 15672 6168834048 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42224 INFO 2025-08-12 16:52:23,810 basehttp 15672 6168834048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:52:23,837 basehttp 15672 6168834048 "GET /en/inventory/items/?department=74 HTTP/1.1" 200 42224 INFO 2025-08-12 16:52:23,838 basehttp 15672 6219313152 "GET /en/inventory/htmx/stats/ HTTP/1.1" 200 6394 INFO 2025-08-12 16:52:44,775 basehttp 15672 6219313152 "GET /en/inventory/items HTTP/1.1" 301 0 INFO 2025-08-12 16:52:44,785 basehttp 15672 6168834048 "GET /en/inventory/items/ HTTP/1.1" 200 42224 INFO 2025-08-12 16:52:44,866 basehttp 15672 6168834048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:52:44,894 basehttp 15672 6168834048 "GET /en/inventory/items/ HTTP/1.1" 200 42224 INFO 2025-08-12 16:52:44,894 basehttp 15672 6202486784 "GET /en/inventory/htmx/stats/ HTTP/1.1" 200 6394 INFO 2025-08-12 16:52:53,723 basehttp 15672 6168834048 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:52:54,271 basehttp 15672 6168834048 "GET /en/admin/inventory/inventoryitem/ HTTP/1.1" 200 117495 INFO 2025-08-12 16:52:56,076 basehttp 15672 6168834048 "GET /en/admin/inventory/inventoryitem/405/change/ HTTP/1.1" 200 209283 INFO 2025-08-12 16:52:56,094 basehttp 15672 6168834048 "GET /static/admin/css/forms.css HTTP/1.1" 200 8525 INFO 2025-08-12 16:52:56,094 basehttp 15672 6185660416 "GET /static/admin/js/calendar.js HTTP/1.1" 200 9141 INFO 2025-08-12 16:52:56,095 basehttp 15672 6219313152 "GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 200 19319 INFO 2025-08-12 16:52:56,095 basehttp 15672 6252965888 "GET /static/admin/js/prepopulate_init.js HTTP/1.1" 200 586 INFO 2025-08-12 16:52:56,095 basehttp 15672 6236139520 "GET /static/admin/js/inlines.js HTTP/1.1" 200 15628 INFO 2025-08-12 16:52:56,096 basehttp 15672 6252965888 "GET /static/admin/css/widgets.css HTTP/1.1" 200 11991 INFO 2025-08-12 16:52:56,097 basehttp 15672 6202486784 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 16:52:56,100 basehttp 15672 6202486784 "GET /static/admin/img/icon-deletelink.svg HTTP/1.1" 200 392 INFO 2025-08-12 16:52:56,100 basehttp 15672 6252965888 "GET /static/admin/img/icon-unknown.svg HTTP/1.1" 200 655 INFO 2025-08-12 16:52:56,105 basehttp 15672 6252965888 "GET /static/admin/js/change_form.js HTTP/1.1" 200 606 INFO 2025-08-12 16:52:56,143 basehttp 15672 6252965888 "GET /static/admin/img/icon-calendar.svg HTTP/1.1" 200 1086 INFO 2025-08-12 16:53:44,375 basehttp 15672 6252965888 "POST /en/admin/inventory/inventoryitem/405/change/ HTTP/1.1" 302 0 INFO 2025-08-12 16:53:44,424 basehttp 15672 6252965888 "GET /en/admin/inventory/inventoryitem/ HTTP/1.1" 200 117785 INFO 2025-08-12 16:53:44,440 basehttp 15672 6252965888 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 16:53:54,129 basehttp 15672 6252965888 "GET /en/admin/inventory/inventoryitem/382/change/ HTTP/1.1" 200 209211 INFO 2025-08-12 16:53:54,143 basehttp 15672 6252965888 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 16:54:04,640 basehttp 15672 6252965888 "POST /en/admin/inventory/inventoryitem/382/change/ HTTP/1.1" 302 0 INFO 2025-08-12 16:54:04,698 basehttp 15672 6252965888 "GET /en/admin/inventory/inventoryitem/ HTTP/1.1" 200 117790 INFO 2025-08-12 16:54:04,712 basehttp 15672 6252965888 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 16:54:17,571 basehttp 15672 6252965888 "GET /en/admin/accounts/twofactordevice/ HTTP/1.1" 200 140797 INFO 2025-08-12 16:54:17,587 basehttp 15672 6252965888 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 16:54:21,523 basehttp 15672 6252965888 "GET /en/admin/accounts/user/ HTTP/1.1" 200 159500 INFO 2025-08-12 16:54:21,538 basehttp 15672 6252965888 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 16:54:26,385 basehttp 15672 6252965888 "GET /en/admin/appointments/waitingqueue/ HTTP/1.1" 200 145986 INFO 2025-08-12 16:54:26,409 basehttp 15672 6252965888 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 16:54:36,720 basehttp 15672 6252965888 "GET /en/admin/integration/datamapping/ HTTP/1.1" 200 70700 INFO 2025-08-12 16:54:36,735 basehttp 15672 6252965888 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 16:54:44,230 basehttp 15672 6252965888 "GET /en/admin/inventory/inventorylocation/ HTTP/1.1" 200 78403 INFO 2025-08-12 16:54:44,246 basehttp 15672 6252965888 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 16:54:45,672 basehttp 15672 6252965888 "GET /en/admin/inventory/inventorylocation/78/change/ HTTP/1.1" 200 184907 INFO 2025-08-12 16:54:45,692 basehttp 15672 6252965888 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 16:55:02,520 basehttp 15672 6252965888 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 16:55:02,535 basehttp 15672 6202486784 "GET /en/ HTTP/1.1" 200 46437 INFO 2025-08-12 16:55:02,639 basehttp 15672 6168834048 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 16:55:02,640 basehttp 15672 6202486784 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:55:02,643 basehttp 15672 6219313152 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 16:55:02,644 basehttp 15672 6236139520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 16:55:08,541 basehttp 15672 6236139520 "GET /en/inventory/items/ HTTP/1.1" 200 42224 INFO 2025-08-12 16:55:08,586 basehttp 15672 6236139520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:55:08,619 basehttp 15672 6236139520 "GET /en/inventory/items/ HTTP/1.1" 200 42224 INFO 2025-08-12 16:55:08,620 basehttp 15672 6219313152 "GET /en/inventory/htmx/stats/ HTTP/1.1" 200 6394 INFO 2025-08-12 16:56:05,162 basehttp 15672 6219313152 "GET /en/inventory/items/ HTTP/1.1" 200 42224 INFO 2025-08-12 16:56:05,241 basehttp 15672 6219313152 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:56:05,268 basehttp 15672 6219313152 "GET /en/inventory/items/ HTTP/1.1" 200 42224 INFO 2025-08-12 16:56:05,269 basehttp 15672 6236139520 "GET /en/inventory/htmx/stats/ HTTP/1.1" 200 6394 ERROR 2025-08-12 16:56:40,303 log 15672 6236139520 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 77, in get_context_data ).aggregate( ^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 588, in aggregate return self.query.chain().get_aggregation(self.db, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 460, in get_aggregation aggregate = aggregate_expr.resolve_expression( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/aggregates.py", line 63, in resolve_expression c = super().resolve_expression(query, allow_joins, reuse, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 300, in resolve_expression expr.resolve_expression(query, allow_joins, reuse, summarize, for_save) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 775, in resolve_expression resolved = super().resolve_expression( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 300, in resolve_expression expr.resolve_expression(query, allow_joins, reuse, summarize, for_save) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 902, in resolve_expression return query.resolve_ref(self.name, allow_joins, reuse, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2049, in resolve_ref join_info = self.setup_joins( ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1900, in setup_joins path, final_field, targets, rest = self.names_to_path( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'quantity' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-12 16:56:40,306 basehttp 15672 6236139520 "GET /en/inventory/ HTTP/1.1" 500 139128 INFO 2025-08-12 16:57:11,094 autoreload 15672 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 16:57:11,402 autoreload 17979 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 16:57:12,510 log 17979 6133559296 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 42, in select_template return engine.get_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 79, in get_template return Template(self.engine.get_template(template_name), self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 177, in get_template template, origin = self.find_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 159, in find_template template = loader.get_template(name, skip=skip) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loaders/cached.py", line 57, in get_template template = super().get_template(template_name, skip) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loaders/base.py", line 28, in get_template return Template( ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 154, in __init__ self.nodelist = self.compile_nodelist() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 196, in compile_nodelist nodelist = parser.parse() ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 518, in parse raise self.error(token, e) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 516, in parse compiled_result = compile_func(self, token) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 299, in do_extends nodelist = parser.parse() ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 518, in parse raise self.error(token, e) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 516, in parse compiled_result = compile_func(self, token) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 234, in do_block nodelist = parser.parse(("endblock",)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 489, in parse raise self.error(token, e) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 487, in parse filter_expression = self.compile_filter(token.contents) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 609, in compile_filter return FilterExpression(token, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 710, in __init__ raise TemplateSyntaxError( django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: '{ expired_items' from '{ expired_items' ERROR 2025-08-12 16:57:12,513 basehttp 17979 6133559296 "GET /en/inventory/ HTTP/1.1" 500 201467 ERROR 2025-08-12 16:57:46,050 log 17979 6133559296 Internal Server Error: /en/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'chart_data' not found. 'chart_data' is not a valid view function or pattern name. ERROR 2025-08-12 16:57:46,052 basehttp 17979 6133559296 "GET /en/inventory/ HTTP/1.1" 500 182291 INFO 2025-08-12 16:58:03,310 basehttp 17979 6133559296 "GET /en/inventory/ HTTP/1.1" 200 46179 INFO 2025-08-12 16:58:03,389 basehttp 17979 6133559296 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 16:58:03,391 basehttp 17979 6150385664 "GET /en/inventory/htmx/stats/ HTTP/1.1" 200 6394 ERROR 2025-08-12 16:58:18,783 log 17979 6150385664 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 626, in get_queryset queryset = InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-12 16:58:18,785 basehttp 17979 6150385664 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 137397 INFO 2025-08-12 16:59:27,119 autoreload 17979 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 16:59:27,408 autoreload 18995 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 16:59:28,053 log 18995 6131412992 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 647, in get_queryset queryset = queryset.filter(quantity__lte=F('minimum_stock_level')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'quantity' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-12 16:59:28,056 basehttp 18995 6131412992 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 128683 INFO 2025-08-12 16:59:49,258 autoreload 18995 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 16:59:49,555 autoreload 19162 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 16:59:50,400 log 19162 6125236224 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 647, in get_queryset queryset = queryset.filter(quantity_available__lte=F('min_stock_level')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1535, in build_filter value = self.resolve_lookup_value(value, can_reuse, allow_joins, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1300, in resolve_lookup_value value = value.resolve_expression( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 902, in resolve_expression return query.resolve_ref(self.name, allow_joins, reuse, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2049, in resolve_ref join_info = self.setup_joins( ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1900, in setup_joins path, final_field, targets, rest = self.names_to_path( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'min_stock_level' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-12 16:59:50,402 basehttp 19162 6125236224 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 144270 INFO 2025-08-12 17:00:04,333 autoreload 19162 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 17:00:04,629 autoreload 19248 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 17:00:05,570 log 19248 6158200832 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 658, in get_queryset return queryset.order_by('item__item_name', 'location__location_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'item' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-12 17:00:05,571 basehttp 19248 6158200832 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 103193 ERROR 2025-08-12 17:00:08,149 log 19248 6158200832 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 658, in get_queryset return queryset.order_by('item__item_name', 'location__location_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'item' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-12 17:00:08,150 basehttp 19248 6158200832 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 103193 INFO 2025-08-12 17:00:24,546 autoreload 19248 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 17:00:24,831 autoreload 19413 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 17:00:27,219 log 19413 6171242496 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 664, in get_context_data ).order_by('location_name') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'location_name' into field. Choices are: access_control, aisle, bin, building, capacity_cubic_feet, child_locations, created_at, created_by, created_by_id, description, floor, humidity_controlled, humidity_max, humidity_min, id, inventory_stocks, is_active, location_code, location_id, location_manager, location_manager_id, location_type, max_weight_pounds, name, notes, parent_location, parent_location_id, purchase_orders, room, secure_location, shelf, temperature_controlled, temperature_max, temperature_min, tenant, tenant_id, updated_at, zone ERROR 2025-08-12 17:00:27,220 basehttp 19413 6171242496 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 104646 INFO 2025-08-12 17:01:01,500 autoreload 19413 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 17:01:01,826 autoreload 19649 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 17:01:03,855 log 19649 6170882048 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 664, in get_context_data ).order_by('location_name') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'location_name' into field. Choices are: access_control, aisle, bin, building, capacity_cubic_feet, child_locations, created_at, created_by, created_by_id, description, floor, humidity_controlled, humidity_max, humidity_min, id, inventory_stocks, is_active, location_code, location_id, location_manager, location_manager_id, location_type, max_weight_pounds, name, notes, parent_location, parent_location_id, purchase_orders, room, secure_location, shelf, temperature_controlled, temperature_max, temperature_min, tenant, tenant_id, updated_at, zone ERROR 2025-08-12 17:01:03,856 basehttp 19649 6170882048 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 104637 INFO 2025-08-12 17:01:21,676 autoreload 19649 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 17:01:22,007 autoreload 19809 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 17:01:22,612 log 19809 6194966528 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'stock_adjustment_create' not found. 'stock_adjustment_create' is not a valid view function or pattern name. ERROR 2025-08-12 17:01:22,613 basehttp 19809 6194966528 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 166619 ERROR 2025-08-12 17:02:28,586 log 19809 6194966528 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 199, in render len_values = len(values) ^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 366, in __len__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'item'. Choices are: inventory_item, location, supplier, purchase_order ERROR 2025-08-12 17:02:28,587 basehttp 19809 6194966528 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 215030 ERROR 2025-08-12 17:03:33,594 log 19809 6194966528 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 199, in render len_values = len(values) ^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 366, in __len__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'item'. Choices are: inventory_item, location, supplier, purchase_order ERROR 2025-08-12 17:03:33,601 basehttp 19809 6194966528 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 215110 INFO 2025-08-12 17:05:10,959 autoreload 19809 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 17:05:11,282 autoreload 21513 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 17:05:12,011 log 21513 6128267264 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 199, in render template = context.template.engine.select_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 214, in select_template raise TemplateDoesNotExist(", ".join(not_found)) django.template.exceptions.TemplateDoesNotExist: inventory/partials/stock_alerts.html The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 109, in render reraise(exc, self.backend) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 130, in reraise raise new from exc django.template.exceptions.TemplateDoesNotExist: inventory/partials/stock_alerts.html ERROR 2025-08-12 17:05:12,012 basehttp 21513 6128267264 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 233360 ERROR 2025-08-12 17:06:05,110 log 21513 6128267264 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'stock_quick_adjust' not found. 'stock_quick_adjust' is not a valid view function or pattern name. ERROR 2025-08-12 17:06:05,112 basehttp 21513 6128267264 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 229520 ERROR 2025-08-12 17:07:11,291 log 21513 6128267264 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'stock_move' not found. 'stock_move' is not a valid view function or pattern name. ERROR 2025-08-12 17:07:11,292 basehttp 21513 6128267264 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 228765 ERROR 2025-08-12 17:07:26,497 log 21513 6128267264 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'stock_bulk_adjust' not found. 'stock_bulk_adjust' is not a valid view function or pattern name. ERROR 2025-08-12 17:07:26,498 basehttp 21513 6128267264 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 228818 ERROR 2025-08-12 17:07:46,351 log 21513 6128267264 Internal Server Error: /en/inventory/stock/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'stock_bulk_move' not found. 'stock_bulk_move' is not a valid view function or pattern name. ERROR 2025-08-12 17:07:46,352 basehttp 21513 6128267264 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 500 228265 INFO 2025-08-12 17:08:12,122 basehttp 21513 6128267264 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 200 147684 INFO 2025-08-12 17:08:12,256 basehttp 21513 6128267264 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:08:12,262 basehttp 21513 6128267264 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 ERROR 2025-08-12 17:08:17,116 log 21513 6128267264 Internal Server Error: /en/inventory/stock/734/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 112, in get self.object = self.get_object() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 31, in get_object queryset = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 677, in get_queryset return InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-12 17:08:17,118 basehttp 21513 6128267264 "GET /en/inventory/stock/734/ HTTP/1.1" 500 140958 INFO 2025-08-12 17:08:43,649 autoreload 21513 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 17:08:43,928 autoreload 23083 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 17:08:44,502 log 23083 6204338176 Internal Server Error: /en/inventory/stock/734/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 112, in get self.object = self.get_object() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 53, in get_object obj = queryset.get() ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 629, in get num = len(clone) ^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 366, in __len__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'item'. Choices are: inventory_item, location, supplier, purchase_order ERROR 2025-08-12 17:08:44,504 basehttp 23083 6204338176 "GET /en/inventory/stock/734/ HTTP/1.1" 500 151089 INFO 2025-08-12 17:08:57,597 autoreload 23083 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py changed, reloading. INFO 2025-08-12 17:08:57,903 autoreload 23241 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 17:08:58,995 log 23241 6127874048 Internal Server Error: /en/inventory/stock/734/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'stock_form' not found. 'stock_form' is not a valid view function or pattern name. ERROR 2025-08-12 17:08:58,996 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 500 176528 ERROR 2025-08-12 17:09:00,254 log 23241 6127874048 Internal Server Error: /en/inventory/stock/734/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'stock_form' not found. 'stock_form' is not a valid view function or pattern name. ERROR 2025-08-12 17:09:00,255 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 500 176528 ERROR 2025-08-12 17:09:25,652 log 23241 6127874048 Internal Server Error: /en/inventory/stock/734/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'stock_confirm_delete' not found. 'stock_confirm_delete' is not a valid view function or pattern name. ERROR 2025-08-12 17:09:25,654 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 500 176124 ERROR 2025-08-12 17:09:46,023 log 23241 6127874048 Internal Server Error: /en/inventory/stock/734/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'item_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/inventory/items/(?P[0-9]+)/\\Z'] ERROR 2025-08-12 17:09:46,024 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 500 178618 INFO 2025-08-12 17:10:36,441 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33333 INFO 2025-08-12 17:10:36,515 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:11:36,522 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:12:12,582 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33333 INFO 2025-08-12 17:12:12,663 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:12:25,646 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33333 INFO 2025-08-12 17:12:25,708 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:12:35,073 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33333 INFO 2025-08-12 17:12:35,137 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:12:44,531 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33385 INFO 2025-08-12 17:12:44,593 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:13:20,699 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33393 INFO 2025-08-12 17:13:20,764 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:13:42,342 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33380 INFO 2025-08-12 17:13:42,405 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:14:09,974 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33367 INFO 2025-08-12 17:14:10,038 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:14:45,018 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33384 INFO 2025-08-12 17:14:45,082 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 ERROR 2025-08-12 17:14:51,100 log 23241 6127874048 Internal Server Error: /en/inventory/items/382/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/views.py", line 505, in get_context_data context['stock_locations'] = InventoryStock.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'item' into field. Choices are: created_at, expiration_date, id, inventory_item, inventory_item_id, location, location_id, lot_number, notes, purchase_order, purchase_order_id, quality_status, quantity_available, quantity_on_hand, quantity_reserved, received_date, serial_number, stock_id, supplier, supplier_id, total_cost, unit_cost, updated_at ERROR 2025-08-12 17:14:51,102 basehttp 23241 6127874048 "GET /en/inventory/items/382/ HTTP/1.1" 500 138784 INFO 2025-08-12 17:15:45,092 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:16:00,696 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33394 INFO 2025-08-12 17:16:00,763 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:16:19,248 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33409 INFO 2025-08-12 17:16:19,312 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:16:35,550 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33409 INFO 2025-08-12 17:16:35,613 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:17:35,628 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:18:35,619 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:18:58,324 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33412 INFO 2025-08-12 17:18:58,399 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:19:34,029 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33420 INFO 2025-08-12 17:19:34,093 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:20:31,042 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33426 INFO 2025-08-12 17:20:31,105 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:20:51,997 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33422 INFO 2025-08-12 17:20:52,062 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:21:48,233 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33455 INFO 2025-08-12 17:21:48,288 basehttp 23241 6127874048 "GET /static/css/saudiriyalsymbol.woff2 HTTP/1.1" 200 720 INFO 2025-08-12 17:21:48,296 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:22:25,072 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33498 INFO 2025-08-12 17:22:25,138 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:23:21,776 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33505 INFO 2025-08-12 17:23:21,837 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:24:21,839 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:25:17,352 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33513 INFO 2025-08-12 17:25:17,418 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:25:51,050 basehttp 23241 6127874048 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33514 INFO 2025-08-12 17:25:51,112 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:26:09,566 basehttp 23241 6127874048 "GET /en/admin/inventory/inventorystock/ HTTP/1.1" 200 160112 INFO 2025-08-12 17:26:09,585 basehttp 23241 6127874048 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 17:26:12,774 basehttp 23241 6127874048 "GET /en/admin/inventory/inventorystock/830/change/ HTTP/1.1" 200 175720 INFO 2025-08-12 17:26:12,791 basehttp 23241 6127874048 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 17:26:35,284 basehttp 23241 6127874048 "GET /en/admin/inventory/inventoryitem/ HTTP/1.1" 200 117543 INFO 2025-08-12 17:26:35,302 basehttp 23241 6127874048 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 17:26:45,369 basehttp 23241 6127874048 "GET /en/admin/inventory/inventoryitem/393/change/ HTTP/1.1" 200 209278 INFO 2025-08-12 17:26:45,389 basehttp 23241 6127874048 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 17:26:51,001 basehttp 23241 6127874048 "GET /en/admin/inventory/inventoryitem/734/change/ HTTP/1.1" 302 0 INFO 2025-08-12 17:26:51,029 basehttp 23241 6127874048 "GET /en/admin/ HTTP/1.1" 200 87659 INFO 2025-08-12 17:26:51,044 basehttp 23241 6127874048 "GET /static/admin/img/icon-alert.svg HTTP/1.1" 200 504 INFO 2025-08-12 17:26:51,410 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:26:59,599 basehttp 23241 6127874048 "GET /en/admin/inventory/inventoryitem/393/change/ HTTP/1.1" 200 209278 INFO 2025-08-12 17:27:19,757 basehttp 23241 6127874048 "GET /en/admin/inventory/inventoryitem/382/change/ HTTP/1.1" 200 209256 INFO 2025-08-12 17:27:19,783 basehttp 23241 6127874048 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 17:27:52,416 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:28:53,409 basehttp 23241 6127874048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:29:20,433 autoreload 23241 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inventory/admin.py changed, reloading. INFO 2025-08-12 17:29:20,823 autoreload 32625 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 17:29:22,902 basehttp 32625 6129266688 "GET /en/admin/inventory/inventoryitem/382/change/ HTTP/1.1" 200 210134 INFO 2025-08-12 17:29:22,920 basehttp 32625 6129266688 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 17:29:45,803 basehttp 32625 6129266688 "POST /en/admin/inventory/inventoryitem/382/change/ HTTP/1.1" 302 0 INFO 2025-08-12 17:29:45,863 basehttp 32625 6129266688 "GET /en/admin/inventory/inventoryitem/ HTTP/1.1" 200 117790 INFO 2025-08-12 17:29:45,877 basehttp 32625 6129266688 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-12 17:29:49,384 basehttp 32625 6129266688 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33508 INFO 2025-08-12 17:29:49,453 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:30:38,638 basehttp 32625 6129266688 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33507 INFO 2025-08-12 17:30:38,744 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:31:38,712 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:32:38,718 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:33:38,716 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:33:46,635 basehttp 32625 6129266688 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33506 INFO 2025-08-12 17:33:46,697 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:34:46,706 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:35:46,710 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:36:46,714 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:37:46,709 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:38:46,724 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:39:46,727 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:40:46,731 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:41:46,735 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:42:46,742 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:43:46,743 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:44:47,413 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:45:17,691 basehttp 32625 6129266688 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 200 147684 INFO 2025-08-12 17:45:17,785 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:45:17,790 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:46:17,803 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:46:17,814 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:46:17,865 basehttp 32625 6129266688 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 200 147684 INFO 2025-08-12 17:46:17,972 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:46:17,979 basehttp 32625 6146093056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:47:04,816 basehttp 32625 6146093056 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 200 147749 INFO 2025-08-12 17:47:04,827 basehttp 32625 6146093056 "GET /static/plugins/dropzone/src/options.js HTTP/1.1" 200 23721 INFO 2025-08-12 17:47:04,942 basehttp 32625 6146093056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:47:04,947 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:47:07,101 basehttp 32625 6129266688 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33506 INFO 2025-08-12 17:47:07,158 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:48:04,953 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:48:04,965 basehttp 32625 6146093056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:48:05,018 basehttp 32625 6146093056 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 200 147749 INFO 2025-08-12 17:48:05,121 basehttp 32625 6146093056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:48:05,127 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:49:05,138 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:49:05,150 basehttp 32625 6146093056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:49:05,204 basehttp 32625 6146093056 "GET /en/inventory/stock/?stock_status=low HTTP/1.1" 200 147749 INFO 2025-08-12 17:49:05,316 basehttp 32625 6146093056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:49:05,321 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:49:57,230 basehttp 32625 6129266688 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 17:49:57,251 basehttp 32625 6146093056 "GET /en/ HTTP/1.1" 200 46446 INFO 2025-08-12 17:49:57,344 basehttp 32625 6146093056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:49:57,356 basehttp 32625 13170143232 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 17:49:57,357 basehttp 32625 6162919424 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 17:49:57,359 basehttp 32625 6129266688 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 17:50:12,680 basehttp 32625 6129266688 "GET /en/inventory/items/ HTTP/1.1" 200 42224 INFO 2025-08-12 17:50:12,765 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:50:12,787 basehttp 32625 6129266688 "GET /en/inventory/items/ HTTP/1.1" 200 42224 INFO 2025-08-12 17:50:12,789 basehttp 32625 6162919424 "GET /en/inventory/htmx/stats/ HTTP/1.1" 200 6394 INFO 2025-08-12 17:50:16,516 basehttp 32625 6162919424 "GET /en/inventory/ HTTP/1.1" 200 46179 INFO 2025-08-12 17:50:16,560 basehttp 32625 6162919424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:50:16,562 basehttp 32625 6129266688 "GET /en/inventory/htmx/stats/ HTTP/1.1" 200 6394 INFO 2025-08-12 17:50:22,584 basehttp 32625 6129266688 "GET /en/inventory/items/ HTTP/1.1" 200 42224 INFO 2025-08-12 17:50:22,699 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:50:22,712 basehttp 32625 13170143232 "GET /en/inventory/htmx/stats/ HTTP/1.1" 200 6394 INFO 2025-08-12 17:50:22,712 basehttp 32625 6162919424 "GET /en/inventory/items/ HTTP/1.1" 200 42224 INFO 2025-08-12 17:50:25,272 basehttp 32625 6162919424 "GET /en/inventory/stock/ HTTP/1.1" 200 147749 INFO 2025-08-12 17:50:25,397 basehttp 32625 6162919424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:50:25,402 basehttp 32625 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:50:29,162 basehttp 32625 13170143232 "GET /en/inventory/stock/734/ HTTP/1.1" 200 33506 INFO 2025-08-12 17:50:29,223 basehttp 32625 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:50:39,841 basehttp 32625 13170143232 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 17:50:39,855 basehttp 32625 6162919424 "GET /en/ HTTP/1.1" 200 46446 INFO 2025-08-12 17:50:39,946 basehttp 32625 6162919424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:50:39,950 basehttp 32625 6146093056 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 17:50:39,952 basehttp 32625 13170143232 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 17:50:39,953 basehttp 32625 6129266688 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 17:51:09,927 basehttp 32625 6129266688 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 17:51:18,490 basehttp 32625 6129266688 "GET /en/appointments HTTP/1.1" 301 0 INFO 2025-08-12 17:51:18,514 basehttp 32625 6129266688 "GET /en/appointments/ HTTP/1.1" 200 34690 INFO 2025-08-12 17:51:18,569 basehttp 32625 6129266688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 17:51:18,573 basehttp 32625 6146093056 "GET /en/appointments/stats/ HTTP/1.1" 200 3132 INFO 2025-08-12 17:51:35,397 basehttp 32625 6146093056 "GET /en/integration HTTP/1.1" 301 0 ERROR 2025-08-12 17:51:35,424 log 32625 6129266688 Internal Server Error: /en/integration/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/integration/views.py", line 48, in get_context_data 'total_endpoints': IntegrationEndpoint.objects.filter(tenant=self.request.user.tenant).count(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: created_at, created_by, created_by_id, data_mappings, description, direction, endpoint_id, endpoint_type, execution_count, executions, external_system, external_system_id, failure_count, headers, is_active, last_executed_at, logs, method, name, parameters, path, request_format, request_mapping, request_schema, response_format, response_mapping, response_schema, success_count, updated_at ERROR 2025-08-12 17:51:35,426 basehttp 32625 6129266688 "GET /en/integration/ HTTP/1.1" 500 131926 INFO 2025-08-12 17:58:18,304 autoreload 32625 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/integration/views.py changed, reloading. INFO 2025-08-12 17:58:18,702 autoreload 45370 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 17:58:21,743 log 45370 6196523008 Internal Server Error: /en/integration/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/integration/views.py", line 48, in get_context_data 'total_endpoints': IntegrationEndpoint.objects.filter(tenant=self.request.user.tenant).count(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: created_at, created_by, created_by_id, data_mappings, description, direction, endpoint_id, endpoint_type, execution_count, executions, external_system, external_system_id, failure_count, headers, is_active, last_executed_at, logs, method, name, parameters, path, request_format, request_mapping, request_schema, response_format, response_mapping, response_schema, success_count, updated_at ERROR 2025-08-12 17:58:21,746 basehttp 45370 6196523008 "GET /en/integration/ HTTP/1.1" 500 132063 INFO 2025-08-12 17:59:29,194 autoreload 45370 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/integration/views.py changed, reloading. INFO 2025-08-12 17:59:29,490 autoreload 45843 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 17:59:32,137 log 45843 6125350912 Internal Server Error: /en/integration/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/integration/views.py", line 49, in get_context_data 'total_mappings': DataMapping.objects.filter(tenant=self.request.user.tenant).count(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: created_at, created_by, created_by_id, default_value, description, endpoint, endpoint_id, failure_count, is_active, is_required, last_used_at, mapping_id, mapping_type, name, source_field, source_format, source_validation, success_count, target_field, target_format, target_validation, transformation_config, transformation_type, updated_at, usage_count, validation_rules, webhooks ERROR 2025-08-12 17:59:32,139 basehttp 45843 6125350912 "GET /en/integration/ HTTP/1.1" 500 132054 INFO 2025-08-12 18:01:31,951 autoreload 45843 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/integration/views.py changed, reloading. INFO 2025-08-12 18:01:32,269 autoreload 46778 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 18:01:32,829 log 46778 6197768192 Internal Server Error: /en/integration/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/integration/views.py", line 50, in get_context_data 'total_webhooks': WebhookEndpoint.objects.filter(tenant=self.request.user.tenant).count(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: allowed_methods, authentication_config, authentication_type, created_at, created_by, created_by_id, data_mapping, data_mapping_id, description, executions, external_system, external_system_id, failure_count, is_active, last_request_at, name, processing_config, rate_limit_per_hour, rate_limit_per_minute, request_count, success_count, updated_at, url_path, webhook_id ERROR 2025-08-12 18:01:32,830 basehttp 46778 6197768192 "GET /en/integration/ HTTP/1.1" 500 132007 INFO 2025-08-12 18:01:58,334 autoreload 46778 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/integration/views.py changed, reloading. INFO 2025-08-12 18:01:58,612 autoreload 46937 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 18:02:01,905 log 46937 6200160256 Internal Server Error: /en/integration/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/integration/views.py", line 55, in get_context_data 'recent_executions': IntegrationExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'integration' into field. Choices are: completed_at, correlation_id, endpoint, endpoint_id, error_details, error_message, execution_id, execution_type, external_id, logs, metadata, network_time_ms, processing_time_ms, request_data, request_size_bytes, response_data, response_size_bytes, retry_count, started_at, status, triggered_by, triggered_by_id ERROR 2025-08-12 18:02:01,906 basehttp 46937 6200160256 "GET /en/integration/ HTTP/1.1" 500 131943 INFO 2025-08-12 18:03:03,064 autoreload 46937 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/integration/views.py changed, reloading. INFO 2025-08-12 18:03:03,332 autoreload 47480 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 18:03:03,720 log 47480 6191280128 Internal Server Error: /en/integration/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/integration/views.py", line 55, in get_context_data 'recent_executions': IntegrationExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1563, in build_filter self.check_related_objects(join_info.final_field, value, join_info.opts) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1372, in check_related_objects self.check_query_object_type(value, opts, field) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1349, in check_query_object_type raise ValueError( ValueError: Cannot query "King Fahd Medical City - Jubail": Must be "IntegrationEndpoint" instance. ERROR 2025-08-12 18:03:03,722 basehttp 47480 6191280128 "GET /en/integration/ HTTP/1.1" 500 131012 INFO 2025-08-12 18:03:42,595 autoreload 47726 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 18:03:45,138 log 47726 6129643520 Internal Server Error: /en/integration/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/integration/views.py", line 55, in get_context_data 'recent_executions': IntegrationExecution.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1563, in build_filter self.check_related_objects(join_info.final_field, value, join_info.opts) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1372, in check_related_objects self.check_query_object_type(value, opts, field) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1349, in check_query_object_type raise ValueError( ValueError: Cannot query "King Fahd Medical City - Jubail": Must be "IntegrationEndpoint" instance. ERROR 2025-08-12 18:03:45,140 basehttp 47726 6129643520 "GET /en/integration/ HTTP/1.1" 500 131012 INFO 2025-08-12 18:03:48,989 basehttp 47726 6129643520 "GET /en/appointments/ HTTP/1.1" 200 34690 INFO 2025-08-12 18:03:49,064 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:03:49,068 basehttp 47726 6146469888 "GET /en/appointments/stats/ HTTP/1.1" 200 3132 WARNING 2025-08-12 18:03:59,964 log 47726 6146469888 Not Found: /en/appointments/detail/1063/ WARNING 2025-08-12 18:03:59,964 basehttp 47726 6146469888 "GET /en/appointments/detail/1063/ HTTP/1.1" 404 27581 WARNING 2025-08-12 18:04:04,983 log 47726 6146469888 Forbidden (CSRF token missing.): /en/appointments/check-in/1046/ WARNING 2025-08-12 18:04:04,984 basehttp 47726 6146469888 "POST /en/appointments/check-in/1046/ HTTP/1.1" 403 2491 INFO 2025-08-12 18:04:10,753 basehttp 47726 6146469888 "GET /en/appointments/list/ HTTP/1.1" 200 129045 INFO 2025-08-12 18:04:10,813 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 WARNING 2025-08-12 18:04:30,601 log 47726 6146469888 Forbidden (CSRF token missing.): /en/appointments/check-in/2158/ WARNING 2025-08-12 18:04:30,602 basehttp 47726 6146469888 "POST /en/appointments/check-in/2158/ HTTP/1.1" 403 2491 INFO 2025-08-12 18:04:35,062 basehttp 47726 6146469888 "GET /en/appointments/detail/2158/ HTTP/1.1" 200 22458 INFO 2025-08-12 18:04:35,119 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 WARNING 2025-08-12 18:04:37,587 log 47726 6146469888 Not Found: /en/patients/43/details/ WARNING 2025-08-12 18:04:37,587 basehttp 47726 6146469888 "GET /en/patients/43/details/ HTTP/1.1" 404 26559 INFO 2025-08-12 18:05:35,131 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:06:35,134 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:07:35,140 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:08:35,136 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:09:35,148 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:10:35,143 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:11:35,158 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:12:35,163 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:13:35,169 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:14:35,169 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 WARNING 2025-08-12 18:14:43,838 log 47726 6146469888 Not Found: /en/patients/43/details/ WARNING 2025-08-12 18:14:43,838 basehttp 47726 6146469888 "GET /en/patients/43/details/ HTTP/1.1" 404 26559 INFO 2025-08-12 18:14:53,239 basehttp 47726 6146469888 "GET /en/patients/ HTTP/1.1" 200 66129 INFO 2025-08-12 18:14:53,309 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:14:53,313 basehttp 47726 6129643520 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-12 18:15:00,074 basehttp 47726 6129643520 "GET /en/patients/115/details/ HTTP/1.1" 200 36920 INFO 2025-08-12 18:15:00,154 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 ERROR 2025-08-12 18:15:00,168 log 47726 13438578688 Internal Server Error: /en/patients/htmx/appointments/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' ERROR 2025-08-12 18:15:00,172 basehttp 47726 13438578688 "GET /en/patients/htmx/appointments/115/ HTTP/1.1" 500 63085 ERROR 2025-08-12 18:15:00,177 log 47726 6146469888 Internal Server Error: /en/patients/htmx/emergency-contacts/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-12 18:15:00,179 basehttp 47726 6146469888 "GET /en/patients/htmx/emergency-contacts/115/ HTTP/1.1" 500 89696 ERROR 2025-08-12 18:15:00,189 log 47726 6163296256 Internal Server Error: /en/patients/insurance-info/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-12 18:15:00,190 basehttp 47726 6163296256 "GET /en/patients/insurance-info/115/ HTTP/1.1" 500 105189 INFO 2025-08-12 18:16:00,148 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:17:00,151 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:18:00,150 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:19:00,158 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:20:00,159 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:21:00,140 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:22:00,144 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:23:00,144 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 WARNING 2025-08-12 18:23:03,503 log 47726 6129643520 Not Found: /en/qality WARNING 2025-08-12 18:23:03,503 basehttp 47726 6129643520 "GET /en/qality HTTP/1.1" 404 29619 INFO 2025-08-12 18:23:12,457 basehttp 47726 6129643520 "GET /en/quality HTTP/1.1" 301 0 ERROR 2025-08-12 18:23:12,483 log 47726 6129643520 Internal Server Error: /en/quality/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/quality/views.py", line 55, in get_context_data 'indicators_meeting_target': QualityIndicator.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_value' into field. Choices are: calculation_method, category, created_at, data_source, description, frequency, id, is_active, measurement_unit, measurements, name, regulatory_requirement, responsible_department, responsible_department_id, responsible_user, responsible_user_id, target_value, tenant, tenant_id, threshold_critical, threshold_warning, type, updated_at ERROR 2025-08-12 18:23:12,485 basehttp 47726 6129643520 "GET /en/quality/ HTTP/1.1" 500 132259 ERROR 2025-08-12 18:46:02,081 log 47726 6129643520 Internal Server Error: /en/quality/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/quality/views.py", line 55, in get_context_data 'indicators_meeting_target': QualityIndicator.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_value' into field. Choices are: calculation_method, category, created_at, data_source, description, frequency, id, is_active, measurement_unit, measurements, name, regulatory_requirement, responsible_department, responsible_department_id, responsible_user, responsible_user_id, target_value, tenant, tenant_id, threshold_critical, threshold_warning, type, updated_at ERROR 2025-08-12 18:46:02,082 basehttp 47726 6129643520 "GET /en/quality/ HTTP/1.1" 500 132396 INFO 2025-08-12 18:48:19,307 basehttp 47726 6129643520 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 18:48:19,320 basehttp 47726 6129643520 "GET /en/ HTTP/1.1" 200 46446 INFO 2025-08-12 18:48:19,408 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:48:19,412 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:48:19,412 basehttp 47726 13438578688 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 18:48:19,414 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 18:48:24,295 basehttp 47726 6163296256 "GET /en/ HTTP/1.1" 200 46446 INFO 2025-08-12 18:48:24,382 basehttp 47726 6146469888 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 18:48:24,384 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:48:24,385 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 18:48:24,387 basehttp 47726 13438578688 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:48:26,749 basehttp 47726 13438578688 "GET /en/audit-log/ HTTP/1.1" 200 215004 INFO 2025-08-12 18:48:26,809 basehttp 47726 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:48:54,370 basehttp 47726 13438578688 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:49:24,393 basehttp 47726 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:49:24,394 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 18:49:24,395 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:49:54,378 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:50:24,397 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:50:24,399 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 18:50:24,400 basehttp 47726 13438578688 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:50:54,224 basehttp 47726 13438578688 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:51:24,238 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:51:24,239 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 18:51:24,241 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:51:54,230 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:52:24,240 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 18:52:24,240 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:52:24,243 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:52:54,227 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:53:24,243 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 18:53:24,243 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:53:24,245 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:53:54,237 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:54:24,240 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 18:54:24,240 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:54:24,243 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:54:54,240 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:55:24,254 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 18:55:24,254 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:55:24,257 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:55:54,239 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:56:24,240 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:56:24,241 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 18:56:24,245 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:56:54,247 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:57:24,241 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:57:24,241 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 18:57:24,245 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:57:54,241 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:58:24,240 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:58:24,243 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 18:58:24,246 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:58:54,248 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:59:24,245 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 18:59:24,246 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 18:59:24,250 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 18:59:54,257 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:00:24,248 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:00:24,249 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:00:24,255 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:00:54,256 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:01:24,254 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:01:24,254 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:01:24,258 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:01:54,260 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:02:24,245 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:02:24,245 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:02:24,257 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:02:54,267 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:03:24,254 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:03:24,255 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:03:24,266 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:03:55,242 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:04:25,258 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:04:25,258 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:04:25,261 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:05:11,246 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:06:11,259 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:06:11,260 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:06:11,262 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:07:11,243 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:07:11,248 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:07:11,248 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:08:11,257 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:08:11,258 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:08:11,259 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:09:11,236 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:10:11,253 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:10:11,254 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:10:11,257 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:11:11,256 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:11:11,256 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:11:11,258 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:12:11,228 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:13:11,252 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:13:11,252 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:13:11,254 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:14:11,235 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:14:11,238 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:14:11,239 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:15:11,223 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:16:11,251 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:16:11,253 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:16:11,255 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:17:11,236 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:17:11,237 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:18:11,237 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:18:11,238 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:19:11,231 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:19:11,232 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:20:11,238 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:20:11,238 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:20:11,240 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:21:11,225 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:21:11,230 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:21:11,232 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:22:11,250 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:22:11,250 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:22:11,253 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:23:11,222 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:24:11,240 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:24:11,240 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:24:11,241 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:25:11,224 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:25:11,226 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:25:11,227 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:26:11,212 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:27:11,240 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:27:11,240 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:27:11,242 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:28:11,223 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:28:11,226 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:29:11,219 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:29:11,222 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:30:11,223 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:30:11,224 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:31:11,221 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:31:11,224 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:32:11,228 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:32:11,229 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:32:11,231 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:33:11,213 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:34:11,231 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:34:11,231 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:34:11,233 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:35:11,207 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:36:11,238 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:36:11,238 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:36:11,240 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:37:11,220 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:38:11,240 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:38:11,241 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:38:11,243 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:39:11,215 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:39:11,215 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:40:11,227 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:40:11,228 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:41:07,162 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:41:07,164 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:41:11,215 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:41:37,211 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:42:07,221 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:42:07,222 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:42:12,209 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:43:11,221 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:43:11,222 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:44:11,222 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:44:11,224 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:45:11,218 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:45:11,220 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:46:11,210 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:46:11,212 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:47:11,226 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:47:11,229 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:47:11,229 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:47:28,679 basehttp 47726 6129643520 "GET /en/ HTTP/1.1" 200 46446 INFO 2025-08-12 19:47:28,761 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:47:28,763 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:47:28,764 basehttp 47726 13438578688 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 19:47:28,766 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:47:58,755 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:48:28,763 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:48:28,764 basehttp 47726 13438578688 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:48:28,766 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:48:58,759 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:49:24,255 basehttp 47726 6146469888 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 19:49:24,268 basehttp 47726 13438578688 "GET /en/ HTTP/1.1" 200 46446 INFO 2025-08-12 19:49:24,355 basehttp 47726 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:49:24,359 basehttp 47726 6129643520 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:49:24,360 basehttp 47726 6146469888 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 19:49:24,360 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:49:54,337 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:50:24,360 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:50:24,360 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:50:24,363 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:50:54,338 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:51:24,476 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:51:24,481 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:51:24,484 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:51:54,472 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:52:24,486 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:52:24,487 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:52:24,489 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:52:54,478 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:53:24,479 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:53:24,481 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:53:24,483 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:53:54,484 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:54:24,491 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:54:24,492 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:54:24,494 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:54:54,489 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:55:24,491 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:55:24,493 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:55:24,495 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:55:54,490 basehttp 47726 6163296256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:56:24,497 basehttp 47726 6146469888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:56:24,497 basehttp 47726 6163296256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:56:24,500 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:56:54,503 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:57:24,506 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:57:24,507 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:57:24,510 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:57:54,502 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:58:24,504 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:58:24,504 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:58:24,508 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:58:54,517 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:59:24,506 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 19:59:24,506 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 19:59:24,513 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 19:59:54,514 basehttp 47726 6146469888 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 20:00:24,511 basehttp 47726 6146469888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 20:00:24,511 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 20:00:24,520 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 20:00:54,530 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 20:01:24,496 basehttp 47726 6129643520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 20:01:24,496 basehttp 47726 6163296256 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 20:01:24,518 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 20:01:54,544 basehttp 47726 6129643520 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 22:50:45,037 autoreload 27412 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 22:51:27,052 basehttp 27412 6199848960 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 22:51:27,110 basehttp 27412 6199848960 "GET /en/ HTTP/1.1" 302 0 INFO 2025-08-12 22:51:27,115 basehttp 27412 6199848960 "GET /accounts/login/?next=/en/ HTTP/1.1" 302 0 ERROR 2025-08-12 22:51:27,129 log 27412 6199848960 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 22:51:27,130 basehttp 27412 6199848960 "GET /en/accounts/login/?next=/en/ HTTP/1.1" 500 161428 INFO 2025-08-12 22:52:11,621 autoreload 27412 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/hospital_management/settings.py changed, reloading. INFO 2025-08-12 22:52:11,892 autoreload 28035 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 22:52:19,329 log 28035 6133051392 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 22:52:19,331 basehttp 28035 6133051392 "GET /en/accounts/login/?next=/en/ HTTP/1.1" 500 160419 ERROR 2025-08-12 22:52:20,380 log 28035 6133051392 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 22:52:20,381 basehttp 28035 6133051392 "GET /en/accounts/login/?next=/en/ HTTP/1.1" 500 160419 INFO 2025-08-12 22:52:26,387 basehttp 28035 6133051392 "GET /en/accounts/login/ HTTP/1.1" 200 21295 INFO 2025-08-12 22:52:26,406 basehttp 28035 6217183232 "GET /static/img/user/user-13.jpg HTTP/1.1" 200 4410 INFO 2025-08-12 22:52:26,406 basehttp 28035 6166704128 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-12 22:52:26,410 basehttp 28035 6200356864 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-12 22:52:26,414 basehttp 28035 6133051392 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-12 22:52:26,416 basehttp 28035 6217183232 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-12 22:52:26,418 basehttp 28035 6183530496 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-12 22:52:26,420 basehttp 28035 6149877760 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-12 22:52:26,422 basehttp 28035 6166704128 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-12 22:52:26,733 basehttp 28035 6133051392 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-12 22:52:26,734 basehttp 28035 6166704128 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-12 22:52:26,734 basehttp 28035 6149877760 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-12 22:52:26,735 basehttp 28035 6183530496 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-12 22:52:26,735 basehttp 28035 6217183232 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-12 22:52:26,737 basehttp 28035 6183530496 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-12 22:52:26,737 basehttp 28035 6217183232 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-12 22:52:26,738 basehttp 28035 6166704128 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-12 22:52:26,738 basehttp 28035 6133051392 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-12 22:52:26,739 basehttp 28035 6200356864 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-12 22:52:26,739 basehttp 28035 6217183232 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-12 22:52:26,740 basehttp 28035 6149877760 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-12 22:52:26,745 basehttp 28035 6183530496 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-12 22:52:26,746 basehttp 28035 6166704128 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-12 22:52:26,747 basehttp 28035 6200356864 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-12 22:52:26,748 basehttp 28035 6133051392 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-12 22:52:26,748 basehttp 28035 6133051392 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-12 22:52:26,749 basehttp 28035 6200356864 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-12 22:52:26,750 basehttp 28035 6133051392 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-12 22:52:26,751 basehttp 28035 6217183232 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 22:52:26,751 basehttp 28035 6183530496 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-12 22:52:26,751 basehttp 28035 6166704128 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-12 22:52:26,752 basehttp 28035 6200356864 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-12 22:52:26,754 basehttp 28035 6149877760 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-12 22:52:26,764 basehttp 28035 6149877760 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 22:52:26,777 log 28035 6200356864 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 22:52:26,778 basehttp 28035 6200356864 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161387 INFO 2025-08-12 22:52:28,876 basehttp 28035 6200356864 "POST /en/accounts/login/ HTTP/1.1" 200 21295 INFO 2025-08-12 22:52:28,911 basehttp 28035 6200356864 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 22:52:28,925 basehttp 28035 6200356864 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 22:52:28,939 log 28035 6166704128 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 22:52:28,940 basehttp 28035 6166704128 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161387 WARNING 2025-08-12 22:52:36,923 log 28035 6166704128 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 22:52:36,923 basehttp 28035 6166704128 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 22:52:36,963 basehttp 28035 6166704128 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-12 22:53:08,267 autoreload 28035 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/hospital_management/settings.py changed, reloading. INFO 2025-08-12 22:53:08,530 autoreload 28510 8601149632 Watching for file changes with StatReloader ERROR 2025-08-12 22:53:28,933 log 28510 6194425856 Invalid HTTP_HOST header: '127.0.0.1:8000'. You may need to add '127.0.0.1' to ALLOWED_HOSTS. Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/deprecation.py", line 119, in __call__ response = self.process_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/middleware/common.py", line 48, in process_request host = request.get_host() ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/http/request.py", line 202, in get_host raise DisallowedHost(msg) django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: '127.0.0.1:8000'. You may need to add '127.0.0.1' to ALLOWED_HOSTS. WARNING 2025-08-12 22:53:28,934 basehttp 28510 6194425856 "GET /en/htmx/system-notifications/ HTTP/1.1" 400 71452 INFO 2025-08-12 22:53:31,549 autoreload 28510 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/hospital_management/settings.py changed, reloading. INFO 2025-08-12 22:53:31,817 autoreload 28677 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 22:53:34,857 basehttp 28677 6125563904 "POST /en/accounts/login/ HTTP/1.1" 200 21295 WARNING 2025-08-12 22:53:34,876 log 28677 6125563904 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 22:53:34,876 basehttp 28677 6125563904 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 22:53:34,950 basehttp 28677 6125563904 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 22:53:34,967 basehttp 28677 6125563904 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 22:53:34,983 log 28677 6125563904 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 22:53:34,986 basehttp 28677 6125563904 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161418 INFO 2025-08-12 22:53:43,915 basehttp 28677 6125563904 "POST /en/accounts/login/ HTTP/1.1" 200 21295 WARNING 2025-08-12 22:53:43,931 log 28677 6125563904 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 22:53:43,931 basehttp 28677 6125563904 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 22:53:44,016 basehttp 28677 6125563904 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 22:53:44,032 basehttp 28677 6125563904 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 22:53:44,048 log 28677 6125563904 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 22:53:44,050 basehttp 28677 6125563904 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161418 INFO 2025-08-12 22:54:42,624 autoreload 28677 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/hospital_management/urls.py changed, reloading. INFO 2025-08-12 22:54:42,921 autoreload 29233 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 22:54:44,090 basehttp 29233 6168178688 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 22:54:44,097 basehttp 29233 6168178688 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 22:54:44,111 log 29233 6168178688 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 22:54:44,113 basehttp 29233 6168178688 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161418 INFO 2025-08-12 22:54:45,315 basehttp 29233 6168178688 "POST /en/accounts/login/ HTTP/1.1" 200 21295 WARNING 2025-08-12 22:54:45,332 log 29233 6168178688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 22:54:45,332 basehttp 29233 6168178688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 22:54:45,416 basehttp 29233 6168178688 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 22:54:45,431 basehttp 29233 6168178688 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 22:54:45,445 log 29233 6168178688 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 22:54:45,447 basehttp 29233 6168178688 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161418 INFO 2025-08-12 22:55:45,425 basehttp 29233 6168178688 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 22:55:45,436 basehttp 29233 6168178688 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 22:55:45,457 log 29233 6168178688 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 22:55:45,458 basehttp 29233 6168178688 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161418 INFO 2025-08-12 22:56:07,420 autoreload 29233 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/hospital_management/settings.py changed, reloading. INFO 2025-08-12 22:56:07,711 autoreload 29870 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 22:56:11,106 basehttp 29870 6126809088 "POST /en/accounts/login/ HTTP/1.1" 200 21295 WARNING 2025-08-12 22:56:11,124 log 29870 6126809088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 22:56:11,124 basehttp 29870 6126809088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 22:56:11,203 basehttp 29870 6126809088 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 22:56:11,220 basehttp 29870 6126809088 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 22:56:11,235 log 29870 6126809088 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 22:56:11,237 basehttp 29870 6126809088 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161430 INFO 2025-08-12 22:56:12,707 basehttp 29870 6126809088 "POST /en/accounts/login/ HTTP/1.1" 200 21295 WARNING 2025-08-12 22:56:12,722 log 29870 6126809088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 22:56:12,722 basehttp 29870 6126809088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 22:56:12,802 basehttp 29870 6126809088 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 22:56:12,818 basehttp 29870 6126809088 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 22:56:12,830 log 29870 6126809088 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 22:56:12,831 basehttp 29870 6126809088 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161430 INFO 2025-08-12 22:57:12,807 basehttp 29870 6126809088 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 22:57:12,813 basehttp 29870 6126809088 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 22:57:12,831 log 29870 6126809088 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 22:57:12,833 basehttp 29870 6126809088 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161430 INFO 2025-08-12 22:57:26,087 autoreload 29870 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/hospital_management/settings.py changed, reloading. INFO 2025-08-12 22:57:26,416 autoreload 30412 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 23:05:47,466 autoreload 34152 8601149632 Watching for file changes with StatReloader INFO 2025-08-12 23:06:12,898 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 23:06:12,906 basehttp 34152 6134296576 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 23:06:12,921 log 34152 6134296576 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 23:06:12,923 basehttp 34152 6134296576 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161430 INFO 2025-08-12 23:07:12,858 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 302 0 INFO 2025-08-12 23:07:12,868 basehttp 34152 6134296576 "GET /accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 302 0 ERROR 2025-08-12 23:07:12,889 log 34152 6134296576 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-12 23:07:12,890 basehttp 34152 6134296576 "GET /en/accounts/login/?next=/en/htmx/system-notifications/ HTTP/1.1" 500 161430 INFO 2025-08-12 23:07:25,050 basehttp 34152 6134296576 "GET /en/admin HTTP/1.1" 301 0 INFO 2025-08-12 23:07:25,090 basehttp 34152 6134296576 "GET /en/admin/ HTTP/1.1" 302 0 INFO 2025-08-12 23:07:25,104 basehttp 34152 6134296576 "GET /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4212 INFO 2025-08-12 23:07:25,117 basehttp 34152 6151122944 "GET /static/admin/css/dark_mode.css HTTP/1.1" 200 2808 INFO 2025-08-12 23:07:25,118 basehttp 34152 6167949312 "GET /static/admin/css/nav_sidebar.css HTTP/1.1" 200 2810 INFO 2025-08-12 23:07:25,118 basehttp 34152 6358691840 "GET /static/admin/js/theme.js HTTP/1.1" 200 1653 INFO 2025-08-12 23:07:25,119 basehttp 34152 6325039104 "GET /static/admin/css/login.css HTTP/1.1" 200 951 INFO 2025-08-12 23:07:25,119 basehttp 34152 6134296576 "GET /static/admin/css/base.css HTTP/1.1" 200 22120 INFO 2025-08-12 23:07:25,119 basehttp 34152 6341865472 "GET /static/admin/css/responsive.css HTTP/1.1" 200 16565 INFO 2025-08-12 23:07:25,121 basehttp 34152 6134296576 "GET /static/admin/js/nav_sidebar.js HTTP/1.1" 200 3063 WARNING 2025-08-12 23:07:25,143 log 34152 6134296576 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 23:07:25,143 basehttp 34152 6134296576 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 23:07:26,695 basehttp 34152 6134296576 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 302 0 INFO 2025-08-12 23:07:26,718 basehttp 34152 6134296576 "GET /en/admin/ HTTP/1.1" 200 87876 INFO 2025-08-12 23:07:26,732 basehttp 34152 6341865472 "GET /static/admin/css/dashboard.css HTTP/1.1" 200 441 WARNING 2025-08-12 23:07:26,736 log 34152 6134296576 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-12 23:07:26,737 basehttp 34152 6341865472 "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 200 331 WARNING 2025-08-12 23:07:26,737 basehttp 34152 6134296576 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 23:07:26,737 basehttp 34152 6325039104 "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 200 380 INFO 2025-08-12 23:07:28,647 basehttp 34152 6134296576 "GET / HTTP/1.1" 302 0 INFO 2025-08-12 23:07:28,675 basehttp 34152 6325039104 "GET /en/ HTTP/1.1" 200 46446 WARNING 2025-08-12 23:07:28,689 log 34152 6325039104 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 23:07:28,689 basehttp 34152 6325039104 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 23:07:28,806 basehttp 34152 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 23:07:28,820 basehttp 34152 6167949312 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 23:07:28,822 basehttp 34152 6358691840 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 23:07:28,825 basehttp 34152 6341865472 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 23:07:58,793 basehttp 34152 6134296576 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 23:08:28,787 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 23:08:28,790 basehttp 34152 6151122944 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 23:08:28,791 basehttp 34152 6167949312 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 23:08:43,553 basehttp 34152 6167949312 "GET /en/ HTTP/1.1" 200 46453 WARNING 2025-08-12 23:08:43,568 log 34152 6167949312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 23:08:43,568 basehttp 34152 6167949312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 23:08:43,673 basehttp 34152 13438578688 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 23:08:43,684 basehttp 34152 6167949312 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 23:08:43,685 basehttp 34152 6134296576 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 23:08:43,688 basehttp 34152 6151122944 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 ERROR 2025-08-12 23:08:45,875 log 34152 6151122944 Internal Server Error: /en/accounts/profile/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'upload_avatar' not found. 'upload_avatar' is not a valid view function or pattern name. ERROR 2025-08-12 23:08:45,877 basehttp 34152 6151122944 "GET /en/accounts/profile/ HTTP/1.1" 500 167442 WARNING 2025-08-12 23:08:45,891 log 34152 6151122944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 23:08:45,891 basehttp 34152 6151122944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-12 23:08:51,431 log 34152 6151122944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 23:08:51,431 basehttp 34152 6151122944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-12 23:08:51,439 log 34152 6151122944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 23:08:51,439 basehttp 34152 6151122944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 23:09:13,669 basehttp 34152 6151122944 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 ERROR 2025-08-12 23:09:39,729 log 34152 6151122944 Internal Server Error: /en/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'user_profile_update' with arguments '(1,)' not found. 1 pattern(s) tried: ['en/accounts/htmx/profile\\-update/\\Z'] ERROR 2025-08-12 23:09:39,734 basehttp 34152 6151122944 "GET /en/ HTTP/1.1" 500 160681 WARNING 2025-08-12 23:09:39,749 log 34152 6151122944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 23:09:39,749 basehttp 34152 6151122944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 23:10:29,450 basehttp 34152 6151122944 "GET /en/ HTTP/1.1" 200 46433 WARNING 2025-08-12 23:10:29,467 log 34152 6151122944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 23:10:29,467 basehttp 34152 6151122944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 23:10:29,573 basehttp 34152 6151122944 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 23:10:29,577 basehttp 34152 13438578688 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 23:10:29,578 basehttp 34152 6167949312 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 23:10:29,580 basehttp 34152 6134296576 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 23:10:53,995 basehttp 34152 6134296576 "GET /en/ HTTP/1.1" 200 46432 INFO 2025-08-12 23:10:54,003 basehttp 34152 6134296576 "GET /static/img/user/user-4.jpg HTTP/1.1" 200 5916 WARNING 2025-08-12 23:10:54,010 log 34152 6167949312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 23:10:54,010 basehttp 34152 6167949312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 23:10:54,133 basehttp 34152 13438578688 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 23:10:54,134 basehttp 34152 6134296576 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 23:10:54,134 basehttp 34152 6167949312 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4394 INFO 2025-08-12 23:10:54,135 basehttp 34152 6151122944 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 23:11:24,099 basehttp 34152 6151122944 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 23:11:33,368 basehttp 34152 6151122944 "GET /en/ HTTP/1.1" 200 46432 WARNING 2025-08-12 23:11:33,386 log 34152 6151122944 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 23:11:33,386 basehttp 34152 6151122944 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 23:11:33,503 basehttp 34152 6167949312 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-12 23:11:33,503 basehttp 34152 6151122944 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-12 23:11:33,503 basehttp 34152 13438578688 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-12 23:11:33,506 basehttp 34152 6134296576 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-12 23:11:45,108 basehttp 34152 6134296576 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 46646 WARNING 2025-08-12 23:11:45,123 log 34152 6134296576 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-12 23:11:45,124 basehttp 34152 6134296576 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-12 23:11:45,208 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-12 23:12:45,223 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-12 23:13:45,226 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-12 23:17:46,307 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-12 23:18:47,372 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-12 23:19:48,373 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-12 23:20:49,372 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-12 23:30:35,024 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-12 23:31:40,003 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-12 23:49:24,917 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-12 23:54:55,292 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-12 23:56:55,288 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-12 23:58:55,285 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:00:55,282 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:02:55,281 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:06:43,221 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:08:43,218 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:10:43,217 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:12:43,216 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:14:43,216 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:16:43,217 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:18:43,215 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:20:43,218 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:22:43,247 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:24:43,246 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:26:43,247 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:28:43,248 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:30:43,244 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:32:43,247 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:34:43,248 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:36:43,231 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:38:43,227 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:40:43,228 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:42:43,227 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:44:43,223 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:46:43,223 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:48:43,225 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:50:43,225 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:52:43,203 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:54:43,197 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:56:43,194 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 00:58:43,198 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 01:00:43,186 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 01:02:43,190 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 01:04:43,198 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 01:06:43,191 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 01:32:02,405 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:06:56,782 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:28:01,021 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:30:01,019 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:32:01,019 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:34:01,018 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:36:01,028 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:38:01,019 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:40:01,012 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:42:01,018 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:44:01,033 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:46:01,027 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:48:01,022 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:50:01,026 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:52:01,019 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:54:01,025 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:56:01,029 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 02:58:01,019 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:00:00,998 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:01:01,001 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:03:00,995 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:05:00,996 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:07:00,996 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:09:00,988 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:11:00,992 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:13:00,992 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:15:00,857 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:16:00,880 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:18:00,851 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:20:00,847 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:22:00,848 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:24:00,839 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:26:00,846 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:28:00,830 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:30:00,906 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 03:59:41,205 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:17:32,957 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:19:32,953 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:21:32,954 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:23:32,953 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:25:32,951 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:27:32,950 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:29:32,950 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:31:32,945 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:33:32,945 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:35:32,946 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:37:32,941 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:39:32,945 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:41:32,941 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:43:32,939 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:45:32,942 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:47:32,992 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:49:33,000 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:51:32,991 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:53:33,004 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:55:33,006 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:57:33,001 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 04:59:32,993 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 05:01:32,998 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 05:03:32,909 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 05:05:32,905 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 05:07:32,908 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 05:09:32,909 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 05:11:32,905 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 05:13:32,902 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 05:15:32,897 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 05:17:32,895 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 05:49:22,155 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 06:18:09,721 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 06:49:58,838 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:18:56,408 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:19:56,404 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:21:56,535 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:23:56,538 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:25:56,545 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:27:56,546 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:29:56,540 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:31:56,540 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:32:56,561 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:34:56,546 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:36:56,376 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:38:56,368 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:40:56,369 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:42:56,370 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:44:56,383 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:46:56,371 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:48:56,364 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:50:56,272 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:52:56,266 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:54:56,265 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:56:56,263 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 07:58:56,264 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 08:00:56,264 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 08:02:56,265 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 08:04:56,258 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 08:06:56,234 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 08:08:56,231 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 08:10:56,225 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 08:12:56,218 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 08:14:56,215 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 08:16:56,206 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 08:34:29,146 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 08:54:50,960 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 08:56:50,968 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 08:58:50,964 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:00:50,959 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:02:50,959 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:04:50,955 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:06:50,955 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:08:50,951 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:10:50,959 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:12:50,960 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:14:50,953 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:16:50,957 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:18:50,953 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:20:50,953 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:22:50,948 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:24:50,940 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:26:51,131 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:28:51,130 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:30:51,129 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:32:51,132 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:34:51,130 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:36:51,130 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:38:51,129 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:40:51,056 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:42:51,053 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:44:51,053 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:46:51,054 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:48:51,049 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:50:51,116 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:52:51,060 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 09:54:51,052 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:12:34,855 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:14:34,843 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:16:34,843 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:18:34,831 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:20:34,844 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:22:34,838 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:24:34,840 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:26:34,970 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:28:34,976 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:30:34,970 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:32:35,044 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:34:34,983 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:36:34,981 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:38:35,000 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:40:34,981 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 10:42:34,985 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 12:08:05,230 basehttp 34152 6134296576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 12:42:59,059 autoreload 26906 8601149632 Watching for file changes with StatReloader INFO 2025-08-13 12:43:30,698 basehttp 26906 6189592576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 12:44:30,599 basehttp 26906 6189592576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 12:45:30,594 basehttp 26906 6189592576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 12:46:30,602 basehttp 26906 6189592576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 12:47:30,608 basehttp 26906 6189592576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 12:48:30,608 basehttp 26906 6189592576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:08:21,360 autoreload 67570 8601149632 Watching for file changes with StatReloader INFO 2025-08-13 16:08:33,658 autoreload 67664 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 16:08:36,076 log 67664 6165377024 Invalid HTTP_HOST header: '10.10.1.109:7999'. You may need to add '10.10.1.109' to ALLOWED_HOSTS. Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/deprecation.py", line 119, in __call__ response = self.process_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/middleware/common.py", line 48, in process_request host = request.get_host() ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/http/request.py", line 202, in get_host raise DisallowedHost(msg) django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: '10.10.1.109:7999'. You may need to add '10.10.1.109' to ALLOWED_HOSTS. WARNING 2025-08-13 16:08:36,077 basehttp 67664 6165377024 "GET / HTTP/1.1" 400 69374 INFO 2025-08-13 16:09:02,739 autoreload 67664 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/hospital_management/settings.py changed, reloading. INFO 2025-08-13 16:09:03,051 autoreload 67903 8601149632 Watching for file changes with StatReloader INFO 2025-08-13 16:09:05,380 basehttp 67903 6190936064 "GET / HTTP/1.1" 302 0 INFO 2025-08-13 16:09:05,486 basehttp 67903 6190936064 "GET /en/ HTTP/1.1" 200 46341 INFO 2025-08-13 16:09:05,501 basehttp 67903 6190936064 "GET /static/img/user/user-4.jpg HTTP/1.1" 200 5916 INFO 2025-08-13 16:09:05,567 basehttp 67903 6190936064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:09:05,575 basehttp 67903 6241415168 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-13 16:09:05,577 basehttp 67903 6224588800 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-13 16:09:05,578 basehttp 67903 6207762432 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-13 16:09:16,206 basehttp 67903 6207762432 "GET / HTTP/1.1" 302 0 INFO 2025-08-13 16:09:16,220 basehttp 67903 6224588800 "GET /en/ HTTP/1.1" 200 46341 INFO 2025-08-13 16:09:16,284 basehttp 67903 6190936064 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-13 16:09:16,286 basehttp 67903 6224588800 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:09:16,287 basehttp 67903 6207762432 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-13 16:09:16,287 basehttp 67903 6241415168 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-13 16:09:21,787 basehttp 67903 6241415168 "GET /en/ HTTP/1.1" 200 46341 INFO 2025-08-13 16:09:21,842 basehttp 67903 6241415168 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:09:21,846 basehttp 67903 6190936064 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-13 16:09:21,847 basehttp 67903 6224588800 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-13 16:09:21,857 basehttp 67903 6207762432 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-13 16:09:28,120 basehttp 67903 6207762432 "GET /en/radiology HTTP/1.1" 301 0 INFO 2025-08-13 16:09:28,149 basehttp 67903 6224588800 "GET /en/radiology/ HTTP/1.1" 200 29203 INFO 2025-08-13 16:09:28,180 basehttp 67903 6224588800 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 ERROR 2025-08-13 16:09:28,215 log 67903 6190936064 Internal Server Error: /en/radiology/htmx/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 843, in radiology_stats 'reports_pending': RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-13 16:09:28,216 basehttp 67903 6190936064 "GET /en/radiology/htmx/stats/ HTTP/1.1" 500 122906 INFO 2025-08-13 16:09:32,576 basehttp 67903 6190936064 "GET /en/radiology/orders/ HTTP/1.1" 200 80016 INFO 2025-08-13 16:09:32,611 basehttp 67903 6190936064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:10:32,626 basehttp 67903 6190936064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:11:00,533 autoreload 67903 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 16:11:00,936 autoreload 68798 8601149632 Watching for file changes with StatReloader INFO 2025-08-13 16:11:03,650 basehttp 68798 6341865472 "GET /en/radiology/orders/ HTTP/1.1" 200 80016 INFO 2025-08-13 16:11:03,686 basehttp 68798 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:11:10,681 basehttp 68798 6341865472 "GET /en/radiology/orders/ HTTP/1.1" 200 80016 INFO 2025-08-13 16:11:10,720 basehttp 68798 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 ERROR 2025-08-13 16:12:05,433 log 68798 6341865472 Internal Server Error: /en/radiology/orders/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 47, in select_template raise TemplateDoesNotExist(", ".join(template_name_list), chain=chain) django.template.exceptions.TemplateDoesNotExist: radiology/imaging_order_list.html, radiology/imagingorder_list.html ERROR 2025-08-13 16:12:05,433 basehttp 68798 6341865472 "GET /en/radiology/orders/ HTTP/1.1" 500 85453 INFO 2025-08-13 16:14:55,138 autoreload 68798 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 16:14:55,415 autoreload 70514 8601149632 Watching for file changes with StatReloader INFO 2025-08-13 16:14:59,722 basehttp 70514 6194458624 "GET /en/radiology/orders/ HTTP/1.1" 200 80016 INFO 2025-08-13 16:14:59,759 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:15:57,310 basehttp 70514 6194458624 "GET /en/radiology/orders/ HTTP/1.1" 200 79818 INFO 2025-08-13 16:15:57,351 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:16:08,339 basehttp 70514 6194458624 "GET /en/radiology/orders/394/ HTTP/1.1" 200 31301 INFO 2025-08-13 16:16:08,373 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:17:08,386 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:18:08,386 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:19:06,681 basehttp 70514 6194458624 "GET /en/radiology/orders/394/ HTTP/1.1" 200 31316 INFO 2025-08-13 16:19:06,742 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:20:06,756 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:21:06,751 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:21:37,559 basehttp 70514 6194458624 "GET /en/radiology/orders/394/ HTTP/1.1" 200 31444 INFO 2025-08-13 16:21:37,622 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:22:27,979 basehttp 70514 6194458624 "GET /en/radiology/orders/394/ HTTP/1.1" 200 31434 INFO 2025-08-13 16:22:28,026 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:23:28,042 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:24:28,043 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:25:28,044 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:26:28,045 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:27:28,046 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:28:28,043 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:29:28,042 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:30:28,044 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:31:28,046 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:32:28,048 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:33:28,048 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:34:28,050 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:35:28,064 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:36:28,045 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:37:28,053 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:38:28,056 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:39:28,403 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:40:28,411 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:41:28,417 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:42:28,420 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:43:28,424 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:44:28,427 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:45:28,430 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:46:28,433 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:47:28,432 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:48:28,441 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:49:28,443 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:50:28,441 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:51:28,444 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:52:28,445 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:52:53,539 basehttp 70514 6194458624 "GET /en/radiology/orders/394/ HTTP/1.1" 200 31552 INFO 2025-08-13 16:52:53,576 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:53:53,593 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 16:54:53,596 basehttp 70514 6194458624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 ERROR 2025-08-13 16:55:02,581 log 70514 6194458624 Internal Server Error: /en/radiology/orders/394/update/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 109, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 202, in get return super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 72, in get_context_data kwargs["form"] = self.get_form() ^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 36, in get_form form_class = self.get_form_class() ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 108, in get_form_class return model_forms.modelform_factory(model, fields=self.fields) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 654, in modelform_factory return type(form)(class_name, (form,), form_class_attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/forms/models.py", line 334, in __new__ raise FieldError(message) django.core.exceptions.FieldError: Unknown field(s) (notes) specified for ImagingOrder ERROR 2025-08-13 16:55:02,584 basehttp 70514 6194458624 "GET /en/radiology/orders/394/update/ HTTP/1.1" 500 114536 INFO 2025-08-13 16:55:53,444 autoreload 70514 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 16:55:53,718 autoreload 88506 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 16:55:54,434 log 88506 6189101056 Internal Server Error: /en/radiology/orders/394/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 356, in get_context_data context['reports'] = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1563, in build_filter self.check_related_objects(join_info.final_field, value, join_info.opts) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1372, in check_related_objects self.check_query_object_type(value, opts, field) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1349, in check_query_object_type raise ValueError( ValueError: Cannot query "IMG768284 - Extremity X-Ray": Must be "ImagingStudy" instance. ERROR 2025-08-13 16:55:54,436 basehttp 88506 6189101056 "GET /en/radiology/orders/394/ HTTP/1.1" 500 134571 INFO 2025-08-13 16:56:33,358 autoreload 88506 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 16:56:33,656 autoreload 88827 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 16:56:36,265 log 88827 6167064576 Internal Server Error: /en/radiology/orders/394/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 356, in get_context_data context['reports'] = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1563, in build_filter self.check_related_objects(join_info.final_field, value, join_info.opts) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1372, in check_related_objects self.check_query_object_type(value, opts, field) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1349, in check_query_object_type raise ValueError( ValueError: Cannot query "IMG768284 - Extremity X-Ray": Must be "ImagingStudy" instance. ERROR 2025-08-13 16:56:36,267 basehttp 88827 6167064576 "GET /en/radiology/orders/394/ HTTP/1.1" 500 134571 INFO 2025-08-13 17:02:25,841 autoreload 88827 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 17:02:26,137 autoreload 91363 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 17:02:28,833 log 91363 6196146176 Internal Server Error: /en/radiology/orders/394/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 368, in get_context_data context['reports'] = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1563, in build_filter self.check_related_objects(join_info.final_field, value, join_info.opts) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1372, in check_related_objects self.check_query_object_type(value, opts, field) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1349, in check_query_object_type raise ValueError( ValueError: Cannot query "IMG768284 - Extremity X-Ray": Must be "ImagingStudy" instance. ERROR 2025-08-13 17:02:28,836 basehttp 91363 6196146176 "GET /en/radiology/orders/394/ HTTP/1.1" 500 134984 ERROR 2025-08-13 17:02:30,105 log 91363 6196146176 Internal Server Error: /en/radiology/orders/394/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 368, in get_context_data context['reports'] = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1563, in build_filter self.check_related_objects(join_info.final_field, value, join_info.opts) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1372, in check_related_objects self.check_query_object_type(value, opts, field) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1349, in check_query_object_type raise ValueError( ValueError: Cannot query "IMG768284 - Extremity X-Ray": Must be "ImagingStudy" instance. ERROR 2025-08-13 17:02:30,106 basehttp 91363 6196146176 "GET /en/radiology/orders/394/ HTTP/1.1" 500 134984 ERROR 2025-08-13 17:02:31,096 log 91363 6196146176 Internal Server Error: /en/radiology/orders/394/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 368, in get_context_data context['reports'] = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1563, in build_filter self.check_related_objects(join_info.final_field, value, join_info.opts) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1372, in check_related_objects self.check_query_object_type(value, opts, field) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1349, in check_query_object_type raise ValueError( ValueError: Cannot query "IMG768284 - Extremity X-Ray": Must be "ImagingStudy" instance. ERROR 2025-08-13 17:02:31,098 basehttp 91363 6196146176 "GET /en/radiology/orders/394/ HTTP/1.1" 500 134984 INFO 2025-08-13 17:03:19,250 autoreload 91363 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 17:03:19,559 autoreload 91768 8601149632 Watching for file changes with StatReloader INFO 2025-08-13 17:03:23,674 basehttp 91768 6188986368 "GET /en/radiology/orders/394/ HTTP/1.1" 200 31552 INFO 2025-08-13 17:03:23,736 basehttp 91768 6188986368 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 WARNING 2025-08-13 17:03:45,235 log 91768 6188986368 Not Found: /en/radiology/studies/ed8b170a-fb18-4cc7-b7b0-3dba181804be/start/ WARNING 2025-08-13 17:03:45,235 basehttp 91768 6188986368 "POST /en/radiology/studies/ed8b170a-fb18-4cc7-b7b0-3dba181804be/start/ HTTP/1.1" 404 37603 INFO 2025-08-13 17:04:23,739 basehttp 91768 6188986368 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 17:04:26,340 basehttp 91768 6188986368 "GET /en/radiology/orders/394/ HTTP/1.1" 200 31552 INFO 2025-08-13 17:04:26,398 basehttp 91768 6188986368 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 17:04:53,778 basehttp 91768 6188986368 "GET /en/radiology/orders/394/ HTTP/1.1" 200 31552 INFO 2025-08-13 17:04:53,815 basehttp 91768 6188986368 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 17:05:20,957 basehttp 91768 6188986368 "GET /en/radiology/orders/394/ HTTP/1.1" 200 31797 INFO 2025-08-13 17:05:21,019 basehttp 91768 6188986368 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 17:05:37,447 basehttp 91768 6188986368 "GET /en/radiology/orders/394/ HTTP/1.1" 200 31797 INFO 2025-08-13 17:05:37,507 basehttp 91768 6188986368 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 17:05:47,857 basehttp 91768 6188986368 "GET /en/radiology/orders/394/ HTTP/1.1" 200 31797 INFO 2025-08-13 17:05:47,922 basehttp 91768 6188986368 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 ERROR 2025-08-13 17:05:53,421 log 91768 6188986368 Internal Server Error: /en/radiology/orders/236/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 358, in get_context_data for study in studies: ^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 384, in __iter__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1951, in _fetch_all self._prefetch_related_objects() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1328, in _prefetch_related_objects prefetch_related_objects(self._result_cache, *self._prefetch_related_lookups) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 2372, in prefetch_related_objects raise AttributeError( AttributeError: Cannot find 'reports' on ImagingStudy object, 'reports' is an invalid parameter to prefetch_related() ERROR 2025-08-13 17:05:53,424 basehttp 91768 6188986368 "GET /en/radiology/orders/236/ HTTP/1.1" 500 104417 INFO 2025-08-13 17:08:11,054 autoreload 91768 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 17:08:11,368 autoreload 93917 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 17:08:13,714 log 93917 6201667584 Internal Server Error: /en/radiology/orders/236/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 359, in get_context_data study_reports = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-13 17:08:13,716 basehttp 93917 6201667584 "GET /en/radiology/orders/236/ HTTP/1.1" 500 138004 INFO 2025-08-13 17:09:10,817 autoreload 93917 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 17:09:11,104 autoreload 94378 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 17:09:14,038 log 94378 6161690624 Internal Server Error: /en/radiology/orders/236/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'radiology_report_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/radiology/reports/(?P[0-9]+)/\\Z'] ERROR 2025-08-13 17:09:14,040 basehttp 94378 6161690624 "GET /en/radiology/orders/236/ HTTP/1.1" 500 193574 INFO 2025-08-13 17:09:53,502 basehttp 94378 6161690624 "GET /en/radiology/orders/236/ HTTP/1.1" 200 33121 INFO 2025-08-13 17:09:53,554 basehttp 94378 6161690624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 17:10:05,917 basehttp 94378 6161690624 "GET /en/radiology/orders/236/ HTTP/1.1" 200 33121 INFO 2025-08-13 17:10:05,979 basehttp 94378 6161690624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 17:10:09,738 basehttp 94378 6161690624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 17:11:06,079 basehttp 94378 6161690624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 17:12:00,366 autoreload 94378 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 17:12:00,685 autoreload 95636 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 17:12:02,595 log 95636 6166261760 Internal Server Error: /en/radiology/orders/236/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/__init__.py", line 2128, in get_prep_value return int(value) ^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'method' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 359, in get_context_data study_reports = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1588, in build_filter condition = self.build_lookup(lookups, col, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1415, in build_lookup lookup = lookup_class(lhs, rhs) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/lookups.py", line 38, in __init__ self.rhs = self.get_prep_lookup() ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/related_lookups.py", line 112, in get_prep_lookup self.rhs = target_field.get_prep_value(self.rhs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/__init__.py", line 2130, in get_prep_value raise e.__class__( TypeError: Field 'id' expected a number but got ]>>. ERROR 2025-08-13 17:12:02,597 basehttp 95636 6166261760 "GET /en/radiology/orders/236/ HTTP/1.1" 500 149942 INFO 2025-08-13 17:12:44,423 autoreload 95636 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 17:12:44,709 autoreload 95948 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 17:12:45,921 log 95948 6160232448 Internal Server Error: /en/radiology/orders/236/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/__init__.py", line 2128, in get_prep_value return int(value) ^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'method' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 359, in get_context_data study_reports = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1588, in build_filter condition = self.build_lookup(lookups, col, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1415, in build_lookup lookup = lookup_class(lhs, rhs) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/lookups.py", line 38, in __init__ self.rhs = self.get_prep_lookup() ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/related_lookups.py", line 112, in get_prep_lookup self.rhs = target_field.get_prep_value(self.rhs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/__init__.py", line 2130, in get_prep_value raise e.__class__( TypeError: Field 'id' expected a number but got ]>>. ERROR 2025-08-13 17:12:45,923 basehttp 95948 6160232448 "GET /en/radiology/orders/236/ HTTP/1.1" 500 149793 ERROR 2025-08-13 17:12:46,857 log 95948 6160232448 Internal Server Error: /en/radiology/orders/236/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/__init__.py", line 2128, in get_prep_value return int(value) ^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'method' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 359, in get_context_data study_reports = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1588, in build_filter condition = self.build_lookup(lookups, col, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1415, in build_lookup lookup = lookup_class(lhs, rhs) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/lookups.py", line 38, in __init__ self.rhs = self.get_prep_lookup() ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/related_lookups.py", line 112, in get_prep_lookup self.rhs = target_field.get_prep_value(self.rhs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/__init__.py", line 2130, in get_prep_value raise e.__class__( TypeError: Field 'id' expected a number but got ]>>. ERROR 2025-08-13 17:12:46,858 basehttp 95948 6160232448 "GET /en/radiology/orders/236/ HTTP/1.1" 500 149793 ERROR 2025-08-13 17:12:47,728 log 95948 6160232448 Internal Server Error: /en/radiology/orders/236/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/__init__.py", line 2128, in get_prep_value return int(value) ^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'method' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 359, in get_context_data study_reports = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1588, in build_filter condition = self.build_lookup(lookups, col, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1415, in build_lookup lookup = lookup_class(lhs, rhs) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/lookups.py", line 38, in __init__ self.rhs = self.get_prep_lookup() ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/related_lookups.py", line 112, in get_prep_lookup self.rhs = target_field.get_prep_value(self.rhs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/__init__.py", line 2130, in get_prep_value raise e.__class__( TypeError: Field 'id' expected a number but got ]>>. ERROR 2025-08-13 17:12:47,729 basehttp 95948 6160232448 "GET /en/radiology/orders/236/ HTTP/1.1" 500 149793 INFO 2025-08-13 19:10:51,611 basehttp 95948 6160232448 "GET /en/radiology/orders/ HTTP/1.1" 200 79818 INFO 2025-08-13 19:10:51,680 basehttp 95948 6160232448 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 ERROR 2025-08-13 19:11:22,400 log 95948 6160232448 Internal Server Error: /en/radiology/orders/394/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/__init__.py", line 2128, in get_prep_value return int(value) ^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'method' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 359, in get_context_data study_reports = RadiologyReport.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1588, in build_filter condition = self.build_lookup(lookups, col, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1415, in build_lookup lookup = lookup_class(lhs, rhs) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/lookups.py", line 38, in __init__ self.rhs = self.get_prep_lookup() ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/related_lookups.py", line 112, in get_prep_lookup self.rhs = target_field.get_prep_value(self.rhs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/__init__.py", line 2130, in get_prep_value raise e.__class__( TypeError: Field 'id' expected a number but got >. ERROR 2025-08-13 19:11:22,401 basehttp 95948 6160232448 "GET /en/radiology/orders/394/ HTTP/1.1" 500 148496 INFO 2025-08-13 19:13:36,175 basehttp 95948 6160232448 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 ERROR 2025-08-13 19:13:44,750 log 95948 6160232448 Internal Server Error: /en/radiology/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 743, in get_queryset queryset = RadiologyReport.objects.filter(tenant=self.request.user.tenant) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: addendum, addendum_datetime, clinical_history, created_at, critical_communicated, critical_communicated_datetime, critical_communicated_to, critical_finding, dictated_by, dictated_by_id, dictated_datetime, finalized_datetime, findings, id, impression, radiologist, radiologist_id, recommendations, report_id, report_length, status, structured_data, study, study_id, technique, template_used, template_used_id, transcribed_by, transcribed_by_id, transcribed_datetime, turnaround_time, updated_at, verified_datetime ERROR 2025-08-13 19:13:44,751 basehttp 95948 6160232448 "GET /en/radiology/reports/ HTTP/1.1" 500 134905 ERROR 2025-08-13 19:13:48,676 log 95948 6160232448 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 47, in select_template raise TemplateDoesNotExist(", ".join(template_name_list), chain=chain) django.template.exceptions.TemplateDoesNotExist: radiology/imaging_study_list.html, radiology/imagingstudy_list.html ERROR 2025-08-13 19:13:48,677 basehttp 95948 6160232448 "GET /en/radiology/studies/ HTTP/1.1" 500 85325 INFO 2025-08-13 19:17:04,777 autoreload 95948 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 19:17:05,193 autoreload 50309 8601149632 Watching for file changes with StatReloader INFO 2025-08-13 19:27:48,622 autoreload 50309 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 19:27:49,028 autoreload 55078 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 19:27:59,243 log 55078 6136672256 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-13 19:27:59,247 basehttp 55078 6136672256 "GET /en/radiology/studies/ HTTP/1.1" 500 210392 INFO 2025-08-13 19:28:54,220 autoreload 55078 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 19:28:54,690 autoreload 55552 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 19:28:56,853 log 55552 6132641792 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-13 19:28:56,856 basehttp 55552 6132641792 "GET /en/radiology/studies/ HTTP/1.1" 500 210392 INFO 2025-08-13 19:29:16,630 autoreload 55552 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 19:29:16,960 autoreload 55713 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 19:29:19,326 log 55713 6192050176 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-13 19:29:19,331 basehttp 55713 6192050176 "GET /en/radiology/studies/ HTTP/1.1" 500 210392 INFO 2025-08-13 19:30:09,860 autoreload 55713 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 19:30:10,220 autoreload 56119 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 19:30:12,349 log 56119 6167998464 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-13 19:30:12,351 basehttp 56119 6167998464 "GET /en/radiology/studies/ HTTP/1.1" 500 210392 INFO 2025-08-13 19:39:49,795 autoreload 60497 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 19:39:54,177 log 60497 6204993536 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-13 19:39:54,180 basehttp 60497 6204993536 "GET /en/radiology/studies/ HTTP/1.1" 500 210392 ERROR 2025-08-13 19:39:55,602 log 60497 6204993536 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-13 19:39:55,605 basehttp 60497 6204993536 "GET /en/radiology/studies/ HTTP/1.1" 500 210392 INFO 2025-08-13 19:52:15,781 autoreload 66028 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 19:52:19,284 log 66028 6170030080 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-13 19:52:19,287 basehttp 66028 6170030080 "GET /en/radiology/studies/ HTTP/1.1" 500 210392 INFO 2025-08-13 19:59:26,788 autoreload 66028 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 19:59:27,066 autoreload 69165 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 19:59:28,089 log 69165 6192197632 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 326, in render if match: ^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 398, in __bool__ self._fetch_all() File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1949, in _fetch_all self._result_cache = list(self._iterable_class(self)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 85, in pre_sql_setup self.setup_query(with_col_aliases=with_col_aliases) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 74, in setup_query self.select, self.klass_info, self.annotation_col_map = self.get_select( ^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 299, in get_select related_klass_infos = self.get_related_selections(select, select_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1396, in get_related_selections raise FieldError( django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'order'. Choices are: tenant, patient, referring_physician, radiologist, encounter, imaging_order, created_by, report ERROR 2025-08-13 19:59:28,093 basehttp 69165 6192197632 "GET /en/radiology/studies/ HTTP/1.1" 500 210392 INFO 2025-08-13 20:00:12,740 autoreload 69165 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 20:00:13,041 autoreload 69504 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 20:00:14,910 log 69504 6158364672 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'imaging_study_edit' not found. 'imaging_study_edit' is not a valid view function or pattern name. ERROR 2025-08-13 20:00:14,912 basehttp 69504 6158364672 "GET /en/radiology/studies/ HTTP/1.1" 500 238328 ERROR 2025-08-13 20:01:19,153 log 69504 6158364672 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'imaging_study_delete' not found. 'imaging_study_delete' is not a valid view function or pattern name. ERROR 2025-08-13 20:01:19,154 basehttp 69504 6158364672 "GET /en/radiology/studies/ HTTP/1.1" 500 238007 ERROR 2025-08-13 20:01:42,134 log 69504 6158364672 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'imaging_study_edit' not found. 'imaging_study_edit' is not a valid view function or pattern name. ERROR 2025-08-13 20:01:42,135 basehttp 69504 6158364672 "GET /en/radiology/studies/ HTTP/1.1" 500 236950 ERROR 2025-08-13 20:02:13,470 log 69504 6158364672 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'imaging_study_delete' not found. 'imaging_study_delete' is not a valid view function or pattern name. ERROR 2025-08-13 20:02:13,471 basehttp 69504 6158364672 "GET /en/radiology/studies/ HTTP/1.1" 500 236902 ERROR 2025-08-13 20:02:32,987 log 69504 6158364672 Internal Server Error: /en/radiology/studies/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bulk_study_action' not found. 'bulk_study_action' is not a valid view function or pattern name. ERROR 2025-08-13 20:02:32,988 basehttp 69504 6158364672 "GET /en/radiology/studies/ HTTP/1.1" 500 193883 INFO 2025-08-13 20:03:05,254 basehttp 69504 6158364672 "GET /en/radiology/studies/ HTTP/1.1" 200 104822 INFO 2025-08-13 20:03:05,325 basehttp 69504 6158364672 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:03:18,688 basehttp 69504 6158364672 "GET /en/radiology/studies/?search=&modality=&priority=&date_range= HTTP/1.1" 200 104975 INFO 2025-08-13 20:03:18,746 basehttp 69504 6158364672 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 ERROR 2025-08-13 20:03:23,657 log 69504 6158364672 Internal Server Error: /en/radiology/studies/190/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 510, in get_context_data context['reports'] = imaging_study.reports.all().order_by('-created_at') ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImagingStudy' object has no attribute 'reports'. Did you mean: 'report'? ERROR 2025-08-13 20:03:23,658 basehttp 69504 6158364672 "GET /en/radiology/studies/190/ HTTP/1.1" 500 85248 INFO 2025-08-13 20:03:32,502 basehttp 69504 6158364672 "GET /en/radiology/studies/?search=&modality=&priority=&date_range= HTTP/1.1" 200 104975 INFO 2025-08-13 20:03:32,565 basehttp 69504 6158364672 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:04:09,502 autoreload 69504 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 20:04:09,819 autoreload 71305 8601149632 Watching for file changes with StatReloader INFO 2025-08-13 20:04:12,042 basehttp 71305 6131920896 "GET /en/radiology/studies/?search=&modality=&priority=&date_range= HTTP/1.1" 200 104975 INFO 2025-08-13 20:04:12,111 basehttp 71305 6131920896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 ERROR 2025-08-13 20:04:14,896 log 71305 6131920896 Internal Server Error: /en/radiology/studies/190/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 510, in get_context_data context['reports'] = imaging_study.report.all().order_by('-created_at') ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/related_descriptors.py", line 534, in __get__ raise self.RelatedObjectDoesNotExist( radiology.models.ImagingStudy.report.RelatedObjectDoesNotExist: ImagingStudy has no report. ERROR 2025-08-13 20:04:14,898 basehttp 71305 6131920896 "GET /en/radiology/studies/190/ HTTP/1.1" 500 89760 INFO 2025-08-13 20:05:12,124 basehttp 71305 6131920896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:06:12,126 basehttp 71305 6131920896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:07:12,123 basehttp 71305 6131920896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:08:12,120 basehttp 71305 6131920896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:09:08,162 autoreload 71305 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 20:09:08,507 autoreload 73459 8601149632 Watching for file changes with StatReloader INFO 2025-08-13 20:09:09,915 basehttp 73459 6165147648 "GET /en/radiology/studies/?search=&modality=&priority=&date_range= HTTP/1.1" 200 104975 INFO 2025-08-13 20:09:09,988 basehttp 73459 6165147648 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 ERROR 2025-08-13 20:09:12,940 log 73459 6165147648 Internal Server Error: /en/radiology/studies/190/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 510, in get_context_data context['reports'] = imaging_study.report ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/related_descriptors.py", line 534, in __get__ raise self.RelatedObjectDoesNotExist( radiology.models.ImagingStudy.report.RelatedObjectDoesNotExist: ImagingStudy has no report. ERROR 2025-08-13 20:09:12,941 basehttp 73459 6165147648 "GET /en/radiology/studies/190/ HTTP/1.1" 500 89520 ERROR 2025-08-13 20:09:19,289 log 73459 6165147648 Internal Server Error: /en/radiology/studies/42/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 510, in get_context_data context['reports'] = imaging_study.report ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/fields/related_descriptors.py", line 534, in __get__ raise self.RelatedObjectDoesNotExist( radiology.models.ImagingStudy.report.RelatedObjectDoesNotExist: ImagingStudy has no report. ERROR 2025-08-13 20:09:19,290 basehttp 73459 6165147648 "GET /en/radiology/studies/42/ HTTP/1.1" 500 89546 INFO 2025-08-13 20:09:41,209 basehttp 73459 6165147648 "GET /en/admin/ HTTP/1.1" 200 87876 INFO 2025-08-13 20:09:45,824 basehttp 73459 6165147648 "GET /en/admin/radiology/radiologyreport/ HTTP/1.1" 200 129375 INFO 2025-08-13 20:09:45,836 basehttp 73459 12901707776 "GET /static/admin/img/icon-no.svg HTTP/1.1" 200 560 INFO 2025-08-13 20:09:45,838 basehttp 73459 6165147648 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-13 20:09:50,068 basehttp 73459 6165147648 "GET /en/admin/radiology/radiologyreport/75/change/ HTTP/1.1" 200 222901 INFO 2025-08-13 20:09:50,084 basehttp 73459 6165147648 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-13 20:09:50,115 basehttp 73459 6165147648 "GET /static/admin/img/icon-clock.svg HTTP/1.1" 200 677 INFO 2025-08-13 20:09:58,128 basehttp 73459 6165147648 "GET /en/admin/radiology/radiologyreport/ HTTP/1.1" 200 129375 INFO 2025-08-13 20:10:04,659 basehttp 73459 6165147648 "GET /en/admin/radiology/imagingstudy/ HTTP/1.1" 200 81225 INFO 2025-08-13 20:10:04,672 basehttp 73459 6165147648 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-13 20:10:10,194 basehttp 73459 6165147648 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:10:11,422 basehttp 73459 6165147648 "GET /en/admin/radiology/imagingstudy/190/change/ HTTP/1.1" 200 491120 INFO 2025-08-13 20:10:11,437 basehttp 73459 6165147648 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-13 20:10:27,574 basehttp 73459 6165147648 "GET /en/admin/radiology/reporttemplate/ HTTP/1.1" 200 75427 INFO 2025-08-13 20:10:27,589 basehttp 73459 6165147648 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-13 20:10:36,712 basehttp 73459 6165147648 "GET /en/admin/radiology/radiologyreport/ HTTP/1.1" 200 129375 INFO 2025-08-13 20:10:36,724 basehttp 73459 6165147648 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-13 20:10:44,217 basehttp 73459 6165147648 "GET /en/admin/radiology/radiologyreport/75/change/ HTTP/1.1" 200 222901 INFO 2025-08-13 20:10:44,233 basehttp 73459 6165147648 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-13 20:10:48,756 basehttp 73459 6165147648 "GET /en/admin/radiology/imagingstudy/131/change/?_to_field=id HTTP/1.1" 200 482009 INFO 2025-08-13 20:10:48,772 basehttp 73459 6165147648 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 ERROR 2025-08-13 20:11:04,882 log 73459 6165147648 Internal Server Error: /en/radiology/studies/131/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 513, in get_context_data context['total_images'] = DICOMImage.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: acquisition_datetime, archived, bits_allocated, bits_stored, columns, content_date, content_time, created_at, file_path, file_size, id, image_id, image_orientation, image_position, image_quality, image_type, instance_number, processed, rows, series, series_id, slice_location, sop_class_uid, sop_instance_uid, transfer_syntax_uid, updated_at, window_center, window_width ERROR 2025-08-13 20:11:04,883 basehttp 73459 6165147648 "GET /en/radiology/studies/131/ HTTP/1.1" 500 137402 ERROR 2025-08-13 20:11:11,711 log 73459 6165147648 Internal Server Error: /en/radiology/studies/131/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 513, in get_context_data context['total_images'] = DICOMImage.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: acquisition_datetime, archived, bits_allocated, bits_stored, columns, content_date, content_time, created_at, file_path, file_size, id, image_id, image_orientation, image_position, image_quality, image_type, instance_number, processed, rows, series, series_id, slice_location, sop_class_uid, sop_instance_uid, transfer_syntax_uid, updated_at, window_center, window_width ERROR 2025-08-13 20:11:11,712 basehttp 73459 6165147648 "GET /en/radiology/studies/131/ HTTP/1.1" 500 137183 INFO 2025-08-13 20:12:16,971 autoreload 73459 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 20:12:17,270 autoreload 74861 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 20:12:19,837 log 74861 6167359488 Internal Server Error: /en/radiology/studies/131/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 513, in get_context_data context['total_images'] = DICOMImage.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'imaging_study' into field. Choices are: acquisition_datetime, archived, bits_allocated, bits_stored, columns, content_date, content_time, created_at, file_path, file_size, id, image_id, image_orientation, image_position, image_quality, image_type, instance_number, processed, rows, series, series_id, slice_location, sop_class_uid, sop_instance_uid, transfer_syntax_uid, updated_at, window_center, window_width ERROR 2025-08-13 20:12:19,839 basehttp 74861 6167359488 "GET /en/radiology/studies/131/ HTTP/1.1" 500 136763 INFO 2025-08-13 20:12:57,893 autoreload 74861 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 20:12:58,186 autoreload 75185 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 20:13:00,005 log 75185 6164787200 Internal Server Error: /en/radiology/studies/131/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'imaging_study_update' with arguments '('',)' not found. 1 pattern(s) tried: ['en/radiology/studies/(?P[0-9]+)/update/\\Z'] ERROR 2025-08-13 20:13:00,006 basehttp 75185 6164787200 "GET /en/radiology/studies/131/ HTTP/1.1" 500 191349 INFO 2025-08-13 20:13:43,996 autoreload 75185 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 20:13:44,316 autoreload 75501 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 20:13:46,741 log 75501 6202159104 Internal Server Error: /en/radiology/studies/131/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'encounter_detail' with arguments '(1327,)' not found. 1 pattern(s) tried: ['en/emr/encounters/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-13 20:13:46,743 basehttp 75501 6202159104 "GET /en/radiology/studies/131/ HTTP/1.1" 500 190960 INFO 2025-08-13 20:15:14,948 autoreload 75501 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/emr/urls.py changed, reloading. INFO 2025-08-13 20:15:15,239 autoreload 76214 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 20:15:16,527 log 76214 6168932352 Internal Server Error: /en/radiology/studies/131/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'imaging_series_detail' with arguments '(382,)' not found. 1 pattern(s) tried: ['en/radiology/series/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-13 20:15:16,529 basehttp 76214 6168932352 "GET /en/radiology/studies/131/ HTTP/1.1" 500 203858 INFO 2025-08-13 20:15:50,881 autoreload 76214 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/urls.py changed, reloading. INFO 2025-08-13 20:15:51,171 autoreload 76468 8601149632 Watching for file changes with StatReloader INFO 2025-08-13 20:15:52,332 basehttp 76468 6128627712 "GET /en/radiology/studies/131/ HTTP/1.1" 200 31174 INFO 2025-08-13 20:15:52,415 basehttp 76468 6128627712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 ERROR 2025-08-13 20:16:12,527 log 76468 6128627712 Internal Server Error: /en/radiology/series/382/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 112, in get self.object = self.get_object() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 31, in get_object queryset = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py", line 637, in get_queryset return ImagingSeries.objects.filter(tenant=self.request.user.tenant) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: body_part, contrast_agent, contrast_route, created_at, id, image_orientation, image_quality, images, modality, number_of_instances, patient_position, pixel_spacing, protocol_name, series_date, series_datetime, series_description, series_id, series_instance_uid, series_number, series_size, series_time, slice_thickness, spacing_between_slices, study, study_id, updated_at ERROR 2025-08-13 20:16:12,529 basehttp 76468 6128627712 "GET /en/radiology/series/382/ HTTP/1.1" 500 138005 INFO 2025-08-13 20:16:36,057 autoreload 76468 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/views.py changed, reloading. INFO 2025-08-13 20:16:36,368 autoreload 76856 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 20:16:36,796 log 76856 6166605824 Internal Server Error: /en/radiology/series/382/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'imaging_series_list' with arguments '('',)' not found. 1 pattern(s) tried: ['en/radiology/studies/(?P[0-9]+)/series/\\Z'] ERROR 2025-08-13 20:16:36,798 basehttp 76856 6166605824 "GET /en/radiology/series/382/ HTTP/1.1" 500 194318 INFO 2025-08-13 20:17:48,094 autoreload 76856 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/urls.py changed, reloading. INFO 2025-08-13 20:17:48,371 autoreload 77323 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 20:17:50,804 log 77323 6129479680 Internal Server Error: /en/radiology/series/382/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'imaging_series_list' with arguments '('',)' not found. 1 pattern(s) tried: ['en/radiology/studies/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/series/\\Z'] ERROR 2025-08-13 20:17:50,805 basehttp 77323 6129479680 "GET /en/radiology/series/382/ HTTP/1.1" 500 194874 INFO 2025-08-13 20:18:16,680 autoreload 77323 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/urls.py changed, reloading. INFO 2025-08-13 20:18:16,951 autoreload 77561 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 20:18:19,256 log 77561 6168997888 Internal Server Error: /en/radiology/series/382/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'imaging_series_list' with arguments '('',)' not found. 1 pattern(s) tried: ['en/radiology/studies/(?P[0-9]+)/series/\\Z'] ERROR 2025-08-13 20:18:19,258 basehttp 77561 6168997888 "GET /en/radiology/series/382/ HTTP/1.1" 500 194186 INFO 2025-08-13 20:18:40,121 autoreload 77561 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/urls.py changed, reloading. INFO 2025-08-13 20:18:40,392 autoreload 77721 8601149632 Watching for file changes with StatReloader ERROR 2025-08-13 20:18:41,037 log 77721 6124810240 Internal Server Error: /en/radiology/series/382/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'imaging_series_list' with arguments '('',)' not found. 1 pattern(s) tried: ['en/radiology/studies/(?P[0-9]+)/series/\\Z'] ERROR 2025-08-13 20:18:41,039 basehttp 77721 6124810240 "GET /en/radiology/series/382/ HTTP/1.1" 500 194318 INFO 2025-08-13 20:18:43,697 basehttp 77721 6124810240 "GET /en/radiology/studies/131/ HTTP/1.1" 200 31174 INFO 2025-08-13 20:18:43,740 basehttp 77721 6124810240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:19:43,750 basehttp 77721 6124810240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:19:49,256 autoreload 77721 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/radiology/urls.py changed, reloading. INFO 2025-08-13 20:19:49,570 autoreload 78273 8601149632 Watching for file changes with StatReloader INFO 2025-08-13 20:19:50,429 basehttp 78273 6202699776 "GET /en/radiology/studies/131/ HTTP/1.1" 200 31174 INFO 2025-08-13 20:19:50,472 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:20:50,485 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:21:50,488 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:22:50,490 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:23:50,495 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:24:50,496 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:25:50,497 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:26:50,499 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:27:50,501 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:28:50,510 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:29:50,504 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:30:50,508 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:31:50,510 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:32:50,524 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:33:51,173 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:34:53,174 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:36:17,168 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:37:17,172 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:39:17,165 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:40:17,170 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:41:17,168 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:43:17,171 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:44:17,183 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:46:17,180 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:47:17,180 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:48:17,181 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:50:17,172 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:51:17,178 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:53:17,170 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:54:17,178 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:56:17,187 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:57:17,179 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 20:59:17,136 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 21:00:17,131 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 21:02:17,133 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 21:03:17,133 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 21:05:17,134 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 21:07:17,129 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 21:08:17,129 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 21:09:17,135 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 21:11:17,128 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 21:12:17,146 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 21:13:42,297 basehttp 78273 6202699776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 21:14:23,594 autoreload 2402 8601149632 Watching for file changes with StatReloader INFO 2025-08-13 21:14:33,212 basehttp 2402 6195195904 "GET /en/radiology/studies/131/ HTTP/1.1" 200 31174 INFO 2025-08-13 21:14:33,256 basehttp 2402 6195195904 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 ERROR 2025-08-13 21:14:34,723 log 2402 6195195904 Internal Server Error: /en/radiology/series/383/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'imaging_series_list' with arguments '('',)' not found. 1 pattern(s) tried: ['en/radiology/studies/(?P[0-9]+)/series/\\Z'] ERROR 2025-08-13 21:14:34,725 basehttp 2402 6195195904 "GET /en/radiology/series/383/ HTTP/1.1" 500 194077 INFO 2025-08-13 23:09:55,022 autoreload 3706 8601149632 Watching for file changes with StatReloader INFO 2025-08-13 23:10:01,185 autoreload 3796 8601149632 Watching for file changes with StatReloader INFO 2025-08-13 23:10:03,071 basehttp 3796 6191525888 "GET / HTTP/1.1" 302 0 INFO 2025-08-13 23:10:03,129 basehttp 3796 6191525888 "GET /en/ HTTP/1.1" 302 0 INFO 2025-08-13 23:10:03,134 basehttp 3796 6191525888 "GET /accounts/login/?next=/en/ HTTP/1.1" 302 0 ERROR 2025-08-13 23:10:03,150 log 3796 6191525888 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-13 23:10:03,151 basehttp 3796 6191525888 "GET /en/accounts/login/?next=/en/ HTTP/1.1" 500 160350 INFO 2025-08-13 23:10:09,599 basehttp 3796 6191525888 "GET /en/admin/ HTTP/1.1" 302 0 INFO 2025-08-13 23:10:09,613 basehttp 3796 6191525888 "GET /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4212 INFO 2025-08-13 23:10:12,390 basehttp 3796 6191525888 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 302 0 INFO 2025-08-13 23:10:12,410 basehttp 3796 6191525888 "GET /en/admin/ HTTP/1.1" 200 87876 INFO 2025-08-13 23:10:14,505 basehttp 3796 6191525888 "GET / HTTP/1.1" 302 0 INFO 2025-08-13 23:10:14,533 basehttp 3796 6191525888 "GET /en/ HTTP/1.1" 200 46342 INFO 2025-08-13 23:10:14,598 basehttp 3796 6191525888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 23:10:14,606 basehttp 3796 6242004992 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-13 23:10:14,608 basehttp 3796 6225178624 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-13 23:10:14,609 basehttp 3796 6208352256 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-13 23:10:28,997 basehttp 3796 6208352256 "GET /en/analytics/ HTTP/1.1" 200 51683 INFO 2025-08-13 23:10:29,040 basehttp 3796 6208352256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 23:10:29,042 basehttp 3796 6225178624 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-13 23:10:44,055 basehttp 3796 6225178624 "GET /en/analytics/dashboards/ HTTP/1.1" 200 117966 INFO 2025-08-13 23:10:44,094 basehttp 3796 6225178624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4434 INFO 2025-08-13 23:11:19,357 basehttp 3796 6225178624 "GET / HTTP/1.1" 302 0 INFO 2025-08-13 23:11:19,371 basehttp 3796 6208352256 "GET /en/ HTTP/1.1" 200 46342 INFO 2025-08-13 23:11:19,434 basehttp 3796 6191525888 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-13 23:11:19,436 basehttp 3796 6208352256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-13 23:11:19,436 basehttp 3796 6225178624 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-13 23:11:19,438 basehttp 3796 6242004992 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-13 23:11:29,002 basehttp 3796 6242004992 "GET /en/radiology HTTP/1.1" 301 0 ERROR 2025-08-13 23:11:29,041 log 3796 6225178624 Internal Server Error: /en/radiology/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'imaging_series_list' with no arguments not found. 1 pattern(s) tried: ['en/radiology/studies/(?P[0-9]+)/series/\\Z'] ERROR 2025-08-13 23:11:29,042 basehttp 3796 6225178624 "GET /en/radiology/ HTTP/1.1" 500 172576 ERROR 2025-08-13 23:11:49,089 log 3796 6225178624 Internal Server Error: /en/laboratory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 228, in get context = self.get_context_data(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/laboratory/views.py", line 65, in get_context_data 'results_completed_today': LabResult.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'result_datetime' into field. Choices are: abnormal_flag, analyzed_by, analyzed_by_id, analyzed_datetime, analyzer, created_at, critical_called, critical_called_datetime, critical_called_to, id, is_critical, order, order_id, pathologist_comments, qc_notes, qc_passed, reference_range, reported_datetime, result_id, result_type, result_unit, result_value, specimen, specimen_id, status, technician_comments, test, test_id, updated_at, verified, verified_by, verified_by_id, verified_datetime ERROR 2025-08-13 23:11:49,091 basehttp 3796 6225178624 "GET /en/laboratory/ HTTP/1.1" 500 137799 INFO 2025-08-13 23:11:51,602 basehttp 3796 6225178624 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-13 23:12:04,638 basehttp 3796 6225178624 "GET /en/audit-log/ HTTP/1.1" 200 214854 INFO 2025-08-13 23:12:04,685 basehttp 3796 6225178624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-13 23:12:09,598 basehttp 3796 6225178624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-13 23:12:10,507 basehttp 3796 6208352256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-13 23:12:10,509 basehttp 3796 6225178624 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-13 23:12:40,713 basehttp 3796 6225178624 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-13 23:13:10,723 basehttp 3796 6225178624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-13 23:13:10,725 basehttp 3796 6208352256 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-13 23:13:41,712 basehttp 3796 6208352256 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-13 23:14:11,711 basehttp 3796 6208352256 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-13 23:14:12,711 basehttp 3796 6208352256 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-13 23:14:43,710 basehttp 3796 6208352256 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-13 23:19:36,648 basehttp 3796 6191525888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:09:15,170 basehttp 3796 6191525888 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-14 00:20:34,899 basehttp 3796 6191525888 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:34:01,567 basehttp 3796 6191525888 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 ERROR 2025-08-14 00:34:06,346 log 3796 6191525888 Internal Server Error: /en/analytics/data-sources/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 387, in get_queryset return queryset.order_by('source_name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'source_name' into field. Choices are: authentication_config, cache_duration, connection_config, connection_type, created_at, created_by, created_by_id, data_transformation, description, health_check_interval, is_active, is_healthy, last_health_check, last_test_duration_seconds, last_test_end_at, last_test_error_message, last_test_start_at, last_test_status, metrics, name, parameters, query_template, reports, source_id, source_type, tenant, tenant_id, updated_at, widgets ERROR 2025-08-14 00:34:06,347 basehttp 3796 6191525888 "GET /en/analytics/data-sources/ HTTP/1.1" 500 104572 INFO 2025-08-14 00:34:33,260 autoreload 3796 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-14 00:34:33,611 autoreload 7017 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 00:34:41,121 log 7017 6136655872 Internal Server Error: /en/analytics/data-sources/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'data_source_export' not found. 'data_source_export' is not a valid view function or pattern name. ERROR 2025-08-14 00:34:41,124 basehttp 7017 6136655872 "GET /en/analytics/data-sources/ HTTP/1.1" 500 176248 INFO 2025-08-14 00:35:30,923 basehttp 7017 6136655872 "GET /en/analytics/data-sources/ HTTP/1.1" 200 63367 INFO 2025-08-14 00:35:31,148 basehttp 7017 6136655872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 00:35:43,299 log 7017 6136655872 Internal Server Error: /en/analytics/data-sources/bc487783-ad63-48c0-b787-f556f838657c/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 416, in get_context_data ).order_by('report_name') ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'report_name' into field. Choices are: created_at, created_by, created_by_id, data_source, data_source_id, description, distribution_config, executions, is_active, name, next_execution, output_format, query_config, recipients, report_id, report_type, schedule_config, schedule_type, template_config, tenant, tenant_id, updated_at ERROR 2025-08-14 00:35:43,303 basehttp 7017 6136655872 "GET /en/analytics/data-sources/bc487783-ad63-48c0-b787-f556f838657c/ HTTP/1.1" 500 103539 INFO 2025-08-14 00:36:19,649 autoreload 7017 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-14 00:36:19,947 autoreload 7819 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 00:36:22,251 log 7819 6123171840 Internal Server Error: /en/analytics/data-sources/bc487783-ad63-48c0-b787-f556f838657c/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 421, in get_context_data ).order_by('metric_name') ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'metric_name' into field. Choices are: aggregation_config, aggregation_period, calculation_config, created_at, created_by, created_by_id, critical_threshold, data_source, data_source_id, decimal_places, description, display_format, is_active, metric_id, metric_type, name, target_value, tenant, tenant_id, unit_of_measure, updated_at, values, warning_threshold ERROR 2025-08-14 00:36:22,253 basehttp 7819 6123171840 "GET /en/analytics/data-sources/bc487783-ad63-48c0-b787-f556f838657c/ HTTP/1.1" 500 104008 INFO 2025-08-14 00:36:36,689 autoreload 7819 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-14 00:36:36,978 autoreload 7982 8601149632 Watching for file changes with StatReloader INFO 2025-08-14 00:36:37,359 basehttp 7982 6202273792 "GET /en/analytics/data-sources/bc487783-ad63-48c0-b787-f556f838657c/ HTTP/1.1" 200 34228 INFO 2025-08-14 00:36:37,399 basehttp 7982 6202273792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:36:42,902 basehttp 7982 6202273792 "GET /en/analytics/data-sources/bc487783-ad63-48c0-b787-f556f838657c/update/ HTTP/1.1" 200 48564 INFO 2025-08-14 00:36:42,940 basehttp 7982 6202273792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:37:15,781 basehttp 7982 6202273792 "GET /en/analytics/data-sources/ HTTP/1.1" 200 63367 INFO 2025-08-14 00:37:15,817 basehttp 7982 6202273792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:37:22,590 basehttp 7982 6202273792 "GET /en/analytics/data-sources/9472f573-e319-4f0e-90f1-dd60e25b47e9/ HTTP/1.1" 200 34200 INFO 2025-08-14 00:37:22,624 basehttp 7982 6202273792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:37:36,983 basehttp 7982 6202273792 "GET /en/analytics/data-sources/9472f573-e319-4f0e-90f1-dd60e25b47e9/update/ HTTP/1.1" 200 48564 INFO 2025-08-14 00:37:37,019 basehttp 7982 6202273792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:37:58,474 basehttp 7982 6202273792 "GET /en/analytics/data-sources/9472f573-e319-4f0e-90f1-dd60e25b47e9/update/ HTTP/1.1" 200 48564 INFO 2025-08-14 00:37:58,508 basehttp 7982 6202273792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:38:15,829 basehttp 7982 6202273792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:38:17,512 basehttp 7982 6202273792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:38:18,871 basehttp 7982 6202273792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 00:38:22,085 log 7982 6202273792 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_detail' with arguments '(0,)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-14 00:38:22,086 basehttp 7982 6202273792 "GET /en/analytics/reports/ HTTP/1.1" 500 203950 INFO 2025-08-14 00:40:24,649 autoreload 7982 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-14 00:40:24,952 autoreload 9625 8601149632 Watching for file changes with StatReloader INFO 2025-08-14 00:40:26,058 basehttp 9625 6191280128 "GET /en/analytics/reports/ HTTP/1.1" 200 34822 INFO 2025-08-14 00:40:26,069 basehttp 9625 6208106496 "GET /static/plugins/datatables.net-responsive-bs5/css/responsive.bootstrap5.min.css HTTP/1.1" 200 6044 INFO 2025-08-14 00:40:26,069 basehttp 9625 6191280128 "GET /static/plugins/datatables.net-bs5/css/dataTables.bootstrap5.min.css HTTP/1.1" 200 15096 INFO 2025-08-14 00:40:26,075 basehttp 9625 6208106496 "GET /static/plugins/datatables.net-bs5/js/dataTables.bootstrap5.min.js HTTP/1.1" 200 1470 INFO 2025-08-14 00:40:26,075 basehttp 9625 6241759232 "GET /static/plugins/datatables.net-responsive-bs5/js/responsive.bootstrap5.min.js HTTP/1.1" 200 1796 INFO 2025-08-14 00:40:26,075 basehttp 9625 6224932864 "GET /static/plugins/datatables.net-responsive/js/dataTables.responsive.min.js HTTP/1.1" 200 16086 INFO 2025-08-14 00:40:26,076 basehttp 9625 6191280128 "GET /static/plugins/datatables.net/js/dataTables.min.js HTTP/1.1" 200 95735 INFO 2025-08-14 00:40:26,078 basehttp 9625 6258585600 "GET /static/plugins/moment/min/moment.min.js HTTP/1.1" 200 58890 INFO 2025-08-14 00:40:26,112 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:40:26,133 basehttp 9625 6258585600 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1755121226075 HTTP/1.1" 200 7146 INFO 2025-08-14 00:40:26,133 basehttp 9625 6191280128 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-14 00:41:26,124 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:42:26,128 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:43:26,131 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:44:26,134 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:45:26,160 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:45:26,164 basehttp 9625 6208106496 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-14 00:45:26,164 basehttp 9625 6258585600 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1755121226076 HTTP/1.1" 200 7146 INFO 2025-08-14 00:46:26,141 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:47:26,139 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:48:26,149 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:49:26,122 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:50:26,136 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:50:26,137 basehttp 9625 6208106496 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-14 00:50:26,139 basehttp 9625 6258585600 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1755121226077 HTTP/1.1" 200 7146 INFO 2025-08-14 00:51:26,130 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:52:26,134 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:53:26,137 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:54:26,982 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:55:27,006 basehttp 9625 6258585600 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1755121226078 HTTP/1.1" 200 7146 INFO 2025-08-14 00:55:27,006 basehttp 9625 6191280128 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-14 00:55:28,990 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:57:09,982 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 00:58:09,992 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:00:09,991 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:00:27,005 basehttp 9625 6191280128 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-14 01:00:27,005 basehttp 9625 6258585600 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1755121226079 HTTP/1.1" 200 7146 INFO 2025-08-14 01:02:10,000 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:03:09,989 basehttp 9625 6258585600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:05:09,994 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:05:26,998 basehttp 9625 6208106496 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-14 01:05:27,000 basehttp 9625 6191280128 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1755121226080 HTTP/1.1" 200 7146 INFO 2025-08-14 01:06:09,985 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:07:09,991 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:08:09,989 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:09:10,979 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:10:10,975 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:10:26,111 basehttp 9625 6208106496 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-14 01:10:26,113 basehttp 9625 6191280128 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1755121226081 HTTP/1.1" 200 7146 INFO 2025-08-14 01:11:10,986 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:12:10,986 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 01:12:32,269 log 9625 6191280128 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9]+)/\\Z'] ERROR 2025-08-14 01:12:32,271 basehttp 9625 6191280128 "GET /en/analytics/reports/ HTTP/1.1" 500 205801 ERROR 2025-08-14 01:13:00,002 log 9625 6191280128 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9]+)/\\Z'] ERROR 2025-08-14 01:13:00,003 basehttp 9625 6191280128 "GET /en/analytics/reports/ HTTP/1.1" 500 205822 ERROR 2025-08-14 01:13:00,852 log 9625 6191280128 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9]+)/\\Z'] ERROR 2025-08-14 01:13:00,853 basehttp 9625 6191280128 "GET /en/analytics/reports/ HTTP/1.1" 500 205822 INFO 2025-08-14 01:13:48,767 basehttp 9625 6191280128 "GET /en/analytics/reports/ HTTP/1.1" 200 34860 INFO 2025-08-14 01:13:48,819 basehttp 9625 6191280128 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:13:48,839 basehttp 9625 6191280128 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1755123228791 HTTP/1.1" 200 7146 INFO 2025-08-14 01:13:48,839 basehttp 9625 6208106496 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 WARNING 2025-08-14 01:13:51,519 log 9625 6208106496 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:13:51,520 basehttp 9625 6208106496 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:13:51,557 basehttp 9625 6208106496 "GET /static/plugins/moment/min/moment.min.js.map HTTP/1.1" 200 98730 INFO 2025-08-14 01:14:07,238 autoreload 9625 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-14 01:14:07,640 autoreload 24614 8601149632 Watching for file changes with StatReloader INFO 2025-08-14 01:14:18,282 autoreload 24614 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-14 01:14:18,546 autoreload 24708 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 01:14:21,230 log 24708 6133215232 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_detail' with arguments '(0,)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-14 01:14:21,231 basehttp 24708 6133215232 "GET /en/analytics/reports/ HTTP/1.1" 500 204087 WARNING 2025-08-14 01:14:21,249 log 24708 6133215232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:14:21,249 basehttp 24708 6133215232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:14:53,079 autoreload 24708 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-14 01:14:53,369 autoreload 24945 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 01:14:55,383 log 24945 6189264896 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_detail' with arguments '(0,)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-14 01:14:55,384 basehttp 24945 6189264896 "GET /en/analytics/reports/ HTTP/1.1" 500 204241 WARNING 2025-08-14 01:14:55,400 log 24945 6189264896 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:14:55,400 basehttp 24945 6189264896 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-14 01:16:18,637 log 24945 6189264896 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_detail' with arguments '('0',)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-14 01:16:18,638 basehttp 24945 6189264896 "GET /en/analytics/reports/ HTTP/1.1" 500 204481 WARNING 2025-08-14 01:16:18,651 log 24945 6189264896 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:16:18,651 basehttp 24945 6189264896 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-14 01:16:53,401 log 24945 6189264896 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_detail' with arguments '(0,)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-14 01:16:53,402 basehttp 24945 6189264896 "GET /en/analytics/reports/ HTTP/1.1" 500 204190 WARNING 2025-08-14 01:16:53,415 log 24945 6189264896 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:16:53,415 basehttp 24945 6189264896 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:18:20,965 basehttp 24945 6189264896 "GET /en/analytics/reports/ HTTP/1.1" 200 34844 WARNING 2025-08-14 01:18:20,984 log 24945 6189264896 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:18:20,984 basehttp 24945 6189264896 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:18:21,084 basehttp 24945 6189264896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:18:21,109 basehttp 24945 6189264896 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1755123501051 HTTP/1.1" 200 7146 INFO 2025-08-14 01:18:21,110 basehttp 24945 6206091264 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-14 01:19:21,093 basehttp 24945 6206091264 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:19:47,951 basehttp 24945 6206091264 "GET /en/analytics/reports/ HTTP/1.1" 200 34844 WARNING 2025-08-14 01:19:48,014 log 24945 6206091264 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:19:48,014 basehttp 24945 6206091264 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:19:48,065 basehttp 24945 6206091264 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:19:48,087 basehttp 24945 6206091264 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1755123588019 HTTP/1.1" 200 7146 INFO 2025-08-14 01:19:48,087 basehttp 24945 6189264896 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-14 01:20:48,297 basehttp 24945 6189264896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:21:48,292 basehttp 24945 6189264896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:22:48,299 basehttp 24945 6189264896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:23:39,801 basehttp 24945 6189264896 "GET /en/analytics/reports/ HTTP/1.1" 200 34843 WARNING 2025-08-14 01:23:39,833 log 24945 6189264896 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:23:39,833 basehttp 24945 6189264896 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:23:39,914 basehttp 24945 6189264896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:24:35,274 basehttp 24945 6189264896 "GET /en/analytics/reports/ HTTP/1.1" 200 34844 WARNING 2025-08-14 01:24:35,292 log 24945 6189264896 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:24:35,292 basehttp 24945 6189264896 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:24:35,388 basehttp 24945 6189264896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:24:35,410 basehttp 24945 6189264896 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1755123875340 HTTP/1.1" 200 7146 INFO 2025-08-14 01:24:35,411 basehttp 24945 6206091264 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-14 01:25:35,403 basehttp 24945 6206091264 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:26:08,967 autoreload 29977 8601149632 Watching for file changes with StatReloader INFO 2025-08-14 01:26:16,033 basehttp 29977 6158462976 "GET / HTTP/1.1" 302 0 INFO 2025-08-14 01:26:16,115 basehttp 29977 6158462976 "GET /en/ HTTP/1.1" 200 46343 WARNING 2025-08-14 01:26:16,134 log 29977 6158462976 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:26:16,134 basehttp 29977 6158462976 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:26:16,238 basehttp 29977 6158462976 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:26:16,242 basehttp 29977 6208942080 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-14 01:26:16,248 basehttp 29977 6192115712 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-14 01:26:16,251 basehttp 29977 6175289344 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-14 01:26:21,557 basehttp 29977 6175289344 "GET /en/analytics/ HTTP/1.1" 200 51683 WARNING 2025-08-14 01:26:21,574 log 29977 6175289344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:26:21,574 basehttp 29977 6175289344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:26:21,676 basehttp 29977 6175289344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:26:21,678 basehttp 29977 6192115712 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 ERROR 2025-08-14 01:26:27,014 log 29977 6192115712 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_detail' with arguments '(0,)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-14 01:26:27,015 basehttp 29977 6192115712 "GET /en/analytics/reports/ HTTP/1.1" 500 204104 WARNING 2025-08-14 01:26:27,029 log 29977 6192115712 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:26:27,029 basehttp 29977 6192115712 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-14 01:27:51,054 log 29977 6192115712 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_detail' with arguments '(0,)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-14 01:27:51,055 basehttp 29977 6192115712 "GET /en/analytics/reports/ HTTP/1.1" 500 204014 WARNING 2025-08-14 01:27:51,071 log 29977 6192115712 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:27:51,071 basehttp 29977 6192115712 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:28:21,178 autoreload 29977 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-14 01:28:21,483 autoreload 30900 8601149632 Watching for file changes with StatReloader INFO 2025-08-14 01:28:22,576 basehttp 30900 6133542912 "GET /en/analytics/reports/ HTTP/1.1" 200 34898 WARNING 2025-08-14 01:28:22,588 log 30900 6133542912 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:28:22,589 basehttp 30900 6133542912 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:28:22,708 basehttp 30900 6133542912 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:28:22,734 basehttp 30900 6133542912 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1755124102668 HTTP/1.1" 200 7146 INFO 2025-08-14 01:28:22,735 basehttp 30900 6150369280 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-14 01:28:30,784 basehttp 30900 6150369280 "GET /en/analytics/reports/ HTTP/1.1" 200 34898 WARNING 2025-08-14 01:28:30,805 log 30900 6150369280 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:28:30,805 basehttp 30900 6150369280 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:28:30,898 basehttp 30900 6150369280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:28:30,919 basehttp 30900 6133542912 "GET /en/analytics/htmx/stats/ HTTP/1.1" 200 2717 INFO 2025-08-14 01:28:30,920 basehttp 30900 6150369280 "GET /en/analytics/ajax/report-list/?search_value=&category=&status=&type=&_=1755124110853 HTTP/1.1" 200 7146 INFO 2025-08-14 01:29:07,341 autoreload 30900 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-14 01:29:07,683 autoreload 31294 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 01:29:08,234 log 31294 6156185600 Internal Server Error: /en/analytics/reports/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_detail' with arguments '(0,)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/\\Z'] ERROR 2025-08-14 01:29:08,235 basehttp 31294 6156185600 "GET /en/analytics/reports/ HTTP/1.1" 500 203860 WARNING 2025-08-14 01:29:08,256 log 31294 6156185600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:29:08,256 basehttp 31294 6156185600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:29:25,028 basehttp 31294 6156185600 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818 HTTP/1.1" 301 0 ERROR 2025-08-14 01:29:25,044 log 31294 6156185600 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 112, in get self.object = self.get_object() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 46, in get_object raise AttributeError( AttributeError: Generic detail view ReportDetailView must be called with either an object pk or a slug in the URLconf. ERROR 2025-08-14 01:29:25,045 basehttp 31294 6156185600 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ HTTP/1.1" 500 86870 WARNING 2025-08-14 01:29:25,064 log 31294 6156185600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:29:25,064 basehttp 31294 6156185600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:29:44,258 autoreload 31294 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-14 01:29:44,536 autoreload 31556 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 01:29:47,139 log 31556 6126694400 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py", line 560, in get_context_data ).order_by('-execution_time')[:10] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'execution_time' into field. Choices are: completed_at, duration_seconds, error_message, executed_by, executed_by_id, execution_id, execution_parameters, execution_type, output_file_path, output_size_bytes, record_count, report, report_id, started_at, status ERROR 2025-08-14 01:29:47,140 basehttp 31556 6126694400 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ HTTP/1.1" 500 103121 WARNING 2025-08-14 01:29:47,154 log 31556 6126694400 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:29:47,154 basehttp 31556 6126694400 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:30:27,276 autoreload 31556 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/views.py changed, reloading. INFO 2025-08-14 01:30:27,556 autoreload 31873 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 01:30:29,542 log 31873 6134296576 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_update' with arguments '(UUID('1758ef25-98c1-4574-86ca-cf1e4b24e818'),)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9]+)/update/\\Z'] ERROR 2025-08-14 01:30:29,543 basehttp 31873 6134296576 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ HTTP/1.1" 500 179878 WARNING 2025-08-14 01:30:29,560 log 31873 6134296576 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:30:29,560 basehttp 31873 6134296576 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-14 01:31:03,528 log 31873 6134296576 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_update' with arguments '(UUID('1758ef25-98c1-4574-86ca-cf1e4b24e818'),)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9]+)/update/\\Z'] ERROR 2025-08-14 01:31:03,529 basehttp 31873 6134296576 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ HTTP/1.1" 500 179927 WARNING 2025-08-14 01:31:03,541 log 31873 6134296576 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:31:03,542 basehttp 31873 6134296576 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:31:33,147 autoreload 31873 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-14 01:31:33,417 autoreload 32368 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 01:31:35,471 log 32368 6170537984 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_generate' not found. 'report_generate' is not a valid view function or pattern name. ERROR 2025-08-14 01:31:35,472 basehttp 32368 6170537984 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ HTTP/1.1" 500 174837 WARNING 2025-08-14 01:31:35,492 log 32368 6170537984 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:31:35,492 basehttp 32368 6170537984 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-14 01:32:22,170 log 32368 6170537984 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'execute_report' with arguments '(UUID('1758ef25-98c1-4574-86ca-cf1e4b24e818'),)' not found. 1 pattern(s) tried: ['en/analytics/reports/(?P[0-9]+)/execute/\\Z'] ERROR 2025-08-14 01:32:22,171 basehttp 32368 6170537984 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ HTTP/1.1" 500 178648 WARNING 2025-08-14 01:32:22,185 log 32368 6170537984 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:32:22,185 basehttp 32368 6170537984 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:32:46,310 autoreload 32368 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/urls.py changed, reloading. INFO 2025-08-14 01:32:46,574 autoreload 32915 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 01:32:47,218 log 32915 6167851008 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_duplicate' not found. 'report_duplicate' is not a valid view function or pattern name. ERROR 2025-08-14 01:32:47,219 basehttp 32915 6167851008 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ HTTP/1.1" 500 175151 WARNING 2025-08-14 01:32:47,238 log 32915 6167851008 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:32:47,238 basehttp 32915 6167851008 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-14 01:33:20,980 log 32915 6167851008 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_export_definition' not found. 'report_export_definition' is not a valid view function or pattern name. ERROR 2025-08-14 01:33:20,981 basehttp 32915 6167851008 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ HTTP/1.1" 500 176805 WARNING 2025-08-14 01:33:20,994 log 32915 6167851008 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:33:20,994 basehttp 32915 6167851008 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-14 01:33:22,486 log 32915 6167851008 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'report_export_definition' not found. 'report_export_definition' is not a valid view function or pattern name. ERROR 2025-08-14 01:33:22,487 basehttp 32915 6167851008 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ HTTP/1.1" 500 176805 WARNING 2025-08-14 01:33:22,506 log 32915 6167851008 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:33:22,506 basehttp 32915 6167851008 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-14 01:33:48,725 log 32915 6167851008 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'execution_error' not found. 'execution_error' is not a valid view function or pattern name. ERROR 2025-08-14 01:33:48,726 basehttp 32915 6167851008 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ HTTP/1.1" 500 176683 WARNING 2025-08-14 01:33:48,742 log 32915 6167851008 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:33:48,743 basehttp 32915 6167851008 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:34:28,117 basehttp 32915 6167851008 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ HTTP/1.1" 200 29727 WARNING 2025-08-14 01:34:28,136 log 32915 6167851008 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:34:28,136 basehttp 32915 6167851008 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:34:28,228 basehttp 32915 6167851008 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 01:34:51,688 log 32915 6167851008 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 202, in get return super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 72, in get_context_data kwargs["form"] = self.get_form() ^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 37, in get_form return form_class(**self.get_form_kwargs()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/forms.py", line 280, in __init__ ).order_by('source_name') ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'source_name' into field. Choices are: authentication_config, cache_duration, connection_config, connection_type, created_at, created_by, created_by_id, data_transformation, description, health_check_interval, is_active, is_healthy, last_health_check, last_test_duration_seconds, last_test_end_at, last_test_error_message, last_test_start_at, last_test_status, metrics, name, parameters, query_template, reports, source_id, source_type, tenant, tenant_id, updated_at, widgets ERROR 2025-08-14 01:34:51,690 basehttp 32915 6167851008 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ HTTP/1.1" 500 117882 WARNING 2025-08-14 01:34:51,705 log 32915 6167851008 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:34:51,706 basehttp 32915 6167851008 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:35:13,100 autoreload 32915 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/analytics/forms.py changed, reloading. INFO 2025-08-14 01:35:13,441 autoreload 34028 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 01:35:14,022 log 34028 6135263232 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'validate_query' not found. 'validate_query' is not a valid view function or pattern name. ERROR 2025-08-14 01:35:14,023 basehttp 34028 6135263232 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ HTTP/1.1" 500 175387 WARNING 2025-08-14 01:35:14,042 log 34028 6135263232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:35:14,042 basehttp 34028 6135263232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-14 01:39:46,213 log 34028 6135263232 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'query_template' not found. 'query_template' is not a valid view function or pattern name. ERROR 2025-08-14 01:39:46,218 basehttp 34028 6135263232 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ HTTP/1.1" 500 179883 WARNING 2025-08-14 01:39:46,238 log 34028 6135263232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:39:46,238 basehttp 34028 6135263232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:40:16,705 basehttp 34028 6135263232 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ HTTP/1.1" 200 33877 WARNING 2025-08-14 01:40:16,719 basehttp 34028 6168915968 "GET /static/plugins/codemirror/theme/material.css HTTP/1.1" 404 2038 WARNING 2025-08-14 01:40:16,720 basehttp 34028 6152089600 "GET /static/plugins/codemirror/lib/codemirror.css HTTP/1.1" 404 2038 WARNING 2025-08-14 01:40:16,725 basehttp 34028 13338013696 "GET /static/plugins/codemirror/lib/codemirror.js HTTP/1.1" 404 2035 WARNING 2025-08-14 01:40:16,727 log 34028 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:40:16,727 basehttp 34028 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:40:16,727 basehttp 34028 6135263232 "GET /static/plugins/select2/dist/css/select2.min.css HTTP/1.1" 200 14966 INFO 2025-08-14 01:40:16,728 basehttp 34028 13321187328 "GET /static/plugins/select2/dist/js/select2.min.js HTTP/1.1" 200 70851 WARNING 2025-08-14 01:40:16,765 basehttp 34028 13321187328 "GET /static/plugins/codemirror/mode/sql/sql.js HTTP/1.1" 404 2029 WARNING 2025-08-14 01:40:16,765 basehttp 34028 6135263232 "GET /static/plugins/codemirror/mode/javascript/javascript.js HTTP/1.1" 404 2071 INFO 2025-08-14 01:40:16,812 basehttp 34028 13304360960 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:40:36,394 basehttp 34028 13304360960 "POST /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ HTTP/1.1" 200 33877 WARNING 2025-08-14 01:40:36,408 basehttp 34028 6135263232 "GET /static/plugins/codemirror/theme/material.css HTTP/1.1" 404 2038 WARNING 2025-08-14 01:40:36,409 basehttp 34028 13304360960 "GET /static/plugins/codemirror/lib/codemirror.css HTTP/1.1" 404 2038 WARNING 2025-08-14 01:40:36,411 basehttp 34028 6152089600 "GET /static/plugins/codemirror/lib/codemirror.js HTTP/1.1" 404 2035 WARNING 2025-08-14 01:40:36,411 basehttp 34028 6168915968 "GET /static/plugins/codemirror/mode/sql/sql.js HTTP/1.1" 404 2029 WARNING 2025-08-14 01:40:36,419 log 34028 6135263232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:40:36,419 basehttp 34028 6135263232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:40:36,438 basehttp 34028 6135263232 "GET /static/plugins/codemirror/mode/javascript/javascript.js HTTP/1.1" 404 2071 INFO 2025-08-14 01:40:36,500 basehttp 34028 6135263232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:40:39,387 basehttp 34028 6135263232 "POST /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ HTTP/1.1" 200 33877 WARNING 2025-08-14 01:40:39,397 basehttp 34028 6152089600 "GET /static/plugins/codemirror/theme/material.css HTTP/1.1" 404 2038 WARNING 2025-08-14 01:40:39,397 basehttp 34028 6135263232 "GET /static/plugins/codemirror/lib/codemirror.css HTTP/1.1" 404 2038 WARNING 2025-08-14 01:40:39,401 basehttp 34028 6168915968 "GET /static/plugins/codemirror/lib/codemirror.js HTTP/1.1" 404 2035 WARNING 2025-08-14 01:40:39,402 basehttp 34028 13304360960 "GET /static/plugins/codemirror/mode/sql/sql.js HTTP/1.1" 404 2029 WARNING 2025-08-14 01:40:39,406 log 34028 13321187328 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:40:39,407 basehttp 34028 13321187328 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:40:39,427 basehttp 34028 13321187328 "GET /static/plugins/codemirror/mode/javascript/javascript.js HTTP/1.1" 404 2071 INFO 2025-08-14 01:40:39,495 basehttp 34028 6135263232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:41:39,503 basehttp 34028 6135263232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:42:40,250 basehttp 34028 6135263232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:43:41,262 basehttp 34028 6135263232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:44:42,252 basehttp 34028 6135263232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:45:43,243 basehttp 34028 6135263232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:46:44,242 basehttp 34028 6135263232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:47:46,238 basehttp 34028 6135263232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 WARNING 2025-08-14 01:48:15,360 log 34028 6135263232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:48:15,361 basehttp 34028 6135263232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-14 01:48:16,126 log 34028 6135263232 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'validate_query' not found. 'validate_query' is not a valid view function or pattern name. ERROR 2025-08-14 01:48:16,127 basehttp 34028 6135263232 "POST /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ HTTP/1.1" 500 176528 WARNING 2025-08-14 01:48:16,143 log 34028 6135263232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:48:16,143 basehttp 34028 6135263232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-14 01:48:18,695 log 34028 6135263232 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'validate_query' not found. 'validate_query' is not a valid view function or pattern name. ERROR 2025-08-14 01:48:18,697 basehttp 34028 6135263232 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ HTTP/1.1" 500 175256 WARNING 2025-08-14 01:48:18,710 log 34028 6135263232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:48:18,710 basehttp 34028 6135263232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-14 01:48:19,186 log 34028 6135263232 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'validate_query' not found. 'validate_query' is not a valid view function or pattern name. ERROR 2025-08-14 01:48:19,187 basehttp 34028 6135263232 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ HTTP/1.1" 500 175393 WARNING 2025-08-14 01:48:19,201 log 34028 6135263232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:48:19,201 basehttp 34028 6135263232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-14 01:48:19,755 log 34028 6135263232 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'validate_query' not found. 'validate_query' is not a valid view function or pattern name. ERROR 2025-08-14 01:48:19,757 basehttp 34028 6135263232 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ HTTP/1.1" 500 175393 WARNING 2025-08-14 01:48:19,771 log 34028 6135263232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:48:19,771 basehttp 34028 6135263232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:48:20,324 log 34028 6135263232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:48:20,324 basehttp 34028 6135263232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:48:21,264 basehttp 34028 6135263232 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/ HTTP/1.1" 200 29729 WARNING 2025-08-14 01:48:21,282 log 34028 6152089600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:48:21,289 basehttp 34028 6152089600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:48:21,290 basehttp 34028 6152089600 - Broken pipe from ('127.0.0.1', 51179) INFO 2025-08-14 01:48:21,292 basehttp 34028 6135263232 "GET /static/css/apple/app.min.css HTTP/1.1" 200 898634 INFO 2025-08-14 01:48:21,336 basehttp 34028 6152089600 "GET /static/css/apple/app.min.css.map HTTP/1.1" 200 1965938 INFO 2025-08-14 01:48:21,338 basehttp 34028 6135263232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:48:29,252 basehttp 34028 6135263232 "GET / HTTP/1.1" 302 0 INFO 2025-08-14 01:48:29,273 basehttp 34028 6152089600 "GET /en/ HTTP/1.1" 200 46345 WARNING 2025-08-14 01:48:29,292 log 34028 6152089600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:48:29,292 basehttp 34028 6152089600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:48:29,343 basehttp 34028 6152089600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:48:29,354 basehttp 34028 13572796416 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-14 01:48:29,355 basehttp 34028 6168915968 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-14 01:48:29,357 basehttp 34028 6135263232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-14 01:48:41,556 basehttp 34028 6135263232 "GET /en/ HTTP/1.1" 200 46345 WARNING 2025-08-14 01:48:41,573 log 34028 6135263232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:48:41,574 basehttp 34028 6135263232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:48:41,645 basehttp 34028 6152089600 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-14 01:48:41,646 basehttp 34028 6135263232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:48:41,648 basehttp 34028 13572796416 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-14 01:48:41,649 basehttp 34028 6168915968 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-14 01:48:48,239 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:48:48,239 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:48:48,249 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:48:48,250 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-14 01:49:02,073 log 34028 6168915968 Internal Server Error: /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'validate_query' not found. 'validate_query' is not a valid view function or pattern name. ERROR 2025-08-14 01:49:02,074 basehttp 34028 6168915968 "GET /en/analytics/reports/1758ef25-98c1-4574-86ca-cf1e4b24e818/update/ HTTP/1.1" 500 175256 WARNING 2025-08-14 01:49:02,090 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:49:02,090 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:49:04,412 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:49:04,412 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:49:04,423 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:49:04,424 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:49:12,995 basehttp 34028 6168915968 "GET / HTTP/1.1" 302 0 INFO 2025-08-14 01:49:13,007 basehttp 34028 13572796416 "GET /en/ HTTP/1.1" 200 46345 WARNING 2025-08-14 01:49:13,020 log 34028 13572796416 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:49:13,020 basehttp 34028 13572796416 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:49:13,089 basehttp 34028 6152089600 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-14 01:49:13,090 basehttp 34028 13572796416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:49:13,091 basehttp 34028 6168915968 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-14 01:49:13,092 basehttp 34028 6135263232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-14 01:49:18,239 basehttp 34028 6135263232 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 46648 WARNING 2025-08-14 01:49:18,258 log 34028 6135263232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:49:18,258 basehttp 34028 6135263232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:49:18,295 basehttp 34028 6135263232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:50:14,095 basehttp 34028 6135263232 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 46655 INFO 2025-08-14 01:50:14,107 basehttp 34028 6135263232 "GET /static/css/transparent/app.min.css HTTP/1.1" 200 894226 WARNING 2025-08-14 01:50:14,112 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:50:14,112 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:50:14,139 basehttp 34028 6168915968 "GET /static/css/transparent/app.min.css.map HTTP/1.1" 200 1955921 INFO 2025-08-14 01:50:14,164 basehttp 34028 6168915968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:50:32,844 basehttp 34028 6168915968 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 46649 WARNING 2025-08-14 01:50:32,859 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:50:32,860 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:50:32,905 basehttp 34028 6168915968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 01:50:35,418 log 34028 6168915968 Internal Server Error: /en/laboratory/tests/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'lab_test_create' with arguments '(116,)' not found. 1 pattern(s) tried: ['en/laboratory/tests/create/\\Z'] ERROR 2025-08-14 01:50:35,419 basehttp 34028 6168915968 "GET /en/laboratory/tests/ HTTP/1.1" 500 242020 WARNING 2025-08-14 01:50:35,436 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:50:35,436 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:50:54,513 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:50:54,513 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:50:54,524 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:50:54,524 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:50:56,073 basehttp 34028 6168915968 "GET /en/laboratory/tests/create/ HTTP/1.1" 200 46649 WARNING 2025-08-14 01:50:56,093 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:50:56,093 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:50:56,137 basehttp 34028 6168915968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 WARNING 2025-08-14 01:50:57,367 log 34028 6152089600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:50:57,369 basehttp 34028 6152089600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:50:57,369 basehttp 34028 6135263232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:50:57,372 basehttp 34028 6152089600 - Broken pipe from ('127.0.0.1', 51180) INFO 2025-08-14 01:50:57,372 basehttp 34028 13572796416 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-14 01:50:57,374 basehttp 34028 6168915968 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-14 01:50:57,379 log 34028 13572796416 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:50:57,379 basehttp 34028 13572796416 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:50:57,882 basehttp 34028 13572796416 "GET /en/ HTTP/1.1" 200 46346 WARNING 2025-08-14 01:50:57,898 log 34028 13572796416 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:50:57,898 basehttp 34028 13572796416 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:50:57,951 basehttp 34028 13572796416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:50:57,963 basehttp 34028 6135263232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-14 01:50:57,965 basehttp 34028 6152089600 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-14 01:50:57,965 basehttp 34028 6168915968 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-14 01:51:00,132 basehttp 34028 6168915968 "GET /en/ HTTP/1.1" 200 46346 WARNING 2025-08-14 01:51:00,151 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:51:00,151 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:51:00,222 basehttp 34028 13572796416 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-14 01:51:00,222 basehttp 34028 6168915968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:51:00,223 basehttp 34028 6135263232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-14 01:51:00,224 basehttp 34028 6152089600 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-14 01:51:05,792 basehttp 34028 6152089600 "GET /en/emr HTTP/1.1" 301 0 INFO 2025-08-14 01:51:05,831 basehttp 34028 6135263232 "GET /en/emr/ HTTP/1.1" 200 71317 WARNING 2025-08-14 01:51:05,850 log 34028 6135263232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:51:05,850 basehttp 34028 6135263232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:51:05,878 basehttp 34028 6135263232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:51:05,880 basehttp 34028 6168915968 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-14 01:51:22,615 basehttp 34028 6168915968 "GET /en/emr/encounters/3101/ HTTP/1.1" 200 26928 WARNING 2025-08-14 01:51:22,639 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:51:22,640 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:51:22,677 basehttp 34028 6168915968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 WARNING 2025-08-14 01:51:25,994 log 34028 6168915968 Bad Request: /en/emr/encounter/3101/vitals/add/ WARNING 2025-08-14 01:51:25,994 basehttp 34028 6168915968 "GET /en/emr/encounter/3101/vitals/add/ HTTP/1.1" 400 28 INFO 2025-08-14 01:51:51,751 basehttp 34028 6168915968 "GET /en/emr/encounters/3101/ HTTP/1.1" 200 26928 WARNING 2025-08-14 01:51:51,764 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:51:51,764 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:51:51,803 basehttp 34028 6168915968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 WARNING 2025-08-14 01:51:57,241 log 34028 6168915968 Not Found: /en/patients/73/details/ WARNING 2025-08-14 01:51:57,241 basehttp 34028 6168915968 "GET /en/patients/73/details/ HTTP/1.1" 404 26802 WARNING 2025-08-14 01:51:57,262 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:51:57,262 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:52:02,676 log 34028 6168915968 Not Found: /en/patients/73/details/ WARNING 2025-08-14 01:52:02,676 basehttp 34028 6168915968 "GET /en/patients/73/details/ HTTP/1.1" 404 26802 WARNING 2025-08-14 01:52:02,690 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:52:02,691 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:52:04,310 log 34028 6168915968 Not Found: /en/patients/73/details/ WARNING 2025-08-14 01:52:04,310 basehttp 34028 6168915968 "GET /en/patients/73/details/ HTTP/1.1" 404 26802 WARNING 2025-08-14 01:52:04,327 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:52:04,327 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:52:14,389 log 34028 6168915968 Not Found: /en/patients/73/profile/ WARNING 2025-08-14 01:52:14,390 basehttp 34028 6168915968 "GET /en/patients/73/profile/ HTTP/1.1" 404 41015 WARNING 2025-08-14 01:52:14,406 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:52:14,406 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:52:28,721 log 34028 6168915968 Not Found: /en/patients/73/details/ WARNING 2025-08-14 01:52:28,721 basehttp 34028 6168915968 "GET /en/patients/73/details/ HTTP/1.1" 404 26802 WARNING 2025-08-14 01:52:28,740 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:52:28,740 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:52:37,755 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:52:37,755 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:52:38,325 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:52:38,325 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:52:38,835 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:52:38,835 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:52:38,846 log 34028 6168915968 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:52:38,846 basehttp 34028 6168915968 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:52:51,813 basehttp 34028 6168915968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:53:52,066 basehttp 34028 6168915968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:53:53,026 basehttp 34028 6168915968 "GET /en/admin/ HTTP/1.1" 200 87876 INFO 2025-08-14 01:53:57,950 basehttp 34028 6168915968 "GET /en/admin/patients/patientprofile/ HTTP/1.1" 200 134437 INFO 2025-08-14 01:53:57,961 basehttp 34028 6152089600 "GET /static/admin/js/jquery.init.js HTTP/1.1" 200 347 INFO 2025-08-14 01:53:57,961 basehttp 34028 6168915968 "GET /static/admin/css/changelists.css HTTP/1.1" 200 6878 INFO 2025-08-14 01:53:57,961 basehttp 34028 13589622784 "GET /static/admin/js/core.js HTTP/1.1" 200 6208 INFO 2025-08-14 01:53:57,961 basehttp 34028 13606449152 "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 200 9777 INFO 2025-08-14 01:53:57,963 basehttp 34028 6168915968 "GET /static/admin/js/urlify.js HTTP/1.1" 200 7887 INFO 2025-08-14 01:53:57,963 basehttp 34028 6152089600 "GET /static/admin/js/actions.js HTTP/1.1" 200 8076 INFO 2025-08-14 01:53:57,964 basehttp 34028 13606449152 "GET /static/admin/js/prepopulate.js HTTP/1.1" 200 1531 INFO 2025-08-14 01:53:57,966 basehttp 34028 6168915968 "GET /static/admin/img/icon-yes.svg HTTP/1.1" 200 436 INFO 2025-08-14 01:53:57,966 basehttp 34028 6152089600 "GET /static/admin/img/search.svg HTTP/1.1" 200 458 INFO 2025-08-14 01:53:57,968 basehttp 34028 13572796416 "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 200 285314 INFO 2025-08-14 01:53:57,970 basehttp 34028 6135263232 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-14 01:53:57,971 basehttp 34028 6135263232 "GET /static/admin/js/filters.js HTTP/1.1" 200 978 INFO 2025-08-14 01:53:57,972 basehttp 34028 13589622784 "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 200 325171 INFO 2025-08-14 01:53:57,983 basehttp 34028 13589622784 "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 200 331 INFO 2025-08-14 01:53:57,984 basehttp 34028 13589622784 "GET /static/admin/img/icon-viewlink.svg HTTP/1.1" 200 581 INFO 2025-08-14 01:54:03,241 basehttp 34028 13589622784 "GET /en/admin/patients/patientprofile/28/change/ HTTP/1.1" 200 191521 INFO 2025-08-14 01:54:03,252 basehttp 34028 13589622784 "GET /static/admin/css/forms.css HTTP/1.1" 200 8525 INFO 2025-08-14 01:54:03,255 basehttp 34028 6135263232 "GET /static/admin/js/calendar.js HTTP/1.1" 200 9141 INFO 2025-08-14 01:54:03,256 basehttp 34028 6152089600 "GET /static/admin/js/inlines.js HTTP/1.1" 200 15628 INFO 2025-08-14 01:54:03,256 basehttp 34028 6168915968 "GET /static/admin/js/prepopulate_init.js HTTP/1.1" 200 586 INFO 2025-08-14 01:54:03,256 basehttp 34028 13572796416 "GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 200 19319 INFO 2025-08-14 01:54:03,256 basehttp 34028 13606449152 "GET /static/admin/css/widgets.css HTTP/1.1" 200 11991 INFO 2025-08-14 01:54:03,258 basehttp 34028 6152089600 "GET /static/admin/img/icon-deletelink.svg HTTP/1.1" 200 392 INFO 2025-08-14 01:54:03,259 basehttp 34028 13589622784 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-14 01:54:03,259 basehttp 34028 6152089600 "GET /static/admin/img/icon-unknown.svg HTTP/1.1" 200 655 INFO 2025-08-14 01:54:03,260 basehttp 34028 6152089600 "GET /static/admin/js/change_form.js HTTP/1.1" 200 606 INFO 2025-08-14 01:54:03,292 basehttp 34028 6152089600 "GET /static/admin/img/inline-delete.svg HTTP/1.1" 200 537 INFO 2025-08-14 01:54:03,296 basehttp 34028 6152089600 "GET /static/admin/img/icon-calendar.svg HTTP/1.1" 200 1086 INFO 2025-08-14 01:54:03,297 basehttp 34028 13589622784 "GET /static/admin/img/icon-clock.svg HTTP/1.1" 200 677 INFO 2025-08-14 01:54:40,723 autoreload 34028 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-14 01:54:41,095 autoreload 42722 8601149632 Watching for file changes with StatReloader INFO 2025-08-14 01:54:42,890 basehttp 42722 6202552320 "GET /en/emr/encounters/3101/ HTTP/1.1" 200 26943 WARNING 2025-08-14 01:54:42,909 log 42722 6202552320 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:54:42,909 basehttp 42722 6202552320 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:54:42,956 basehttp 42722 6202552320 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 WARNING 2025-08-14 01:54:46,507 log 42722 6202552320 Not Found: /en/patients/patientprofile/73/details/ WARNING 2025-08-14 01:54:46,507 basehttp 42722 6202552320 "GET /en/patients/patientprofile/73/details/ HTTP/1.1" 404 26862 WARNING 2025-08-14 01:54:46,529 log 42722 6202552320 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:54:46,530 basehttp 42722 6202552320 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:55:01,653 basehttp 42722 6202552320 "GET /en/admin/patients/patientprofile/ HTTP/1.1" 200 134437 INFO 2025-08-14 01:55:45,687 basehttp 42722 6202552320 "GET /en/patients/ HTTP/1.1" 200 66237 WARNING 2025-08-14 01:55:45,703 log 42722 6202552320 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:55:45,703 basehttp 42722 6202552320 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:55:45,761 basehttp 42722 6202552320 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:55:45,765 basehttp 42722 6219378688 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-14 01:55:52,455 basehttp 42722 6219378688 "GET /en/patients/patientprofile/115/details/ HTTP/1.1" 200 36909 WARNING 2025-08-14 01:55:52,473 log 42722 6219378688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:55:52,473 basehttp 42722 6219378688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:55:52,539 basehttp 42722 6219378688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 01:55:52,547 log 42722 6253031424 Internal Server Error: /en/patients/htmx/appointments/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' ERROR 2025-08-14 01:55:52,549 basehttp 42722 6253031424 "GET /en/patients/htmx/appointments/115/ HTTP/1.1" 500 63450 ERROR 2025-08-14 01:55:52,557 log 42722 6202552320 Internal Server Error: /en/patients/htmx/emergency-contacts/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-14 01:55:52,565 log 42722 6236205056 Internal Server Error: /en/patients/insurance-info/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-14 01:55:52,566 basehttp 42722 6202552320 "GET /en/patients/htmx/emergency-contacts/115/ HTTP/1.1" 500 90061 ERROR 2025-08-14 01:55:52,571 basehttp 42722 6236205056 "GET /en/patients/insurance-info/115/ HTTP/1.1" 500 105554 INFO 2025-08-14 01:56:52,522 basehttp 42722 6236205056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:57:52,531 basehttp 42722 6236205056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:58:52,527 basehttp 42722 6236205056 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 01:59:23,705 autoreload 42722 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-14 01:59:24,112 autoreload 44797 8601149632 Watching for file changes with StatReloader WARNING 2025-08-14 01:59:26,636 log 44797 6163230720 Not Found: /en/patients/patientprofile/115/details/ WARNING 2025-08-14 01:59:26,636 basehttp 44797 6163230720 "GET /en/patients/patientprofile/115/details/ HTTP/1.1" 404 41063 WARNING 2025-08-14 01:59:26,663 log 44797 6163230720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:59:26,663 basehttp 44797 6163230720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:59:31,751 basehttp 44797 6163230720 "GET /en/patients/115/details/ HTTP/1.1" 200 36909 WARNING 2025-08-14 01:59:31,765 log 44797 6163230720 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:59:31,765 basehttp 44797 6163230720 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:59:31,829 basehttp 44797 6163230720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 01:59:31,840 log 44797 13069578240 Internal Server Error: /en/patients/htmx/appointments/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' ERROR 2025-08-14 01:59:31,842 basehttp 44797 13069578240 "GET /en/patients/htmx/appointments/115/ HTTP/1.1" 500 63420 ERROR 2025-08-14 01:59:31,849 log 44797 13035925504 Internal Server Error: /en/patients/htmx/emergency-contacts/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-14 01:59:31,856 log 44797 13052751872 Internal Server Error: /en/patients/insurance-info/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-14 01:59:31,856 basehttp 44797 13035925504 "GET /en/patients/htmx/emergency-contacts/115/ HTTP/1.1" 500 90031 ERROR 2025-08-14 01:59:31,857 basehttp 44797 13052751872 "GET /en/patients/insurance-info/115/ HTTP/1.1" 500 105524 INFO 2025-08-14 01:59:34,952 basehttp 44797 13052751872 "GET /en/appointments/create/?patient=115 HTTP/1.1" 200 33642 WARNING 2025-08-14 01:59:34,977 log 44797 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:59:34,978 basehttp 44797 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:59:35,012 basehttp 44797 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 WARNING 2025-08-14 01:59:41,765 log 44797 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:59:41,765 basehttp 44797 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 01:59:41,810 log 44797 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:59:41,810 basehttp 44797 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:59:42,895 basehttp 44797 13052751872 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 200 55824 WARNING 2025-08-14 01:59:42,926 log 44797 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 01:59:42,927 basehttp 44797 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 01:59:42,956 basehttp 44797 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:00:02,015 basehttp 44797 13052751872 "GET /en/emr/encounters/ HTTP/1.1" 200 147983 WARNING 2025-08-14 02:00:02,033 log 44797 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 02:00:02,033 basehttp 44797 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 02:00:02,091 basehttp 44797 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:00:11,237 basehttp 44797 13052751872 "GET /en/emr/encounters/2098/ HTTP/1.1" 200 28537 WARNING 2025-08-14 02:00:11,256 log 44797 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 02:00:11,257 basehttp 44797 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 02:00:11,296 basehttp 44797 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 02:00:14,798 log 44797 13052751872 Internal Server Error: /en/emr/notes/create/2098/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 178, in get return super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 72, in get_context_data kwargs["form"] = self.get_form() ^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 37, in get_form return form_class(**self.get_form_kwargs()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/emr/forms.py", line 294, in __init__ super().__init__(*args, **kwargs) TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'user' ERROR 2025-08-14 02:00:14,799 basehttp 44797 13052751872 "GET /en/emr/notes/create/2098/ HTTP/1.1" 500 98919 WARNING 2025-08-14 02:00:32,958 log 44797 13052751872 Not Found: /en/patients/139/details/ WARNING 2025-08-14 02:00:32,958 basehttp 44797 13052751872 "GET /en/patients/139/details/ HTTP/1.1" 404 26805 WARNING 2025-08-14 02:00:32,981 log 44797 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 02:00:32,981 basehttp 44797 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 02:00:37,791 log 44797 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 02:00:37,792 basehttp 44797 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 02:00:37,813 log 44797 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 02:00:37,813 basehttp 44797 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 02:01:01,398 basehttp 44797 13052751872 "GET /en/admin/patients/patientprofile/34/change/ HTTP/1.1" 200 191595 INFO 2025-08-14 02:01:01,415 basehttp 44797 13052751872 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-14 02:01:12,082 basehttp 44797 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 WARNING 2025-08-14 02:01:30,868 log 44797 13052751872 Not Found: /en/patients/139/details/ WARNING 2025-08-14 02:01:30,868 basehttp 44797 13052751872 "GET /en/patients/139/details/ HTTP/1.1" 404 26805 WARNING 2025-08-14 02:01:30,891 log 44797 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 02:01:30,892 basehttp 44797 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 02:01:40,666 log 44797 13052751872 Not Found: /en/patients/32/details/ WARNING 2025-08-14 02:01:40,666 basehttp 44797 13052751872 "GET /en/patients/32/details/ HTTP/1.1" 404 26802 WARNING 2025-08-14 02:01:40,682 log 44797 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 02:01:40,682 basehttp 44797 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 02:02:04,316 log 44797 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 02:02:04,316 basehttp 44797 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 02:02:06,487 log 44797 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 02:02:06,487 basehttp 44797 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-14 02:02:06,502 log 44797 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-14 02:02:06,506 basehttp 44797 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-14 02:02:12,084 basehttp 44797 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 WARNING 2025-08-14 02:02:16,513 log 44797 13052751872 Not Found: /en/patients/139/details/ WARNING 2025-08-14 02:02:16,513 basehttp 44797 13052751872 "GET /en/patients/139/details/ HTTP/1.1" 404 26805 INFO 2025-08-14 02:02:48,446 basehttp 44797 13052751872 "GET /en/admin/patients/patientprofile/ HTTP/1.1" 200 134437 INFO 2025-08-14 02:02:48,457 basehttp 44797 13052751872 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-14 02:03:07,249 autoreload 44797 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/urls.py changed, reloading. INFO 2025-08-14 02:03:07,636 autoreload 46439 8601149632 Watching for file changes with StatReloader WARNING 2025-08-14 02:03:08,736 log 46439 6169899008 Not Found: /en/patients/139/details/ WARNING 2025-08-14 02:03:08,737 basehttp 46439 6169899008 "GET /en/patients/139/details/ HTTP/1.1" 404 41033 INFO 2025-08-14 02:03:13,150 basehttp 46439 6169899008 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 WARNING 2025-08-14 02:03:17,646 log 46439 6169899008 Not Found: /en/patients/patientprofile/139/details/ WARNING 2025-08-14 02:03:17,646 basehttp 46439 6169899008 "GET /en/patients/patientprofile/139/details/ HTTP/1.1" 404 26865 INFO 2025-08-14 02:03:33,630 basehttp 46439 6169899008 "GET /en/patients/ HTTP/1.1" 200 66237 INFO 2025-08-14 02:03:33,681 basehttp 46439 6169899008 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:03:33,686 basehttp 46439 6325039104 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12298 INFO 2025-08-14 02:03:44,031 basehttp 46439 6325039104 "GET /en/patients/patientprofile/115/details/ HTTP/1.1" 200 36909 INFO 2025-08-14 02:03:44,095 basehttp 46439 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 02:03:44,100 log 46439 6358691840 Internal Server Error: /en/patients/htmx/appointments/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' ERROR 2025-08-14 02:03:44,102 basehttp 46439 6358691840 "GET /en/patients/htmx/appointments/115/ HTTP/1.1" 500 63450 ERROR 2025-08-14 02:03:44,110 log 46439 6169899008 Internal Server Error: /en/patients/htmx/emergency-contacts/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-14 02:03:44,113 basehttp 46439 6169899008 "GET /en/patients/htmx/emergency-contacts/115/ HTTP/1.1" 500 90061 ERROR 2025-08-14 02:03:44,118 log 46439 6341865472 Internal Server Error: /en/patients/insurance-info/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-14 02:03:44,118 basehttp 46439 6341865472 "GET /en/patients/insurance-info/115/ HTTP/1.1" 500 105554 INFO 2025-08-14 02:03:49,163 basehttp 46439 6341865472 "GET /en/patients/update/115/ HTTP/1.1" 200 41680 INFO 2025-08-14 02:03:49,199 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:03:59,921 basehttp 46439 6169899008 "GET /en/patients/patientprofile/115/details/ HTTP/1.1" 200 36909 INFO 2025-08-14 02:03:59,977 basehttp 46439 6169899008 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 02:03:59,990 log 46439 6358691840 Internal Server Error: /en/patients/htmx/appointments/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' ERROR 2025-08-14 02:03:59,992 basehttp 46439 6358691840 "GET /en/patients/htmx/appointments/115/ HTTP/1.1" 500 63450 ERROR 2025-08-14 02:04:00,000 log 46439 6325039104 Internal Server Error: /en/patients/htmx/emergency-contacts/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-14 02:04:00,002 basehttp 46439 6325039104 "GET /en/patients/htmx/emergency-contacts/115/ HTTP/1.1" 500 90061 ERROR 2025-08-14 02:04:00,007 log 46439 6341865472 Internal Server Error: /en/patients/insurance-info/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-14 02:04:00,008 basehttp 46439 6341865472 "GET /en/patients/insurance-info/115/ HTTP/1.1" 500 105554 ERROR 2025-08-14 02:04:07,255 log 46439 6341865472 Internal Server Error: /en/patients/emergency-contacts/create/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/patients/patientprofile/(?P[0-9]+)/details/\\Z'] ERROR 2025-08-14 02:04:07,257 basehttp 46439 6341865472 "GET /en/patients/emergency-contacts/create/115/ HTTP/1.1" 500 181530 INFO 2025-08-14 02:04:14,075 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:05:15,070 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:06:15,984 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:07:17,982 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 02:07:41,668 log 46439 6341865472 Internal Server Error: /en/patients/emergency-contacts/create/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/patients/patientprofile/(?P[0-9]+)/details/\\Z'] ERROR 2025-08-14 02:07:41,669 basehttp 46439 6341865472 "GET /en/patients/emergency-contacts/create/115/ HTTP/1.1" 500 181667 ERROR 2025-08-14 02:08:50,014 log 46439 6341865472 Internal Server Error: /en/patients/emergency-contacts/create/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/patients/patientprofile/(?P[0-9]+)/details/\\Z'] ERROR 2025-08-14 02:08:50,015 basehttp 46439 6341865472 "GET /en/patients/emergency-contacts/create/115/ HTTP/1.1" 500 181663 ERROR 2025-08-14 02:08:51,552 log 46439 6341865472 Internal Server Error: /en/patients/emergency-contacts/create/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/patients/patientprofile/(?P[0-9]+)/details/\\Z'] ERROR 2025-08-14 02:08:51,554 basehttp 46439 6341865472 "GET /en/patients/emergency-contacts/create/115/ HTTP/1.1" 500 181663 INFO 2025-08-14 02:09:09,984 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 02:09:37,918 log 46439 6341865472 Internal Server Error: /en/patients/emergency-contacts/create/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/patients/patientprofile/(?P[0-9]+)/details/\\Z'] ERROR 2025-08-14 02:09:37,919 basehttp 46439 6341865472 "GET /en/patients/emergency-contacts/create/115/ HTTP/1.1" 500 181498 INFO 2025-08-14 02:10:06,346 basehttp 46439 6341865472 "GET /en/patients/emergency-contacts/create/115/ HTTP/1.1" 200 34873 INFO 2025-08-14 02:10:06,390 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:10:55,806 basehttp 46439 6341865472 "GET /en/patients/emergency-contacts/create/115/ HTTP/1.1" 200 34873 INFO 2025-08-14 02:10:55,843 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:11:09,969 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:11:16,851 basehttp 46439 6341865472 "GET /en/patients/emergency-contacts/create/115/ HTTP/1.1" 200 34873 INFO 2025-08-14 02:11:16,889 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:11:38,398 basehttp 46439 6341865472 "GET /en/patients/emergency-contacts/create/115/ HTTP/1.1" 200 34873 INFO 2025-08-14 02:11:38,436 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:11:56,340 basehttp 46439 6341865472 "GET /en/patients/emergency-contacts/create/115/ HTTP/1.1" 200 34873 INFO 2025-08-14 02:11:56,378 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:12:56,391 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:13:09,978 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:13:56,392 basehttp 46439 6341865472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:14:52,068 autoreload 46439 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/forms.py changed, reloading. INFO 2025-08-14 02:14:52,470 autoreload 51672 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 02:14:53,188 log 51672 6171373568 Internal Server Error: /en/patients/emergency-contacts/create/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/patients/patientprofile/(?P[0-9]+)/details/\\Z'] ERROR 2025-08-14 02:14:53,189 basehttp 51672 6171373568 "GET /en/patients/emergency-contacts/create/115/ HTTP/1.1" 500 181667 INFO 2025-08-14 02:15:00,977 autoreload 51672 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/forms.py changed, reloading. INFO 2025-08-14 02:15:01,274 autoreload 51763 8601149632 Watching for file changes with StatReloader INFO 2025-08-14 02:15:10,039 basehttp 51763 6130806784 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:15:24,378 autoreload 51763 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/forms.py changed, reloading. INFO 2025-08-14 02:15:24,655 autoreload 51936 8601149632 Watching for file changes with StatReloader INFO 2025-08-14 02:16:28,950 autoreload 51936 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py changed, reloading. INFO 2025-08-14 02:16:29,284 autoreload 52413 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 02:16:31,245 log 52413 6157742080 Internal Server Error: /en/patients/emergency-contacts/create/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/patients/patientprofile/(?P[0-9]+)/details/\\Z'] ERROR 2025-08-14 02:16:31,246 basehttp 52413 6157742080 "GET /en/patients/emergency-contacts/create/115/ HTTP/1.1" 500 181667 ERROR 2025-08-14 02:16:32,832 log 52413 6157742080 Internal Server Error: /en/patients/emergency-contacts/create/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/patients/patientprofile/(?P[0-9]+)/details/\\Z'] ERROR 2025-08-14 02:16:32,833 basehttp 52413 6157742080 "GET /en/patients/emergency-contacts/create/115/ HTTP/1.1" 500 181667 INFO 2025-08-14 02:17:04,891 autoreload 52413 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py changed, reloading. INFO 2025-08-14 02:17:05,184 autoreload 52720 8601149632 Watching for file changes with StatReloader INFO 2025-08-14 02:17:10,014 basehttp 52720 6165082112 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:17:10,638 autoreload 52720 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/patients/forms.py changed, reloading. INFO 2025-08-14 02:17:10,905 autoreload 52734 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 02:17:26,943 log 52734 6164754432 Internal Server Error: /en/patients/emergency-contacts/create/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'patient_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['en/patients/patientprofile/(?P[0-9]+)/details/\\Z'] ERROR 2025-08-14 02:17:26,945 basehttp 52734 6164754432 "GET /en/patients/emergency-contacts/create/115/ HTTP/1.1" 500 181667 INFO 2025-08-14 02:17:28,011 basehttp 52734 6164754432 "GET /en/patients/patientprofile/115/details/ HTTP/1.1" 200 36909 INFO 2025-08-14 02:17:28,059 basehttp 52734 6164754432 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 02:17:28,073 log 52734 6215233536 Internal Server Error: /en/patients/htmx/appointments/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' ERROR 2025-08-14 02:17:28,075 basehttp 52734 6215233536 "GET /en/patients/htmx/appointments/115/ HTTP/1.1" 500 63450 ERROR 2025-08-14 02:17:28,085 log 52734 6181580800 Internal Server Error: /en/patients/htmx/emergency-contacts/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-14 02:17:28,092 log 52734 6198407168 Internal Server Error: /en/patients/insurance-info/115/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-14 02:17:28,092 basehttp 52734 6181580800 "GET /en/patients/htmx/emergency-contacts/115/ HTTP/1.1" 500 90061 ERROR 2025-08-14 02:17:28,093 basehttp 52734 6198407168 "GET /en/patients/insurance-info/115/ HTTP/1.1" 500 105554 INFO 2025-08-14 02:17:30,398 basehttp 52734 6198407168 "GET /en/laboratory/orders/create/?patient=115 HTTP/1.1" 200 76782 INFO 2025-08-14 02:17:30,436 basehttp 52734 6198407168 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:17:40,323 basehttp 52734 6198407168 "GET /en/emr/encounters/create/?patient=115 HTTP/1.1" 200 55824 INFO 2025-08-14 02:17:40,354 basehttp 52734 6198407168 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:18:22,983 basehttp 52734 6198407168 "GET /en/patients/register/?return_url=/en/emr/encounters/create/ HTTP/1.1" 200 27336 INFO 2025-08-14 02:18:23,013 basehttp 52734 6198407168 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 02:18:40,367 basehttp 52734 6198407168 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 17:29:25,835 autoreload 77555 8601149632 Watching for file changes with StatReloader INFO 2025-08-14 17:29:29,560 basehttp 77555 6164115456 "GET /en/emr/encounters/2098/ HTTP/1.1" 200 28552 INFO 2025-08-14 17:29:29,649 basehttp 77555 6164115456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 17:29:31,482 basehttp 77555 6164115456 "GET / HTTP/1.1" 302 0 INFO 2025-08-14 17:29:31,499 basehttp 77555 6164115456 "GET /en/ HTTP/1.1" 200 46417 INFO 2025-08-14 17:29:31,601 basehttp 77555 6164115456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 17:29:31,607 basehttp 77555 6358691840 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-14 17:29:31,608 basehttp 77555 6341865472 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-14 17:29:31,612 basehttp 77555 6325039104 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-14 17:29:53,215 basehttp 77555 6325039104 "GET /en/ HTTP/1.1" 200 46417 INFO 2025-08-14 17:29:53,271 basehttp 77555 6164115456 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-14 17:29:53,272 basehttp 77555 6358691840 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-14 17:29:53,273 basehttp 77555 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 17:29:53,275 basehttp 77555 6341865472 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-14 17:30:01,944 basehttp 77555 6341865472 "GET /en/pharmacy HTTP/1.1" 301 0 INFO 2025-08-14 17:30:01,963 basehttp 77555 6325039104 "GET /en/pharmacy/ HTTP/1.1" 200 33888 INFO 2025-08-14 17:30:02,002 basehttp 77555 6325039104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 17:30:02,065 log 77555 6164115456 Internal Server Error: /en/pharmacy/inventory-alerts/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 737, in inventory_alerts low_stock = InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-14 17:30:02,075 log 77555 6358691840 Internal Server Error: /en/pharmacy/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 682, in pharmacy_stats 'low_stock_items': InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-14 17:30:02,075 basehttp 77555 6164115456 "GET /en/pharmacy/inventory-alerts/ HTTP/1.1" 500 125429 ERROR 2025-08-14 17:30:02,076 basehttp 77555 6358691840 "GET /en/pharmacy/stats/ HTTP/1.1" 500 125246 ERROR 2025-08-14 17:30:32,043 log 77555 6358691840 Internal Server Error: /en/pharmacy/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 682, in pharmacy_stats 'low_stock_items': InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-14 17:30:32,044 basehttp 77555 6358691840 "GET /en/pharmacy/stats/ HTTP/1.1" 500 125246 ERROR 2025-08-14 17:30:42,426 log 77555 6358691840 Internal Server Error: /en/pharmacy/medications/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'validate_ndc' not found. 'validate_ndc' is not a valid view function or pattern name. ERROR 2025-08-14 17:30:42,428 basehttp 77555 6358691840 "GET /en/pharmacy/medications/create/ HTTP/1.1" 500 179536 ERROR 2025-08-14 17:30:46,830 log 77555 6358691840 Internal Server Error: /en/pharmacy/inventory/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 178, in get return super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 72, in get_context_data kwargs["form"] = self.get_form() ^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 37, in get_form return form_class(**self.get_form_kwargs()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'user' ERROR 2025-08-14 17:30:46,831 basehttp 77555 6358691840 "GET /en/pharmacy/inventory/create/ HTTP/1.1" 500 94423 ERROR 2025-08-14 17:30:55,809 log 77555 6358691840 Internal Server Error: /en/pharmacy/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 420, in get_queryset ).select_related('medication').order_by('medication__name', 'expiry_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'expiry_date' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-14 17:30:55,810 basehttp 77555 6358691840 "GET /en/pharmacy/inventory/ HTTP/1.1" 500 106424 INFO 2025-08-14 17:31:17,398 autoreload 77555 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-14 17:31:17,756 autoreload 78343 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 17:31:18,702 log 78343 6137671680 Internal Server Error: /en/pharmacy/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 423, in get_queryset form = InventorySearchForm(data=self.request.GET, user=self.request.user) ^^^^^^^^^^^^^^^^^^^ NameError: name 'InventorySearchForm' is not defined. Did you mean: 'InventoryItemForm'? ERROR 2025-08-14 17:31:18,705 basehttp 78343 6137671680 "GET /en/pharmacy/inventory/ HTTP/1.1" 500 86142 INFO 2025-08-14 17:33:35,503 autoreload 78343 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-14 17:33:35,832 autoreload 79348 8601149632 Watching for file changes with StatReloader INFO 2025-08-14 17:34:32,704 autoreload 79348 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-14 17:34:32,980 autoreload 79816 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 17:34:36,055 log 79816 6167834624 Internal Server Error: /en/pharmacy/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 423, in get_queryset form = InventoryItemForm(data=self.request.GET, user=self.request.user) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'user' ERROR 2025-08-14 17:34:36,056 basehttp 79816 6167834624 "GET /en/pharmacy/inventory/ HTTP/1.1" 500 86328 INFO 2025-08-14 17:35:05,306 autoreload 79816 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-14 17:35:05,618 autoreload 80065 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 17:35:08,154 log 80065 6136475648 Internal Server Error: /en/pharmacy/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 461, in get_context_data context['search_form'] = InventorySearchForm( ^^^^^^^^^^^^^^^^^^^ NameError: name 'InventorySearchForm' is not defined. Did you mean: 'InventoryItemForm'? ERROR 2025-08-14 17:35:08,156 basehttp 80065 6136475648 "GET /en/pharmacy/inventory/ HTTP/1.1" 500 86492 INFO 2025-08-14 17:35:28,598 autoreload 80065 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-14 17:35:28,911 autoreload 80224 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 17:35:31,837 log 80224 6171455488 Internal Server Error: /en/pharmacy/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 461, in get_context_data context['search_form'] = InventoryItemForm( ^^^^^^^^^^^^^^^^^^ TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'user' ERROR 2025-08-14 17:35:31,838 basehttp 80224 6171455488 "GET /en/pharmacy/inventory/ HTTP/1.1" 500 86550 INFO 2025-08-14 17:35:43,618 autoreload 80224 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-14 17:35:43,909 autoreload 80400 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 17:35:45,773 log 80400 6162624512 Internal Server Error: /en/pharmacy/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'inventory_search' not found. 'inventory_search' is not a valid view function or pattern name. ERROR 2025-08-14 17:35:45,774 basehttp 80400 6162624512 "GET /en/pharmacy/inventory/ HTTP/1.1" 500 174298 ERROR 2025-08-14 17:36:38,038 log 80400 6162624512 Internal Server Error: /en/pharmacy/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'inventory_search' not found. 'inventory_search' is not a valid view function or pattern name. ERROR 2025-08-14 17:36:38,039 basehttp 80400 6162624512 "GET /en/pharmacy/inventory/ HTTP/1.1" 500 174888 ERROR 2025-08-14 17:36:38,920 log 80400 6162624512 Internal Server Error: /en/pharmacy/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'inventory_search' not found. 'inventory_search' is not a valid view function or pattern name. ERROR 2025-08-14 17:36:38,921 basehttp 80400 6162624512 "GET /en/pharmacy/inventory/ HTTP/1.1" 500 174888 ERROR 2025-08-14 17:37:09,572 log 80400 6162624512 Internal Server Error: /en/pharmacy/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'inventory_search' not found. 'inventory_search' is not a valid view function or pattern name. ERROR 2025-08-14 17:37:09,573 basehttp 80400 6162624512 "GET /en/pharmacy/inventory/ HTTP/1.1" 500 176636 ERROR 2025-08-14 17:37:37,277 log 80400 6162624512 Internal Server Error: /en/pharmacy/inventory/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1923, in transform return self.try_transform(wrapped, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1458, in try_transform raise FieldError( django.core.exceptions.FieldError: Unsupported lookup 'name' for BigAutoField or join on the field not permitted. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1075, in render output = self.filter_expression.resolve(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 743, in resolve arg_vals.append(arg.resolve(context)) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 854, in resolve value = self._resolve_lookup(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 925, in _resolve_lookup current = current() ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 604, in count return self.query.get_count(using=self.db) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 644, in get_count return obj.get_aggregation(using, {"__count": Count("*")})["__count"] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 626, in get_aggregation result = compiler.execute_sql(SINGLE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1610, in execute_sql sql, params = self.as_sql() ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 2159, in as_sql ).as_sql(with_col_aliases=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 766, in as_sql extra_select, order_by, group_by = self.pre_sql_setup( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 86, in pre_sql_setup order_by = self.get_order_by() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 490, in get_order_by for expr, is_ref in self._order_by_pairs(): ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 473, in _order_by_pairs yield from self.find_ordering_name( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1120, in find_ordering_name (OrderBy(transform_function(t, alias), descending=descending), False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1927, in transform raise last_field_exception File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1900, in setup_joins path, final_field, targets, rest = self.names_to_path( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: administration_instructions, adult_dose_range, awp, brand_name, contraindications, controlled_substance_schedule, created_at, created_by, created_by_id, dosage_form, drug_class, formulary_status, generic_name, id, indications, interactions_as_drug1, interactions_as_drug2, inventory_items, is_active, is_available, manufacturer, manufacturer_ndc, max_daily_dose, medication_id, ndc_number, pediatric_dose_range, prescriptions, routes_of_administration, rxcui, side_effects, special_handling, storage_requirements, strength, tenant, tenant_id, unit_cost, unit_of_measure, updated_at, warnings ERROR 2025-08-14 17:37:37,280 basehttp 80400 6162624512 "GET /en/pharmacy/inventory/ HTTP/1.1" 500 273231 INFO 2025-08-14 17:39:36,503 autoreload 80400 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-14 17:39:36,814 autoreload 82096 8601149632 Watching for file changes with StatReloader INFO 2025-08-14 17:39:38,883 basehttp 82096 6169407488 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 117825 INFO 2025-08-14 17:39:38,936 basehttp 82096 6169407488 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 17:39:48,303 log 82096 6169407488 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 490, in get_context_data ).order_by('-dispensed_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'dispensed_date' into field. Choices are: copay_amount, counseling_notes, created_at, date_dispensed, dispense_id, dispensed_by, dispensed_by_id, id, identification_verified, insurance_amount, inventory_item, inventory_item_id, is_refill, patient_counseled, picked_up_by, pickup_datetime, prescription, prescription_id, quality_check_performed, quality_notes, quantity_dispensed, quantity_remaining, refill_number, status, total_price, unit_price, updated_at, verified_by, verified_by_id ERROR 2025-08-14 17:39:48,305 basehttp 82096 6169407488 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 103796 INFO 2025-08-14 17:40:22,721 autoreload 82096 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-14 17:40:23,044 autoreload 82436 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 17:40:23,695 log 82436 6124761088 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 498, in get_context_data if inventory_item.expiry_date: ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'InventoryItem' object has no attribute 'expiry_date' ERROR 2025-08-14 17:40:23,696 basehttp 82436 6124761088 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 86868 INFO 2025-08-14 17:41:40,932 autoreload 82436 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-14 17:41:41,220 autoreload 83062 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 17:41:43,632 log 83062 6129725440 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 498, in get_context_data if inventory_item.expiry_date: ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'InventoryItem' object has no attribute 'expiry_date' ERROR 2025-08-14 17:41:43,634 basehttp 83062 6129725440 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 86872 ERROR 2025-08-14 17:41:44,516 log 83062 6129725440 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 498, in get_context_data if inventory_item.expiry_date: ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'InventoryItem' object has no attribute 'expiry_date' ERROR 2025-08-14 17:41:44,517 basehttp 83062 6129725440 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 86872 INFO 2025-08-14 17:41:55,836 autoreload 83062 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-14 17:41:56,161 autoreload 83149 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 17:41:57,190 log 83149 6169145344 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'inventory_edit' not found. 'inventory_edit' is not a valid view function or pattern name. ERROR 2025-08-14 17:41:57,191 basehttp 83149 6169145344 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 182100 ERROR 2025-08-14 17:41:58,723 log 83149 6169145344 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'inventory_edit' not found. 'inventory_edit' is not a valid view function or pattern name. ERROR 2025-08-14 17:41:58,724 basehttp 83149 6169145344 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 182100 ERROR 2025-08-14 17:42:28,806 log 83149 6169145344 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'inventory_edit' not found. 'inventory_edit' is not a valid view function or pattern name. ERROR 2025-08-14 17:42:28,807 basehttp 83149 6169145344 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 181768 ERROR 2025-08-14 17:42:46,099 log 83149 6169145344 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 199, in render template = context.template.engine.select_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 214, in select_template raise TemplateDoesNotExist(", ".join(not_found)) django.template.exceptions.TemplateDoesNotExist: pharmacy/partials/adjust_stock_modal.html The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 109, in render reraise(exc, self.backend) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 130, in reraise raise new from exc django.template.exceptions.TemplateDoesNotExist: pharmacy/partials/adjust_stock_modal.html ERROR 2025-08-14 17:42:46,100 basehttp 83149 6169145344 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 182404 INFO 2025-08-14 17:43:40,814 basehttp 83149 6169145344 "GET /en/admin/patients/patientprofile/ HTTP/1.1" 200 134437 ERROR 2025-08-14 17:49:23,033 log 83149 13170143232 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 210, in render return template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 173, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'adjust_stock' not found. 'adjust_stock' is not a valid view function or pattern name. ERROR 2025-08-14 17:49:23,034 basehttp 83149 13170143232 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 204454 ERROR 2025-08-14 17:50:31,318 log 83149 13170143232 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 210, in render return template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 173, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'add_stock' not found. 'add_stock' is not a valid view function or pattern name. ERROR 2025-08-14 17:50:31,319 basehttp 83149 13170143232 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 204584 ERROR 2025-08-14 17:51:37,512 log 83149 13170143232 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 210, in render return template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 173, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'transfer_stock' not found. 'transfer_stock' is not a valid view function or pattern name. ERROR 2025-08-14 17:51:37,513 basehttp 83149 13170143232 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 204891 ERROR 2025-08-14 17:52:38,365 log 83149 13170143232 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'create_purchase_order' not found. 'create_purchase_order' is not a valid view function or pattern name. ERROR 2025-08-14 17:52:38,366 basehttp 83149 13170143232 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 174451 ERROR 2025-08-14 17:54:38,651 log 83149 13170143232 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'mark_inventory_expired' not found. 'mark_inventory_expired' is not a valid view function or pattern name. ERROR 2025-08-14 17:54:38,652 basehttp 83149 13170143232 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 174250 ERROR 2025-08-14 17:55:00,213 log 83149 13170143232 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'inventory_status' not found. 'inventory_status' is not a valid view function or pattern name. ERROR 2025-08-14 17:55:00,214 basehttp 83149 13170143232 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 174418 INFO 2025-08-14 17:55:30,932 basehttp 83149 13170143232 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 200 90280 INFO 2025-08-14 17:55:31,008 basehttp 83149 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 17:56:08,849 log 83149 13170143232 Internal Server Error: /en/pharmacy/inventory/4226/update/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 202, in get return super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 72, in get_context_data kwargs["form"] = self.get_form() ^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 37, in get_form return form_class(**self.get_form_kwargs()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'user' ERROR 2025-08-14 17:56:08,850 basehttp 83149 13170143232 "GET /en/pharmacy/inventory/4226/update/ HTTP/1.1" 500 94651 ERROR 2025-08-14 17:56:52,142 log 83149 13170143232 Internal Server Error: /en/pharmacy/inventory/4226/update/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 202, in get return super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 72, in get_context_data kwargs["form"] = self.get_form() ^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 37, in get_form return form_class(**self.get_form_kwargs()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'user' ERROR 2025-08-14 17:56:52,143 basehttp 83149 13170143232 "GET /en/pharmacy/inventory/4226/update/ HTTP/1.1" 500 94788 INFO 2025-08-14 17:56:52,751 basehttp 83149 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 17:56:53,516 basehttp 83149 13170143232 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 200 90280 INFO 2025-08-14 17:56:53,555 basehttp 83149 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 17:57:54,435 basehttp 83149 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 17:58:55,426 basehttp 83149 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 17:59:56,432 basehttp 83149 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:00:57,420 basehttp 83149 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:01:58,412 basehttp 83149 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:02:59,410 basehttp 83149 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:03:02,152 autoreload 83149 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/urls.py changed, reloading. INFO 2025-08-14 18:03:02,486 autoreload 92441 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 18:03:03,397 log 92441 6159364096 Internal Server Error: /en/pharmacy/inventory/4226/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 210, in render return template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 173, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'adjust_inventory' with arguments '('',)' not found. 1 pattern(s) tried: ['en/pharmacy/inventory\\-adjustment/(?P[0-9]+)/\\Z'] ERROR 2025-08-14 18:03:03,399 basehttp 92441 6159364096 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 500 208579 INFO 2025-08-14 18:04:07,714 basehttp 92441 6159364096 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 200 90337 INFO 2025-08-14 18:04:07,762 basehttp 92441 6159364096 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:07:13,733 autoreload 94515 8601149632 Watching for file changes with StatReloader INFO 2025-08-14 18:07:16,074 basehttp 94515 6126350336 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 200 90337 INFO 2025-08-14 18:07:16,107 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:07:18,263 basehttp 94515 6126350336 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 117825 INFO 2025-08-14 18:07:18,302 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:08:18,301 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:08:31,201 basehttp 94515 6126350336 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 117825 INFO 2025-08-14 18:08:31,243 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:09:31,251 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:09:35,795 basehttp 94515 6126350336 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 118015 INFO 2025-08-14 18:09:35,837 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:10:35,843 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:11:35,849 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:12:22,449 basehttp 94515 6126350336 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 118015 INFO 2025-08-14 18:12:22,487 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:12:28,555 basehttp 94515 6126350336 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 118015 INFO 2025-08-14 18:12:28,596 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:12:40,231 basehttp 94515 6126350336 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 118015 INFO 2025-08-14 18:12:40,270 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:13:14,334 basehttp 94515 6126350336 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 118071 INFO 2025-08-14 18:13:14,376 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:14:05,964 basehttp 94515 6126350336 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 118070 INFO 2025-08-14 18:14:05,997 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:14:23,546 basehttp 94515 6126350336 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 118305 INFO 2025-08-14 18:14:23,587 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:15:23,597 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:16:23,599 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:17:23,597 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:18:23,601 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:18:56,014 basehttp 94515 6126350336 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 119669 INFO 2025-08-14 18:18:56,058 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:19:56,067 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:20:56,067 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:21:56,069 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:22:10,417 basehttp 94515 6126350336 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 118437 INFO 2025-08-14 18:22:10,458 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:23:10,459 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:23:11,332 basehttp 94515 6126350336 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 118853 INFO 2025-08-14 18:23:11,375 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:24:11,374 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:24:50,538 basehttp 94515 6126350336 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 120345 INFO 2025-08-14 18:24:50,573 basehttp 94515 6126350336 "GET /static/css/saudiriyalsymbol.woff2 HTTP/1.1" 200 720 INFO 2025-08-14 18:24:50,580 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:25:35,409 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 120505 INFO 2025-08-14 18:25:35,440 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:25:48,073 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 120285 INFO 2025-08-14 18:25:48,104 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:26:00,143 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 120345 INFO 2025-08-14 18:26:00,174 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:27:00,174 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:27:07,730 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/ HTTP/1.1" 200 120348 INFO 2025-08-14 18:27:07,767 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:27:14,912 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 200 90337 INFO 2025-08-14 18:27:14,948 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:27:23,419 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 200 90337 INFO 2025-08-14 18:27:23,454 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:27:39,765 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/4226/ HTTP/1.1" 200 90337 INFO 2025-08-14 18:27:39,803 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:27:52,101 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/?page=2 HTTP/1.1" 200 120827 INFO 2025-08-14 18:27:52,138 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:28:10,214 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/?page=3 HTTP/1.1" 200 120959 INFO 2025-08-14 18:28:10,253 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:29:02,843 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/?page=3 HTTP/1.1" 200 120443 INFO 2025-08-14 18:29:02,885 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:29:16,386 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/?page=5 HTTP/1.1" 200 120365 INFO 2025-08-14 18:29:16,423 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:29:23,993 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/?page=6 HTTP/1.1" 200 120786 INFO 2025-08-14 18:29:24,030 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:29:26,083 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/?page=7 HTTP/1.1" 200 120234 INFO 2025-08-14 18:29:26,121 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:29:28,559 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/?page=9 HTTP/1.1" 200 120552 INFO 2025-08-14 18:29:28,595 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:29:30,894 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/?page=31 HTTP/1.1" 200 103204 INFO 2025-08-14 18:29:30,933 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:29:44,193 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/?page=1 HTTP/1.1" 200 119846 INFO 2025-08-14 18:29:44,232 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-14 18:29:58,300 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/4485/ HTTP/1.1" 200 90360 INFO 2025-08-14 18:29:58,337 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 18:30:13,047 log 94515 6143176704 Internal Server Error: /en/pharmacy/prescriptions/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'get_patient_info' not found. 'get_patient_info' is not a valid view function or pattern name. ERROR 2025-08-14 18:30:13,049 basehttp 94515 6143176704 "GET /en/pharmacy/prescriptions/create/ HTTP/1.1" 500 184320 ERROR 2025-08-14 18:30:26,139 log 94515 6143176704 Internal Server Error: /en/pharmacy/medications/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'validate_ndc' not found. 'validate_ndc' is not a valid view function or pattern name. ERROR 2025-08-14 18:30:26,140 basehttp 94515 6143176704 "GET /en/pharmacy/medications/create/ HTTP/1.1" 500 179536 ERROR 2025-08-14 18:30:34,578 log 94515 6143176704 Internal Server Error: /en/pharmacy/inventory/create/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 178, in get return super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 72, in get_context_data kwargs["form"] = self.get_form() ^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 37, in get_form return form_class(**self.get_form_kwargs()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'user' ERROR 2025-08-14 18:30:34,579 basehttp 94515 6143176704 "GET /en/pharmacy/inventory/create/ HTTP/1.1" 500 94423 WARNING 2025-08-14 18:30:38,386 log 94515 6143176704 Not Found: /en/pharmacy/pharmacy/drug-interaction-check/undefined/ WARNING 2025-08-14 18:30:38,386 basehttp 94515 6143176704 "GET /en/pharmacy/pharmacy/drug-interaction-check/undefined/ HTTP/1.1" 404 38634 ERROR 2025-08-14 18:30:44,391 log 94515 6143176704 Internal Server Error: /en/pharmacy/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 682, in pharmacy_stats 'low_stock_items': InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-14 18:30:44,392 basehttp 94515 6143176704 "GET /en/pharmacy/stats/ HTTP/1.1" 500 125246 INFO 2025-08-14 18:30:45,745 basehttp 94515 6143176704 "GET /en/pharmacy/ HTTP/1.1" 200 33888 INFO 2025-08-14 18:30:45,798 basehttp 94515 6143176704 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 18:30:45,848 log 94515 6160003072 Internal Server Error: /en/pharmacy/inventory-alerts/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 737, in inventory_alerts low_stock = InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-14 18:30:45,851 basehttp 94515 6160003072 "GET /en/pharmacy/inventory-alerts/ HTTP/1.1" 500 125429 ERROR 2025-08-14 18:30:45,857 log 94515 6126350336 Internal Server Error: /en/pharmacy/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 682, in pharmacy_stats 'low_stock_items': InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-14 18:30:45,858 basehttp 94515 6126350336 "GET /en/pharmacy/stats/ HTTP/1.1" 500 125246 INFO 2025-08-14 18:30:51,241 basehttp 94515 6126350336 "GET /en/pharmacy/ HTTP/1.1" 200 33888 INFO 2025-08-14 18:30:51,287 basehttp 94515 6126350336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-14 18:30:51,345 log 94515 6160003072 Internal Server Error: /en/pharmacy/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 682, in pharmacy_stats 'low_stock_items': InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-14 18:30:51,347 basehttp 94515 6160003072 "GET /en/pharmacy/stats/ HTTP/1.1" 500 125246 ERROR 2025-08-14 18:30:51,351 log 94515 6143176704 Internal Server Error: /en/pharmacy/inventory-alerts/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 737, in inventory_alerts low_stock = InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-14 18:30:51,352 basehttp 94515 6143176704 "GET /en/pharmacy/inventory-alerts/ HTTP/1.1" 500 125429 ERROR 2025-08-14 18:31:00,977 log 94515 6143176704 Internal Server Error: /en/pharmacy/medications/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 396, in get_queryset return queryset.order_by('name') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: administration_instructions, adult_dose_range, awp, brand_name, contraindications, controlled_substance_schedule, created_at, created_by, created_by_id, dosage_form, drug_class, formulary_status, generic_name, id, indications, interactions_as_drug1, interactions_as_drug2, inventory_items, is_active, is_available, manufacturer, manufacturer_ndc, max_daily_dose, medication_id, ndc_number, pediatric_dose_range, prescriptions, routes_of_administration, rxcui, side_effects, special_handling, storage_requirements, strength, tenant, tenant_id, unit_cost, unit_of_measure, updated_at, warnings ERROR 2025-08-14 18:31:00,978 basehttp 94515 6143176704 "GET /en/pharmacy/medications/ HTTP/1.1" 500 108165 INFO 2025-08-14 18:31:31,357 autoreload 94515 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py changed, reloading. INFO 2025-08-14 18:31:31,698 autoreload 5693 8601149632 Watching for file changes with StatReloader ERROR 2025-08-14 18:31:32,630 log 5693 6166376448 Internal Server Error: /en/pharmacy/medications/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'medication_type' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 401, in get_context_data 'medication_types': Medication._meta.get_field('medication_type').choices, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Medication has no field named 'medication_type' ERROR 2025-08-14 18:31:32,631 basehttp 5693 6166376448 "GET /en/pharmacy/medications/ HTTP/1.1" 500 97137 INFO 2025-08-15 13:02:14,855 autoreload 68589 8601149632 Watching for file changes with StatReloader INFO 2025-08-15 13:02:16,707 basehttp 68589 6200602624 "GET / HTTP/1.1" 302 0 INFO 2025-08-15 13:02:16,804 basehttp 68589 6200602624 "GET /en/ HTTP/1.1" 200 46418 INFO 2025-08-15 13:02:16,816 basehttp 68589 6200602624 "GET /static/js/app.min.js HTTP/1.1" 304 0 INFO 2025-08-15 13:02:16,886 basehttp 68589 6200602624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:02:16,890 basehttp 68589 6251081728 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-15 13:02:16,891 basehttp 68589 6234255360 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-15 13:02:16,893 basehttp 68589 6217428992 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-15 13:02:46,884 basehttp 68589 6217428992 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-15 13:03:16,906 basehttp 68589 6234255360 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-15 13:03:16,907 basehttp 68589 6217428992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:03:16,908 basehttp 68589 6251081728 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-15 13:03:37,566 basehttp 68589 6251081728 "GET / HTTP/1.1" 302 0 INFO 2025-08-15 13:03:37,580 basehttp 68589 6217428992 "GET /en/ HTTP/1.1" 200 46418 INFO 2025-08-15 13:03:37,637 basehttp 68589 6217428992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:03:37,639 basehttp 68589 6200602624 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-15 13:03:37,640 basehttp 68589 6251081728 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-15 13:03:37,642 basehttp 68589 6234255360 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-15 13:03:44,041 basehttp 68589 6234255360 "GET / HTTP/1.1" 302 0 INFO 2025-08-15 13:03:44,055 basehttp 68589 6251081728 "GET /en/ HTTP/1.1" 200 46418 INFO 2025-08-15 13:03:44,108 basehttp 68589 6251081728 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:03:44,109 basehttp 68589 6217428992 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-15 13:03:44,111 basehttp 68589 6234255360 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-15 13:03:44,112 basehttp 68589 6200602624 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-15 13:03:56,405 basehttp 68589 6200602624 "GET /en/emr/ HTTP/1.1" 200 71317 INFO 2025-08-15 13:03:56,453 basehttp 68589 6200602624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:03:56,455 basehttp 68589 6234255360 "GET /en/emr/stats/ HTTP/1.1" 200 2966 INFO 2025-08-15 13:04:01,465 basehttp 68589 6234255360 "GET /en/inpatients/ HTTP/1.1" 200 41352 INFO 2025-08-15 13:04:01,503 basehttp 68589 6200602624 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-15 13:04:01,503 basehttp 68589 6234255360 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:04:01,527 basehttp 68589 6217428992 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-15 13:04:09,858 basehttp 68589 6217428992 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:04:09,904 basehttp 68589 6217428992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:04:09,955 basehttp 68589 6217428992 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:04:39,955 basehttp 68589 6217428992 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:05:09,922 basehttp 68589 6217428992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:05:09,968 basehttp 68589 6217428992 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:05:39,993 basehttp 68589 6200602624 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:05:55,116 basehttp 68589 6200602624 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:05:55,169 basehttp 68589 6200602624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:05:55,209 basehttp 68589 6200602624 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:06:25,221 basehttp 68589 6200602624 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:06:55,184 basehttp 68589 6200602624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:06:55,227 basehttp 68589 6217428992 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:07:25,222 basehttp 68589 6217428992 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:07:55,186 basehttp 68589 6217428992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:07:55,231 basehttp 68589 6200602624 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 WARNING 2025-08-15 13:08:11,640 log 68589 6200602624 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 13:08:11,640 basehttp 68589 6200602624 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 13:08:24,234 basehttp 68589 6200602624 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 WARNING 2025-08-15 13:08:24,251 log 68589 6217428992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 13:08:24,253 basehttp 68589 6217428992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 13:08:24,312 basehttp 68589 6200602624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:08:24,367 basehttp 68589 6200602624 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:08:25,418 basehttp 68589 6200602624 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 WARNING 2025-08-15 13:08:25,433 log 68589 6200602624 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 13:08:25,433 basehttp 68589 6200602624 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 13:08:25,492 basehttp 68589 6200602624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:08:25,546 basehttp 68589 6200602624 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:08:26,347 basehttp 68589 6200602624 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 WARNING 2025-08-15 13:08:26,360 log 68589 6200602624 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 13:08:26,360 basehttp 68589 6200602624 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 13:08:26,422 basehttp 68589 6200602624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:08:26,464 basehttp 68589 6200602624 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:08:56,491 basehttp 68589 6200602624 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:09:26,439 basehttp 68589 6200602624 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:09:26,488 basehttp 68589 6217428992 "GET /en/inpatients/beds/ HTTP/1.1" 200 782135 INFO 2025-08-15 13:09:53,063 basehttp 68589 6217428992 "GET /en/inpatients/beds/ HTTP/1.1" 200 782091 WARNING 2025-08-15 13:09:53,079 log 68589 6217428992 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 13:09:53,079 basehttp 68589 6217428992 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 13:09:53,153 basehttp 68589 6217428992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 13:09:53,197 basehttp 68589 6217428992 "GET /en/inpatients/beds/ HTTP/1.1" 200 782091 INFO 2025-08-15 21:33:30,729 autoreload 84287 8601149632 Watching for file changes with StatReloader INFO 2025-08-15 21:33:32,908 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 782091 INFO 2025-08-15 21:33:33,030 basehttp 84287 6190870528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 WARNING 2025-08-15 21:33:33,035 log 84287 6207696896 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:33:33,035 basehttp 84287 6207696896 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 21:33:33,076 basehttp 84287 6207696896 "GET /en/inpatients/beds/ HTTP/1.1" 200 782091 INFO 2025-08-15 21:33:56,809 basehttp 84287 6207696896 "GET /en/inpatients/beds/ HTTP/1.1" 200 779904 WARNING 2025-08-15 21:33:56,826 log 84287 6207696896 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:33:56,826 basehttp 84287 6207696896 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 21:33:56,933 basehttp 84287 6207696896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:33:56,973 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 779904 INFO 2025-08-15 21:34:26,969 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 779904 INFO 2025-08-15 21:34:56,926 basehttp 84287 6190870528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:34:56,965 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 779904 INFO 2025-08-15 21:35:01,748 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 782091 WARNING 2025-08-15 21:35:01,764 log 84287 6190870528 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:35:01,765 basehttp 84287 6190870528 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 21:35:01,827 basehttp 84287 6190870528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:35:01,874 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 782091 INFO 2025-08-15 21:35:31,890 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 782091 INFO 2025-08-15 21:35:38,729 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 WARNING 2025-08-15 21:35:38,743 log 84287 6190870528 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:35:38,744 basehttp 84287 6190870528 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 21:35:38,803 basehttp 84287 6190870528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:35:38,852 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:36:08,847 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:36:38,821 basehttp 84287 6190870528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:36:38,865 basehttp 84287 6207696896 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:37:08,845 basehttp 84287 6207696896 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:37:38,848 basehttp 84287 6207696896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:37:38,890 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:38:08,845 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:38:38,812 basehttp 84287 6190870528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:38:38,847 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:39:08,848 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:39:38,814 basehttp 84287 6190870528 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:39:38,848 basehttp 84287 6207696896 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:40:08,848 basehttp 84287 6207696896 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:40:38,821 basehttp 84287 6207696896 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:40:38,852 basehttp 84287 6190870528 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:40:56,883 autoreload 84287 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-15 21:40:57,259 autoreload 87680 8601149632 Watching for file changes with StatReloader INFO 2025-08-15 21:41:06,660 autoreload 87680 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-15 21:41:06,902 autoreload 87763 8601149632 Watching for file changes with StatReloader INFO 2025-08-15 21:41:08,946 basehttp 87763 12901707776 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:41:13,297 basehttp 87763 12901707776 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 WARNING 2025-08-15 21:41:13,319 log 87763 12901707776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:41:13,319 basehttp 87763 12901707776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 21:41:13,388 basehttp 87763 12901707776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:41:13,442 basehttp 87763 12901707776 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:41:43,461 basehttp 87763 12901707776 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:42:13,404 basehttp 87763 12901707776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:42:13,450 basehttp 87763 12918534144 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:42:43,457 basehttp 87763 12918534144 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:43:13,423 basehttp 87763 12918534144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:43:13,458 basehttp 87763 12901707776 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:43:19,003 basehttp 87763 12901707776 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 WARNING 2025-08-15 21:43:19,020 log 87763 12901707776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:43:19,020 basehttp 87763 12901707776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 21:43:19,092 basehttp 87763 12901707776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:43:19,136 basehttp 87763 12901707776 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 INFO 2025-08-15 21:43:49,164 basehttp 87763 12901707776 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 WARNING 2025-08-15 21:43:59,687 log 87763 12901707776 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:43:59,687 basehttp 87763 12901707776 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 21:44:29,712 basehttp 87763 12901707776 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-15 21:44:59,733 basehttp 87763 12901707776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:44:59,736 basehttp 87763 12935360512 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-15 21:44:59,764 basehttp 87763 12918534144 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-15 21:45:29,716 basehttp 87763 12918534144 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-15 21:45:59,730 basehttp 87763 12935360512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:45:59,732 basehttp 87763 12901707776 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-15 21:45:59,760 basehttp 87763 12918534144 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-15 21:45:59,792 basehttp 87763 12901707776 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-15 21:46:29,718 basehttp 87763 12901707776 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-15 21:46:59,738 basehttp 87763 12901707776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:46:59,741 basehttp 87763 12935360512 "GET /en/inpatients/stats/ HTTP/1.1" 200 2997 INFO 2025-08-15 21:46:59,778 basehttp 87763 12918534144 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 634395 INFO 2025-08-15 21:47:06,414 basehttp 87763 12918534144 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 WARNING 2025-08-15 21:47:06,428 log 87763 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:47:06,428 basehttp 87763 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 21:47:06,499 basehttp 87763 12918534144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 21:47:06,545 basehttp 87763 12918534144 "GET /en/inpatients/beds/ HTTP/1.1" 200 782097 WARNING 2025-08-15 21:47:08,859 log 87763 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:47:08,859 basehttp 87763 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-15 21:47:08,872 log 87763 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:47:08,872 basehttp 87763 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 21:47:10,350 basehttp 87763 12918534144 "GET /en/inpatients/transfers/ HTTP/1.1" 200 22259 WARNING 2025-08-15 21:47:10,366 log 87763 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:47:10,366 basehttp 87763 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 21:47:10,410 basehttp 87763 12918534144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 WARNING 2025-08-15 21:47:24,826 log 87763 12918534144 Not Found: /en/inpatients/transfers/create WARNING 2025-08-15 21:47:24,826 basehttp 87763 12918534144 "GET /en/inpatients/transfers/create HTTP/1.1" 404 39130 WARNING 2025-08-15 21:47:24,842 log 87763 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:47:24,842 basehttp 87763 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-15 21:47:48,832 log 87763 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:47:48,832 basehttp 87763 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-15 21:47:48,851 log 87763 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:47:48,851 basehttp 87763 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-15 21:48:00,563 log 87763 12918534144 Not Found: /en/transfers/ WARNING 2025-08-15 21:48:00,564 basehttp 87763 12918534144 "GET /en/transfers/ HTTP/1.1" 404 29874 WARNING 2025-08-15 21:48:00,583 log 87763 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:48:00,583 basehttp 87763 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 21:48:16,825 basehttp 87763 12918534144 "GET /en/inpatients/transfers/ HTTP/1.1" 200 22259 WARNING 2025-08-15 21:48:16,843 log 87763 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:48:16,844 basehttp 87763 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-15 21:48:16,886 basehttp 87763 12918534144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 WARNING 2025-08-15 21:48:22,532 log 87763 12918534144 Not Found: /en/inpatients/transfers/3 WARNING 2025-08-15 21:48:22,532 basehttp 87763 12918534144 "GET /en/inpatients/transfers/3 HTTP/1.1" 404 39115 WARNING 2025-08-15 21:48:22,550 log 87763 12918534144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-15 21:48:22,550 basehttp 87763 12918534144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-15 21:48:38,708 log 87763 12918534144 Internal Server Error: /en/pharmacy/medications/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'medication_type' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 401, in get_context_data 'medication_types': Medication._meta.get_field('medication_type').choices, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Medication has no field named 'medication_type' ERROR 2025-08-15 21:48:38,709 basehttp 87763 12918534144 "GET /en/pharmacy/medications/ HTTP/1.1" 500 97137 INFO 2025-08-15 21:48:41,684 basehttp 87763 12918534144 "GET /en/pharmacy/ HTTP/1.1" 200 33888 INFO 2025-08-15 21:48:41,738 basehttp 87763 12918534144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 ERROR 2025-08-15 21:48:41,798 log 87763 12935360512 Internal Server Error: /en/pharmacy/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 682, in pharmacy_stats 'low_stock_items': InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-15 21:48:41,802 basehttp 87763 12935360512 "GET /en/pharmacy/stats/ HTTP/1.1" 500 125247 ERROR 2025-08-15 21:48:41,808 log 87763 12901707776 Internal Server Error: /en/pharmacy/inventory-alerts/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 737, in inventory_alerts low_stock = InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-15 21:48:41,809 basehttp 87763 12901707776 "GET /en/pharmacy/inventory-alerts/ HTTP/1.1" 500 125430 INFO 2025-08-15 21:48:49,407 basehttp 87763 12901707776 "GET /en/admin/patients/patientprofile/ HTTP/1.1" 200 134437 INFO 2025-08-15 21:48:54,194 basehttp 87763 12901707776 "GET /en/admin/inpatients/admission/ HTTP/1.1" 200 89420 INFO 2025-08-15 21:48:54,206 basehttp 87763 12901707776 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-15 21:48:58,831 basehttp 87763 12901707776 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 161748 INFO 2025-08-15 21:48:58,846 basehttp 87763 12901707776 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-15 21:48:58,858 basehttp 87763 12901707776 "GET /static/admin/img/sorting-icons.svg HTTP/1.1" 200 1097 ERROR 2025-08-15 21:49:12,763 log 87763 12901707776 Internal Server Error: /en/pharmacy/stats/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/pharmacy/views.py", line 682, in pharmacy_stats 'low_stock_items': InventoryItem.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'current_stock' into field. Choices are: bin_location, created_at, created_by, created_by_id, dispense_records, expiration_date, id, inventory_id, last_counted, lot_number, medication, medication_id, purchase_order_number, quality_check_date, quality_checked, quality_notes, quantity_allocated, quantity_available, quantity_on_hand, received_date, reorder_point, reorder_quantity, status, storage_location, supplier, tenant, tenant_id, total_cost, unit_cost, updated_at ERROR 2025-08-15 21:49:12,764 basehttp 87763 12901707776 "GET /en/pharmacy/stats/ HTTP/1.1" 500 125247 INFO 2025-08-15 21:49:16,647 basehttp 87763 12901707776 "GET /en/admin/inpatients/dischargesummary/ HTTP/1.1" 200 70297 INFO 2025-08-15 21:49:16,659 basehttp 87763 12901707776 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-15 21:49:21,652 basehttp 87763 12901707776 "GET /en/admin/inpatients/surgeryschedule/ HTTP/1.1" 200 70629 INFO 2025-08-15 21:49:21,666 basehttp 87763 12901707776 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-15 21:49:31,235 basehttp 87763 12901707776 "GET /en/admin/inpatients/transfer/ HTTP/1.1" 200 104775 INFO 2025-08-15 21:49:31,248 basehttp 87763 12901707776 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-15 21:50:25,608 autoreload 91895 8601149632 Watching for file changes with StatReloader INFO 2025-08-15 21:50:27,543 basehttp 91895 6195523584 "GET /en/admin/inpatients/transfer/ HTTP/1.1" 200 139385 INFO 2025-08-15 21:50:27,560 basehttp 91895 6195523584 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-15 22:00:58,330 autoreload 96591 8601149632 Watching for file changes with StatReloader INFO 2025-08-15 22:01:01,750 basehttp 96591 6161068032 "GET /en/admin/inpatients/transfer/ HTTP/1.1" 200 364213 INFO 2025-08-15 22:01:01,766 basehttp 96591 6161068032 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-15 22:01:04,142 basehttp 96591 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 22:01:05,682 basehttp 96591 6161068032 "GET / HTTP/1.1" 302 0 INFO 2025-08-15 22:01:05,705 basehttp 96591 6161068032 "GET /en/ HTTP/1.1" 200 46426 INFO 2025-08-15 22:01:05,760 basehttp 96591 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 22:01:05,783 basehttp 96591 13052751872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-15 22:01:05,787 basehttp 96591 13069578240 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-15 22:01:05,789 basehttp 96591 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-15 22:01:09,484 basehttp 96591 13035925504 "GET /en/inpatients/ HTTP/1.1" 200 72042 INFO 2025-08-15 22:01:09,526 basehttp 96591 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 22:01:09,528 basehttp 96591 13069578240 "GET /en/inpatients/stats/ HTTP/1.1" 200 2998 INFO 2025-08-15 22:01:09,685 basehttp 96591 13052751872 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 3171121 ERROR 2025-08-15 22:01:27,400 log 96591 13052751872 Internal Server Error: /en/inpatients/transfers/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'cancel_transfer' not found. 'cancel_transfer' is not a valid view function or pattern name. ERROR 2025-08-15 22:01:27,401 basehttp 96591 13052751872 "GET /en/inpatients/transfers/ HTTP/1.1" 500 262358 INFO 2025-08-15 22:06:55,506 basehttp 96591 6161068032 "GET /en/inpatients/transfers/ HTTP/1.1" 200 82022 INFO 2025-08-15 22:06:55,570 basehttp 96591 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 WARNING 2025-08-15 22:07:06,458 log 96591 6161068032 Not Found: /en/inpatients/transfers/4 WARNING 2025-08-15 22:07:06,459 basehttp 96591 6161068032 "GET /en/inpatients/transfers/4 HTTP/1.1" 404 39115 INFO 2025-08-15 22:07:32,254 basehttp 96591 6161068032 "GET /en/inpatients/wards/ HTTP/1.1" 200 81224 INFO 2025-08-15 22:07:32,280 basehttp 96591 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 22:07:36,838 basehttp 96591 6161068032 "GET /en/inpatients/beds/?ward=525 HTTP/1.1" 200 3764388 INFO 2025-08-15 22:07:36,980 basehttp 96591 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 22:07:37,207 basehttp 96591 6161068032 "GET /en/inpatients/beds/?ward=525 HTTP/1.1" 200 3764388 INFO 2025-08-15 22:08:32,291 basehttp 96591 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 22:09:32,296 basehttp 96591 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 22:09:45,184 basehttp 96591 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 22:09:46,084 basehttp 96591 6161068032 "GET /en/inpatients/stats/ HTTP/1.1" 200 2998 INFO 2025-08-15 22:09:46,090 basehttp 96591 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 22:09:46,096 basehttp 96591 6161068032 "GET /en/inpatients/stats/ HTTP/1.1" 200 2998 INFO 2025-08-15 22:09:46,247 basehttp 96591 13052751872 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 3171121 INFO 2025-08-15 22:09:46,378 basehttp 96591 6161068032 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 3171121 INFO 2025-08-15 22:09:48,302 basehttp 96591 6161068032 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764388 INFO 2025-08-15 22:09:48,450 basehttp 96591 6161068032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-15 22:09:48,703 basehttp 96591 6161068032 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764388 INFO 2025-08-15 22:09:53,942 basehttp 96591 6161068032 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 3171121 ERROR 2025-08-15 22:09:59,237 log 96591 6161068032 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'admission_edit' not found. 'admission_edit' is not a valid view function or pattern name. ERROR 2025-08-15 22:09:59,238 basehttp 96591 6161068032 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 500 257893 INFO 2025-08-18 20:07:37,870 autoreload 41752 8601149632 Watching for file changes with StatReloader INFO 2025-08-18 20:07:38,994 basehttp 41752 6203092992 "GET / HTTP/1.1" 302 0 INFO 2025-08-18 20:07:39,055 basehttp 41752 6219919360 "GET /en/ HTTP/1.1" 302 0 INFO 2025-08-18 20:07:39,060 basehttp 41752 6219919360 "GET /accounts/login/?next=/en/ HTTP/1.1" 302 0 ERROR 2025-08-18 20:07:39,074 log 41752 6203092992 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-18 20:07:39,076 basehttp 41752 6203092992 "GET /en/accounts/login/?next=/en/ HTTP/1.1" 500 160351 INFO 2025-08-18 20:07:44,921 basehttp 41752 6203092992 "GET /en/admin HTTP/1.1" 301 0 INFO 2025-08-18 20:07:44,952 basehttp 41752 6203092992 "GET /en/admin/ HTTP/1.1" 302 0 INFO 2025-08-18 20:07:44,964 basehttp 41752 6203092992 "GET /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4212 INFO 2025-08-18 20:07:44,972 basehttp 41752 6219919360 "GET /static/admin/css/dark_mode.css HTTP/1.1" 200 2808 INFO 2025-08-18 20:07:44,972 basehttp 41752 6236745728 "GET /static/admin/js/theme.js HTTP/1.1" 200 1653 INFO 2025-08-18 20:07:44,972 basehttp 41752 6203092992 "GET /static/admin/css/base.css HTTP/1.1" 200 22120 INFO 2025-08-18 20:07:44,974 basehttp 41752 6203092992 "GET /static/admin/css/login.css HTTP/1.1" 200 951 INFO 2025-08-18 20:07:44,974 basehttp 41752 6236745728 "GET /static/admin/css/nav_sidebar.css HTTP/1.1" 200 2810 INFO 2025-08-18 20:07:44,974 basehttp 41752 6219919360 "GET /static/admin/css/responsive.css HTTP/1.1" 200 16565 INFO 2025-08-18 20:07:44,975 basehttp 41752 6236745728 "GET /static/admin/js/nav_sidebar.js HTTP/1.1" 200 3063 INFO 2025-08-18 20:07:47,319 basehttp 41752 6203092992 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 302 0 INFO 2025-08-18 20:07:47,340 basehttp 41752 6203092992 "GET /en/admin/ HTTP/1.1" 200 87876 INFO 2025-08-18 20:07:47,353 basehttp 41752 6203092992 "GET /static/admin/css/dashboard.css HTTP/1.1" 200 441 INFO 2025-08-18 20:07:47,354 basehttp 41752 6203092992 "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 200 331 INFO 2025-08-18 20:07:47,355 basehttp 41752 6219919360 "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 200 380 INFO 2025-08-18 20:07:51,169 basehttp 41752 6203092992 "GET / HTTP/1.1" 302 0 INFO 2025-08-18 20:07:51,199 basehttp 41752 6219919360 "GET /en/ HTTP/1.1" 200 46424 INFO 2025-08-18 20:07:51,209 basehttp 41752 6203092992 "GET /static/img/user/user-4.jpg HTTP/1.1" 200 5916 INFO 2025-08-18 20:07:51,214 basehttp 41752 6219919360 "GET /static/css/apple/app.min.css HTTP/1.1" 200 898634 INFO 2025-08-18 20:07:51,244 basehttp 41752 6203092992 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-18 20:07:51,245 basehttp 41752 6253572096 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-18 20:07:51,245 basehttp 41752 6219919360 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-18 20:07:51,245 basehttp 41752 6236745728 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-18 20:07:51,245 basehttp 41752 6270398464 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-18 20:07:51,248 basehttp 41752 6203092992 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-18 20:07:51,248 basehttp 41752 6253572096 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-18 20:07:51,248 basehttp 41752 6287224832 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-18 20:07:51,251 basehttp 41752 6219919360 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-18 20:07:51,251 basehttp 41752 6270398464 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-18 20:07:51,251 basehttp 41752 6287224832 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-18 20:07:51,252 basehttp 41752 6236745728 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-18 20:07:51,252 basehttp 41752 6203092992 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-18 20:07:51,253 basehttp 41752 6253572096 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-18 20:07:51,254 basehttp 41752 6219919360 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-18 20:07:51,254 basehttp 41752 6270398464 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-18 20:07:51,254 basehttp 41752 6287224832 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-18 20:07:51,256 basehttp 41752 6236745728 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-18 20:07:51,256 basehttp 41752 6203092992 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-18 20:07:51,256 basehttp 41752 6253572096 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-18 20:07:51,256 basehttp 41752 6270398464 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-18 20:07:51,257 basehttp 41752 6287224832 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-18 20:07:51,291 basehttp 41752 6203092992 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-18 20:07:51,292 basehttp 41752 6287224832 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-18 20:07:51,294 basehttp 41752 6253572096 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-18 20:07:51,295 basehttp 41752 6270398464 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-18 20:08:15,321 log 41752 6203092992 Not Found: /notifications/api/recent/ WARNING 2025-08-18 20:08:15,321 basehttp 41752 6203092992 "GET /notifications/api/recent/ HTTP/1.1" 404 2599 INFO 2025-08-18 20:08:21,285 basehttp 41752 6203092992 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-18 20:08:51,301 basehttp 41752 6203092992 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4439 INFO 2025-08-18 20:08:51,301 basehttp 41752 6219919360 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-18 20:08:51,303 basehttp 41752 6236745728 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 WARNING 2025-08-18 20:09:15,314 log 41752 6203092992 Not Found: /notifications/api/recent/ WARNING 2025-08-18 20:09:15,315 basehttp 41752 6203092992 "GET /notifications/api/recent/ HTTP/1.1" 404 2599 INFO 2025-08-19 16:21:12,676 autoreload 86818 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 16:21:14,346 basehttp 86818 6170161152 "GET / HTTP/1.1" 302 0 INFO 2025-08-19 16:21:14,431 basehttp 86818 12901707776 "GET /en/ HTTP/1.1" 302 0 INFO 2025-08-19 16:21:14,436 basehttp 86818 12901707776 "GET /accounts/login/?next=/en/ HTTP/1.1" 302 0 ERROR 2025-08-19 16:21:14,452 log 86818 6170161152 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-19 16:21:14,453 basehttp 86818 6170161152 "GET /en/accounts/login/?next=/en/ HTTP/1.1" 500 160351 INFO 2025-08-19 16:21:22,533 basehttp 86818 6170161152 "GET /en/admin/ HTTP/1.1" 302 0 INFO 2025-08-19 16:21:22,546 basehttp 86818 6170161152 "GET /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4212 INFO 2025-08-19 16:21:24,753 basehttp 86818 6170161152 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 302 0 INFO 2025-08-19 16:21:24,796 basehttp 86818 6170161152 "GET /en/admin/ HTTP/1.1" 200 87876 INFO 2025-08-19 16:21:26,625 basehttp 86818 6170161152 "GET / HTTP/1.1" 302 0 INFO 2025-08-19 16:21:26,655 basehttp 86818 12901707776 "GET /en/ HTTP/1.1" 200 46425 INFO 2025-08-19 16:21:26,664 basehttp 86818 12901707776 "GET /static/img/user/user-4.jpg HTTP/1.1" 200 5916 INFO 2025-08-19 16:21:26,689 basehttp 86818 12969013248 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-19 16:21:26,689 basehttp 86818 12952186880 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-19 16:21:26,690 basehttp 86818 12969013248 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-19 16:21:26,690 basehttp 86818 12952186880 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-19 16:21:26,692 basehttp 86818 12969013248 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-19 16:21:26,692 basehttp 86818 12952186880 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-19 16:21:26,694 basehttp 86818 12969013248 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-19 16:21:26,695 basehttp 86818 12952186880 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-19 16:21:26,696 basehttp 86818 12969013248 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-19 16:21:26,697 basehttp 86818 12952186880 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-19 16:21:26,698 basehttp 86818 12901707776 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:21:26,698 basehttp 86818 12969013248 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-19 16:21:26,699 basehttp 86818 12952186880 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-19 16:21:26,700 basehttp 86818 12952186880 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-19 16:21:26,700 basehttp 86818 12969013248 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-19 16:21:26,704 basehttp 86818 12969013248 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-19 16:21:26,704 basehttp 86818 12952186880 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-19 16:21:26,706 basehttp 86818 12901707776 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-19 16:21:26,709 basehttp 86818 12969013248 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-19 16:21:26,710 basehttp 86818 12935360512 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-19 16:21:26,711 basehttp 86818 12901707776 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-19 16:21:26,712 basehttp 86818 12952186880 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-19 16:21:26,713 basehttp 86818 12918534144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 16:21:26,713 basehttp 86818 12969013248 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-19 16:21:26,714 basehttp 86818 6170161152 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 16:21:26,715 basehttp 86818 12935360512 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-19 16:21:50,822 basehttp 86818 12935360512 "GET /en/patients/register/ HTTP/1.1" 200 27336 INFO 2025-08-19 16:21:50,858 basehttp 86818 12935360512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:27:17,579 autoreload 89640 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 16:27:40,958 basehttp 89640 6136492032 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 16:27:40,977 basehttp 89640 6170144768 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 16:27:40,980 basehttp 89640 6153318400 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:27:41,719 basehttp 89640 6153318400 "GET /en/ HTTP/1.1" 200 46425 INFO 2025-08-19 16:27:41,778 basehttp 89640 6136492032 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 16:27:41,780 basehttp 89640 6186971136 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1093 INFO 2025-08-19 16:27:41,780 basehttp 89640 6153318400 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:27:41,782 basehttp 89640 6170144768 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 16:28:11,769 basehttp 89640 6170144768 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 16:28:41,788 basehttp 89640 6170144768 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:28:41,789 basehttp 89640 6186971136 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 16:28:41,790 basehttp 89640 6153318400 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 16:29:11,774 basehttp 89640 6153318400 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 16:29:40,152 basehttp 89640 6153318400 "GET /en/inpatients/ HTTP/1.1" 200 72042 INFO 2025-08-19 16:29:40,196 basehttp 89640 6153318400 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:29:40,197 basehttp 89640 6170144768 "GET /en/inpatients/stats/ HTTP/1.1" 200 2998 INFO 2025-08-19 16:29:40,316 basehttp 89640 6186971136 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 3171121 ERROR 2025-08-19 16:30:02,138 log 89640 6186971136 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'admission_edit' not found. 'admission_edit' is not a valid view function or pattern name. ERROR 2025-08-19 16:30:02,140 basehttp 89640 6186971136 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 500 257894 INFO 2025-08-19 16:37:42,076 autoreload 89640 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-19 16:37:42,398 autoreload 94163 8601149632 Watching for file changes with StatReloader ERROR 2025-08-19 16:37:45,201 log 94163 6204076032 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for '' not found. '' is not a valid view function or pattern name. ERROR 2025-08-19 16:37:45,204 basehttp 94163 6204076032 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 500 257679 INFO 2025-08-19 16:38:08,490 basehttp 94163 6204076032 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 155815 INFO 2025-08-19 16:38:08,530 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:39:08,546 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:40:08,552 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:40:48,401 basehttp 94163 6204076032 "GET /en/inpatients/admissions/5422/ HTTP/1.1" 200 23519 INFO 2025-08-19 16:40:48,421 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:41:08,547 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:41:10,780 basehttp 94163 6204076032 "GET /en/inpatients/admissions/5422/edit/ HTTP/1.1" 200 46131 INFO 2025-08-19 16:41:10,814 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:41:36,580 basehttp 94163 6204076032 "GET /en/inpatients/admissions/5422/ HTTP/1.1" 200 23519 INFO 2025-08-19 16:41:36,614 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:42:08,557 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:43:08,555 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:43:21,724 basehttp 94163 6204076032 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 156991 INFO 2025-08-19 16:43:21,793 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:44:13,147 basehttp 94163 6204076032 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 156240 INFO 2025-08-19 16:44:13,185 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:45:13,198 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:46:13,200 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:47:13,193 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:48:13,197 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:49:13,208 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:50:13,208 basehttp 94163 6204076032 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:50:53,160 autoreload 94163 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-19 16:50:53,449 autoreload 99954 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 16:50:56,063 basehttp 99954 6156513280 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 156240 INFO 2025-08-19 16:50:56,096 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:51:56,105 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:52:56,115 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:53:56,186 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:54:28,889 basehttp 99954 6156513280 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 156240 INFO 2025-08-19 16:54:28,929 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:55:07,827 basehttp 99954 6156513280 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 156244 INFO 2025-08-19 16:55:07,859 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:55:44,562 basehttp 99954 6156513280 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 155503 INFO 2025-08-19 16:55:44,605 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:56:44,616 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:56:56,385 basehttp 99954 6156513280 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 155503 INFO 2025-08-19 16:56:56,422 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:56:57,697 basehttp 99954 6156513280 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 155503 INFO 2025-08-19 16:56:57,737 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:57:24,915 basehttp 99954 6156513280 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 157868 INFO 2025-08-19 16:57:24,957 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:57:53,016 basehttp 99954 6156513280 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 156072 INFO 2025-08-19 16:57:53,058 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:58:53,070 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 16:59:53,080 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:00:53,076 basehttp 99954 6156513280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:01:43,277 autoreload 99954 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-19 17:01:43,572 autoreload 5040 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 17:01:46,724 basehttp 5040 6167097344 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 156072 INFO 2025-08-19 17:01:46,769 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:02:46,781 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:03:46,775 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:04:46,779 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:05:46,781 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:06:12,551 basehttp 5040 6167097344 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 156922 INFO 2025-08-19 17:06:12,590 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:06:56,372 basehttp 5040 6167097344 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 157722 INFO 2025-08-19 17:06:56,408 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:07:33,486 basehttp 5040 6167097344 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 157722 INFO 2025-08-19 17:07:33,526 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:07:47,757 basehttp 5040 6167097344 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 157722 INFO 2025-08-19 17:07:47,799 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:08:47,815 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:09:47,812 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:10:47,806 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:11:47,823 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:12:47,821 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:13:47,824 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:14:47,830 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:15:47,834 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:16:40,580 basehttp 5040 6167097344 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 157722 INFO 2025-08-19 17:16:40,626 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:17:40,630 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:18:24,585 basehttp 5040 6167097344 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 157722 INFO 2025-08-19 17:18:24,618 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 WARNING 2025-08-19 17:18:29,329 log 5040 6167097344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:18:29,329 basehttp 5040 6167097344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:19:14,890 basehttp 5040 6167097344 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 157672 WARNING 2025-08-19 17:19:14,903 log 5040 6167097344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:19:14,903 basehttp 5040 6167097344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:19:14,954 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:20:14,968 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:20:24,293 basehttp 5040 6167097344 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 157385 WARNING 2025-08-19 17:20:24,310 log 5040 6167097344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:20:24,310 basehttp 5040 6167097344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:20:24,360 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:20:44,461 basehttp 5040 6167097344 "GET /en/admin/ HTTP/1.1" 200 87876 INFO 2025-08-19 17:20:50,232 basehttp 5040 6167097344 "GET /en/admin/inpatients/admission/ HTTP/1.1" 200 265399 INFO 2025-08-19 17:20:50,250 basehttp 5040 6167097344 "GET /static/admin/css/changelists.css HTTP/1.1" 200 6878 INFO 2025-08-19 17:20:50,251 basehttp 5040 13740666880 "GET /static/admin/js/jquery.init.js HTTP/1.1" 200 347 INFO 2025-08-19 17:20:50,251 basehttp 5040 13774319616 "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 200 9777 INFO 2025-08-19 17:20:50,251 basehttp 5040 13757493248 "GET /static/admin/js/core.js HTTP/1.1" 200 6208 INFO 2025-08-19 17:20:50,253 basehttp 5040 13774319616 "GET /static/admin/js/prepopulate.js HTTP/1.1" 200 1531 INFO 2025-08-19 17:20:50,254 basehttp 5040 13740666880 "GET /static/admin/js/urlify.js HTTP/1.1" 200 7887 INFO 2025-08-19 17:20:50,254 basehttp 5040 6167097344 "GET /static/admin/js/actions.js HTTP/1.1" 200 8076 INFO 2025-08-19 17:20:50,255 basehttp 5040 13774319616 "GET /static/admin/img/search.svg HTTP/1.1" 200 458 INFO 2025-08-19 17:20:50,257 basehttp 5040 13757493248 "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 200 325171 INFO 2025-08-19 17:20:50,259 basehttp 5040 13707014144 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 17:20:50,259 basehttp 5040 13723840512 "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 200 285314 INFO 2025-08-19 17:20:50,260 basehttp 5040 13723840512 "GET /static/admin/js/filters.js HTTP/1.1" 200 978 INFO 2025-08-19 17:20:50,275 basehttp 5040 13757493248 "GET /static/admin/img/icon-viewlink.svg HTTP/1.1" 200 581 INFO 2025-08-19 17:20:50,275 basehttp 5040 13707014144 "GET /static/admin/img/sorting-icons.svg HTTP/1.1" 200 1097 INFO 2025-08-19 17:20:50,277 basehttp 5040 13723840512 "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 200 331 INFO 2025-08-19 17:20:59,598 basehttp 5040 13723840512 "GET /en/admin/inpatients/admission/5958/change/ HTTP/1.1" 200 3057756 INFO 2025-08-19 17:20:59,614 basehttp 5040 13723840512 "GET /static/admin/css/forms.css HTTP/1.1" 200 8525 INFO 2025-08-19 17:20:59,614 basehttp 5040 13707014144 "GET /static/admin/js/calendar.js HTTP/1.1" 200 9141 INFO 2025-08-19 17:20:59,614 basehttp 5040 13740666880 "GET /static/admin/js/SelectFilter2.js HTTP/1.1" 200 15845 INFO 2025-08-19 17:20:59,614 basehttp 5040 13774319616 "GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 200 19319 INFO 2025-08-19 17:20:59,615 basehttp 5040 6167097344 "GET /static/admin/js/SelectBox.js HTTP/1.1" 200 4530 INFO 2025-08-19 17:20:59,616 basehttp 5040 13723840512 "GET /static/admin/js/prepopulate_init.js HTTP/1.1" 200 586 INFO 2025-08-19 17:20:59,616 basehttp 5040 13740666880 "GET /static/admin/css/widgets.css HTTP/1.1" 200 11991 INFO 2025-08-19 17:20:59,618 basehttp 5040 13757493248 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 17:20:59,620 basehttp 5040 13740666880 "GET /static/admin/img/icon-deletelink.svg HTTP/1.1" 200 392 INFO 2025-08-19 17:20:59,620 basehttp 5040 13757493248 "GET /static/admin/js/change_form.js HTTP/1.1" 200 606 INFO 2025-08-19 17:21:00,578 basehttp 5040 13740666880 "GET /static/admin/img/icon-clock.svg HTTP/1.1" 200 677 INFO 2025-08-19 17:21:00,578 basehttp 5040 13723840512 "GET /static/admin/img/selector-icons.svg HTTP/1.1" 200 3291 INFO 2025-08-19 17:21:00,578 basehttp 5040 13757493248 "GET /static/admin/img/icon-calendar.svg HTTP/1.1" 200 1086 INFO 2025-08-19 17:21:21,431 basehttp 5040 13757493248 "POST /en/admin/inpatients/admission/5958/change/ HTTP/1.1" 302 0 INFO 2025-08-19 17:21:21,569 basehttp 5040 13757493248 "GET /en/admin/inpatients/admission/ HTTP/1.1" 200 265663 INFO 2025-08-19 17:21:21,585 basehttp 5040 13757493248 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 17:21:21,596 basehttp 5040 13757493248 "GET /static/admin/img/icon-yes.svg HTTP/1.1" 200 436 INFO 2025-08-19 17:21:24,418 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:21:38,947 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 157385 WARNING 2025-08-19 17:21:38,966 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:21:38,966 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:21:39,015 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:21:45,388 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=2 HTTP/1.1" 200 157836 WARNING 2025-08-19 17:21:45,402 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:21:45,402 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:21:45,446 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:21:47,878 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=3 HTTP/1.1" 200 158016 WARNING 2025-08-19 17:21:47,895 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:21:47,895 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:21:47,936 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:21:50,202 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=4 HTTP/1.1" 200 158201 WARNING 2025-08-19 17:21:50,217 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:21:50,217 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:21:50,240 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:21:52,262 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=5 HTTP/1.1" 200 158165 WARNING 2025-08-19 17:21:52,280 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:21:52,280 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:21:52,323 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:21:54,511 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=6 HTTP/1.1" 200 158226 WARNING 2025-08-19 17:21:54,528 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:21:54,529 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:21:54,573 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:21:56,729 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=7 HTTP/1.1" 200 158217 WARNING 2025-08-19 17:21:56,748 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:21:56,748 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:21:56,796 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:21:58,805 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=8 HTTP/1.1" 200 158210 WARNING 2025-08-19 17:21:58,822 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:21:58,822 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:21:58,867 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:22:00,806 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=9 HTTP/1.1" 200 158180 WARNING 2025-08-19 17:22:00,826 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:22:00,826 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:22:00,872 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:22:02,811 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=10 HTTP/1.1" 200 158181 WARNING 2025-08-19 17:22:02,832 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:22:02,832 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:22:02,878 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:22:04,966 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=11 HTTP/1.1" 200 158197 WARNING 2025-08-19 17:22:04,989 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:22:04,989 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:22:05,031 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:22:07,010 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=12 HTTP/1.1" 200 158245 WARNING 2025-08-19 17:22:07,032 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:22:07,032 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:22:07,077 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:22:09,067 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=13 HTTP/1.1" 200 158175 WARNING 2025-08-19 17:22:09,085 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:22:09,085 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:22:09,126 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:22:11,468 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=14 HTTP/1.1" 200 158038 WARNING 2025-08-19 17:22:11,490 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:22:11,490 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:22:11,539 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:22:13,786 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=15 HTTP/1.1" 200 157925 WARNING 2025-08-19 17:22:13,814 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:22:13,815 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:22:13,856 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:22:16,174 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=16 HTTP/1.1" 200 157196 WARNING 2025-08-19 17:22:16,199 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:22:16,199 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:22:16,222 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:22:18,821 basehttp 5040 13757493248 "GET /en/inpatients/admissions/?page=1 HTTP/1.1" 200 157385 WARNING 2025-08-19 17:22:18,846 log 5040 13757493248 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:22:18,846 basehttp 5040 13757493248 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:22:18,889 basehttp 5040 13757493248 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:23:13,405 basehttp 5040 6167097344 "GET /en/admin/inpatients/admission/5952/change/ HTTP/1.1" 200 3057619 INFO 2025-08-19 17:23:13,419 basehttp 5040 13707014144 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 17:23:19,422 basehttp 5040 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:23:22,336 basehttp 5040 13707014144 "GET /en/admin/inpatients/admission/ HTTP/1.1" 200 265425 INFO 2025-08-19 17:23:46,334 basehttp 5040 13707014144 "GET /en/admin/inpatients/admission/?status__exact=ADMITTED HTTP/1.1" 200 206082 INFO 2025-08-19 17:23:46,349 basehttp 5040 13707014144 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 17:23:52,228 basehttp 5040 13707014144 "GET /en/admin/inpatients/admission/?admission_type__exact=EMERGENCY&status__exact=ADMITTED HTTP/1.1" 200 240243 INFO 2025-08-19 17:23:52,238 basehttp 5040 13707014144 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 17:23:53,203 basehttp 5040 13707014144 "GET /en/admin/inpatients/admission/?status__exact=ADMITTED HTTP/1.1" 200 206082 INFO 2025-08-19 17:23:53,218 basehttp 5040 13707014144 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 17:23:54,147 basehttp 5040 13707014144 "GET /en/admin/inpatients/admission/? HTTP/1.1" 200 265425 INFO 2025-08-19 17:23:54,165 basehttp 5040 13707014144 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 17:24:20,412 basehttp 5040 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:24:27,641 basehttp 5040 13707014144 "GET /en/admin/inpatients/admission/?admission_datetime__month=8&admission_datetime__year=2025 HTTP/1.1" 200 339311 INFO 2025-08-19 17:24:27,660 basehttp 5040 13707014144 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 17:24:30,489 basehttp 5040 13707014144 "GET /en/admin/inpatients/admission/?admission_datetime__day=10&admission_datetime__month=8&admission_datetime__year=2025 HTTP/1.1" 200 370128 INFO 2025-08-19 17:24:30,503 basehttp 5040 13707014144 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 17:25:20,443 basehttp 5040 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:25:33,459 basehttp 5040 13707014144 "GET /en/inpatients/admissions/?page=1 HTTP/1.1" 200 159235 WARNING 2025-08-19 17:25:33,469 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:25:33,470 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:25:33,548 basehttp 5040 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:25:52,431 basehttp 5040 13707014144 "GET /en/inpatients/admissions/5422/ HTTP/1.1" 200 23519 WARNING 2025-08-19 17:25:52,453 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:25:52,454 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:25:52,542 basehttp 5040 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 WARNING 2025-08-19 17:25:54,028 log 5040 13707014144 Not Found: /en/patients/patientprofile/127/details/ WARNING 2025-08-19 17:25:54,028 basehttp 5040 13707014144 "GET /en/patients/patientprofile/127/details/ HTTP/1.1" 404 26865 WARNING 2025-08-19 17:25:54,049 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:25:54,049 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:02,498 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:02,498 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:02,511 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:02,511 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:15,042 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:15,042 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:15,074 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:15,074 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:26:17,069 basehttp 5040 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 WARNING 2025-08-19 17:26:17,071 log 5040 6167097344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:17,072 basehttp 5040 6167097344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:17,084 log 5040 6167097344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:17,085 basehttp 5040 6167097344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:26:17,610 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 WARNING 2025-08-19 17:26:17,612 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:17,612 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:17,630 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:17,630 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:18,008 log 5040 6167097344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:18,012 basehttp 5040 6167097344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:26:18,014 basehttp 5040 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 WARNING 2025-08-19 17:26:18,019 log 5040 6167097344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:18,019 basehttp 5040 6167097344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:26:18,254 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 WARNING 2025-08-19 17:26:18,255 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:18,255 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:18,264 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:18,264 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:18,497 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:18,497 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:18,811 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:18,811 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:19,246 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:19,247 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:19,511 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:19,511 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:19,705 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:19,705 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:19,870 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:19,870 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:20,034 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:20,034 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:20,201 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:20,202 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:20,382 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:20,382 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:20,558 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:20,558 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:20,709 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:20,709 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:20,878 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:20,878 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:21,032 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:21,032 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:21,250 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:21,250 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:26:21,374 basehttp 5040 13707014144 "GET /en/admin/ HTTP/1.1" 200 88263 WARNING 2025-08-19 17:26:21,396 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:21,397 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:26:21,534 basehttp 5040 13707014144 "GET /en/admin/login/?next=/en/admin/ HTTP/1.1" 302 0 INFO 2025-08-19 17:26:21,550 basehttp 5040 13707014144 "GET /en/admin/ HTTP/1.1" 200 88263 WARNING 2025-08-19 17:26:21,572 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:21,572 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:26:22,557 basehttp 5040 13707014144 "GET /en/admin/ HTTP/1.1" 200 88263 WARNING 2025-08-19 17:26:22,587 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:22,587 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:23,154 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:23,155 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:26:23,165 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:23,165 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:26:34,925 basehttp 5040 13707014144 "GET /en/inpatients/ HTTP/1.1" 200 72042 WARNING 2025-08-19 17:26:34,954 log 5040 13707014144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:26:34,954 basehttp 5040 13707014144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:26:34,984 basehttp 5040 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:26:34,986 basehttp 5040 6167097344 "GET /en/inpatients/stats/ HTTP/1.1" 200 2998 INFO 2025-08-19 17:26:35,167 basehttp 5040 13723840512 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 3171121 INFO 2025-08-19 17:27:04,989 basehttp 5040 13723840512 "GET /en/inpatients/stats/ HTTP/1.1" 200 2998 INFO 2025-08-19 17:27:33,017 basehttp 5040 13723840512 "GET /en/inpatients/admissions/?action=new HTTP/1.1" 200 159235 WARNING 2025-08-19 17:27:33,041 log 5040 13723840512 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:27:33,041 basehttp 5040 13723840512 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:27:33,079 basehttp 5040 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 WARNING 2025-08-19 17:27:37,808 log 5040 13740666880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:27:37,809 basehttp 5040 13740666880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:27:37,811 basehttp 5040 13707014144 "GET /en/inpatients/stats/ HTTP/1.1" 200 2998 INFO 2025-08-19 17:27:37,811 basehttp 5040 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 WARNING 2025-08-19 17:27:37,836 log 5040 13723840512 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:27:37,837 basehttp 5040 13723840512 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:27:37,971 basehttp 5040 6167097344 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 3171121 INFO 2025-08-19 17:28:07,786 basehttp 5040 6167097344 "GET /en/inpatients/stats/ HTTP/1.1" 200 2998 INFO 2025-08-19 17:28:35,126 basehttp 5040 6167097344 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 3171121 INFO 2025-08-19 17:28:37,796 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:28:37,805 basehttp 5040 6167097344 "GET /en/inpatients/stats/ HTTP/1.1" 200 2998 INFO 2025-08-19 17:28:37,965 basehttp 5040 13723840512 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 3171121 INFO 2025-08-19 17:29:01,499 basehttp 5040 13723840512 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764626 WARNING 2025-08-19 17:29:01,526 log 5040 6167097344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:29:01,526 basehttp 5040 6167097344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:29:01,701 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:29:02,013 basehttp 5040 6167097344 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764626 INFO 2025-08-19 17:29:15,472 basehttp 5040 6167097344 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764626 WARNING 2025-08-19 17:29:15,501 log 5040 13723840512 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:29:15,501 basehttp 5040 13723840512 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:29:15,705 basehttp 5040 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:29:15,991 basehttp 5040 13723840512 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764626 INFO 2025-08-19 17:29:45,798 basehttp 5040 13723840512 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764642 WARNING 2025-08-19 17:29:45,832 log 5040 6167097344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:29:45,832 basehttp 5040 6167097344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:29:46,039 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:29:46,375 basehttp 5040 6167097344 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764642 INFO 2025-08-19 17:30:16,390 basehttp 5040 6167097344 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764626 INFO 2025-08-19 17:30:46,056 basehttp 5040 6167097344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:30:46,328 basehttp 5040 6167097344 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764626 INFO 2025-08-19 17:31:16,344 basehttp 5040 6167097344 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764626 INFO 2025-08-19 17:31:33,892 autoreload 5040 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-19 17:31:34,276 autoreload 18199 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 17:31:35,207 basehttp 18199 6130823168 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764626 WARNING 2025-08-19 17:31:35,229 log 18199 6147649536 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:31:35,229 basehttp 18199 6147649536 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:31:35,430 basehttp 18199 6147649536 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:31:35,775 basehttp 18199 6147649536 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764626 INFO 2025-08-19 17:32:05,841 basehttp 18199 6147649536 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764626 INFO 2025-08-19 17:32:30,551 autoreload 18199 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-19 17:32:30,865 autoreload 18587 8601149632 Watching for file changes with StatReloader ERROR 2025-08-19 17:32:31,276 log 18587 6169440256 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 561, in get_context_data 'total_beds': Bed.objects.filter(tenant=self.request.user.tenant).count(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'tenant' into field. Choices are: bed_number, bed_position, bed_type, blocked_by, blocked_by_id, blocked_reason, blocked_until, cleaned_by, cleaned_by_id, cleaning_level, created_at, created_by, created_by_id, current_admission, current_admission_id, current_admissions, current_patient, current_patient_id, equipment, features, id, last_cleaned, last_maintenance, maintenance_notes, next_maintenance, occupied_since, reserved_until, room_number, room_type, status, transfers_from, transfers_to, updated_at, ward, ward_id ERROR 2025-08-19 17:32:31,277 basehttp 18587 6169440256 "GET /en/inpatients/beds/ HTTP/1.1" 500 140681 WARNING 2025-08-19 17:32:31,305 log 18587 6169440256 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:32:31,305 basehttp 18587 6169440256 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:33:03,225 autoreload 18587 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-19 17:33:03,497 autoreload 18825 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 17:33:04,354 basehttp 18825 6137311232 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764634 WARNING 2025-08-19 17:33:04,360 log 18825 6154137600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:33:04,360 basehttp 18825 6154137600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:33:04,603 basehttp 18825 6137311232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:33:04,875 basehttp 18825 6137311232 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764634 INFO 2025-08-19 17:33:34,894 basehttp 18825 6137311232 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764634 INFO 2025-08-19 17:33:55,421 autoreload 18825 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-19 17:33:55,771 autoreload 19212 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 17:33:56,441 basehttp 19212 6165835776 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764637 WARNING 2025-08-19 17:33:56,446 log 19212 6182662144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:33:56,446 basehttp 19212 6182662144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:33:56,691 basehttp 19212 6182662144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:33:56,957 basehttp 19212 6182662144 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764637 INFO 2025-08-19 17:34:19,788 autoreload 19212 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-19 17:34:20,127 autoreload 19375 8601149632 Watching for file changes with StatReloader WARNING 2025-08-19 17:34:21,321 log 19375 6123450368 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:34:21,321 basehttp 19375 6123450368 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-19 17:34:21,330 log 19375 6123450368 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:34:21,330 basehttp 19375 6123450368 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:34:22,388 basehttp 19375 6123450368 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764643 WARNING 2025-08-19 17:34:22,392 log 19375 6140276736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:34:22,392 basehttp 19375 6140276736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:34:22,637 basehttp 19375 6140276736 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:34:22,915 basehttp 19375 6140276736 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764643 INFO 2025-08-19 17:34:52,912 basehttp 19375 6140276736 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764643 INFO 2025-08-19 17:35:22,224 autoreload 19375 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-19 17:35:22,582 autoreload 19848 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 17:35:23,428 basehttp 19848 6341865472 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764646 WARNING 2025-08-19 17:35:23,435 log 19848 6358691840 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:35:23,435 basehttp 19848 6358691840 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:35:23,669 basehttp 19848 6358691840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:35:23,956 basehttp 19848 6358691840 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764646 INFO 2025-08-19 17:35:53,959 basehttp 19848 6358691840 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764646 INFO 2025-08-19 17:36:23,680 basehttp 19848 6358691840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:36:23,959 basehttp 19848 6358691840 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764646 INFO 2025-08-19 17:36:53,976 basehttp 19848 6358691840 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764646 INFO 2025-08-19 17:37:23,700 basehttp 19848 6358691840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:37:23,958 basehttp 19848 6358691840 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764646 INFO 2025-08-19 17:37:44,576 autoreload 19848 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-19 17:37:44,900 autoreload 20922 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 17:39:19,977 autoreload 20922 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-19 17:39:20,241 autoreload 21642 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 17:40:55,341 autoreload 21642 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-19 17:40:55,620 autoreload 22359 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 17:40:58,481 basehttp 22359 6196457472 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764798 WARNING 2025-08-19 17:40:58,503 log 22359 6213283840 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:40:58,503 basehttp 22359 6213283840 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:40:58,724 basehttp 22359 6213283840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:40:59,048 basehttp 22359 6213283840 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764798 INFO 2025-08-19 17:41:29,015 basehttp 22359 6213283840 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764798 INFO 2025-08-19 17:41:58,739 basehttp 22359 6213283840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:41:59,006 basehttp 22359 6213283840 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764798 INFO 2025-08-19 17:42:05,265 autoreload 22359 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-19 17:42:05,615 autoreload 22906 8601149632 Watching for file changes with StatReloader ERROR 2025-08-19 17:42:06,100 log 22906 6199816192 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 566, in get_context_data 'occupancy_rate': wards.occupancy_rate ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'tuple' object has no attribute 'occupancy_rate' ERROR 2025-08-19 17:42:06,101 basehttp 22906 6199816192 "GET /en/inpatients/beds/ HTTP/1.1" 500 90833 WARNING 2025-08-19 17:42:06,129 log 22906 6199816192 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:42:06,129 basehttp 22906 6199816192 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-19 17:42:08,667 log 22906 6199816192 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 566, in get_context_data 'occupancy_rate': wards.occupancy_rate ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'tuple' object has no attribute 'occupancy_rate' ERROR 2025-08-19 17:42:08,668 basehttp 22906 6199816192 "GET /en/inpatients/beds/ HTTP/1.1" 500 90833 WARNING 2025-08-19 17:42:08,679 log 22906 6199816192 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:42:08,679 basehttp 22906 6199816192 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:44:05,403 autoreload 22906 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-19 17:44:05,744 autoreload 23756 8601149632 Watching for file changes with StatReloader ERROR 2025-08-19 17:44:07,818 log 23756 6169473024 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 565, in get_context_data 'occupancy_rate': Ward.objects.filter(tenant=self.request.user.tenant).aggregate('occupancy_rate'), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 575, in aggregate self._validate_values_are_expressions( File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 2014, in _validate_values_are_expressions raise TypeError( TypeError: QuerySet.aggregate() received non-expression(s): occupancy_rate. ERROR 2025-08-19 17:44:07,819 basehttp 23756 6169473024 "GET /en/inpatients/beds/ HTTP/1.1" 500 99082 WARNING 2025-08-19 17:44:07,833 log 23756 6169473024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:44:07,833 basehttp 23756 6169473024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:47:54,390 autoreload 27205 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 17:47:57,395 basehttp 27205 6162673664 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764658 WARNING 2025-08-19 17:47:57,400 log 27205 13170143232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:47:57,400 basehttp 27205 13170143232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:47:57,557 basehttp 27205 13170143232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:47:57,859 basehttp 27205 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764658 INFO 2025-08-19 17:48:02,777 basehttp 27205 13170143232 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764658 WARNING 2025-08-19 17:48:02,804 log 27205 6162673664 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:48:02,804 basehttp 27205 6162673664 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:48:03,001 basehttp 27205 6162673664 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:48:03,335 basehttp 27205 6162673664 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764658 INFO 2025-08-19 17:48:33,314 basehttp 27205 6162673664 "GET /en/inpatients/beds/ HTTP/1.1" 200 3764658 INFO 2025-08-19 17:49:01,213 autoreload 27205 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-19 17:49:01,493 autoreload 27675 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 17:49:02,014 basehttp 27675 6196178944 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765846 WARNING 2025-08-19 17:49:02,019 log 27675 6213005312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:49:02,019 basehttp 27675 6213005312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:49:02,182 basehttp 27675 6213005312 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:49:02,496 basehttp 27675 6213005312 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765846 ERROR 2025-08-19 17:49:32,015 log 27675 6213005312 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 73, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 17:49:32,021 basehttp 27675 6213005312 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398775 INFO 2025-08-19 17:49:32,715 basehttp 27675 6213005312 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765846 INFO 2025-08-19 17:50:02,441 basehttp 27675 6213005312 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:50:02,635 basehttp 27675 6196178944 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765846 INFO 2025-08-19 17:50:32,649 basehttp 27675 6196178944 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765846 INFO 2025-08-19 17:51:02,708 basehttp 27675 6196178944 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765846 INFO 2025-08-19 17:51:03,443 basehttp 27675 6196178944 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:51:06,204 basehttp 27675 6196178944 "GET /en/admin/inpatients/admission/?admission_datetime__day=10&admission_datetime__month=8&admission_datetime__year=2025 HTTP/1.1" 200 370128 INFO 2025-08-19 17:51:07,144 basehttp 27675 6196178944 "GET /en/admin/inpatients/admission/?admission_datetime__day=10&admission_datetime__month=8&admission_datetime__year=2025 HTTP/1.1" 200 370128 INFO 2025-08-19 17:51:07,161 basehttp 27675 6196178944 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 ERROR 2025-08-19 17:51:12,462 log 27675 6196178944 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 73, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 17:51:12,465 basehttp 27675 6196178944 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398775 INFO 2025-08-19 17:51:32,650 basehttp 27675 6196178944 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765846 INFO 2025-08-19 17:52:04,456 basehttp 27675 6196178944 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:52:34,638 basehttp 27675 6196178944 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 17:52:41,831 autoreload 27675 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-19 17:52:42,144 autoreload 29311 8601149632 Watching for file changes with StatReloader ERROR 2025-08-19 17:52:43,995 log 29311 6135296000 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 73, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 17:52:43,998 basehttp 29311 6135296000 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398678 INFO 2025-08-19 17:53:05,440 basehttp 29311 6135296000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:53:56,686 basehttp 29311 6135296000 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 17:54:06,449 basehttp 29311 6135296000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:54:56,634 basehttp 29311 6135296000 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 17:55:07,432 basehttp 29311 6135296000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:55:56,618 basehttp 29311 6135296000 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 17:56:01,622 autoreload 29311 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-19 17:56:01,916 autoreload 30789 8601149632 Watching for file changes with StatReloader ERROR 2025-08-19 17:56:03,118 log 30789 6128594944 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 73, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 17:56:03,121 basehttp 30789 6128594944 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398678 ERROR 2025-08-19 17:56:04,072 log 30789 6128594944 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 73, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 17:56:04,074 basehttp 30789 6128594944 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398678 ERROR 2025-08-19 17:56:05,033 log 30789 6128594944 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 73, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 17:56:05,035 basehttp 30789 6128594944 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398678 INFO 2025-08-19 17:56:56,452 basehttp 30789 6145421312 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:56:56,643 basehttp 30789 6128594944 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 17:57:56,608 basehttp 30789 6128594944 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 17:58:28,063 autoreload 30789 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py changed, reloading. INFO 2025-08-19 17:58:28,360 autoreload 31882 8601149632 Watching for file changes with StatReloader ERROR 2025-08-19 17:58:29,455 log 31882 6125498368 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 74, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 17:58:29,457 basehttp 31882 6125498368 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398839 ERROR 2025-08-19 17:58:30,842 log 31882 6125498368 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 74, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 17:58:30,844 basehttp 31882 6125498368 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398839 WARNING 2025-08-19 17:58:33,881 log 31882 6125498368 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:58:33,881 basehttp 31882 6125498368 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:58:56,445 basehttp 31882 6125498368 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:58:56,659 basehttp 31882 6142324736 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 17:59:23,352 autoreload 31882 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-19 17:59:23,650 autoreload 32275 8601149632 Watching for file changes with StatReloader ERROR 2025-08-19 17:59:24,241 log 32275 6159544320 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 74, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 17:59:24,243 basehttp 32275 6159544320 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398839 WARNING 2025-08-19 17:59:24,262 log 32275 6159544320 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:59:24,262 basehttp 32275 6159544320 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-19 17:59:25,146 log 32275 6159544320 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 74, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 17:59:25,147 basehttp 32275 6159544320 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398839 WARNING 2025-08-19 17:59:25,165 log 32275 6159544320 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:59:25,165 basehttp 32275 6159544320 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-19 17:59:26,551 log 32275 6159544320 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 74, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 17:59:26,553 basehttp 32275 6159544320 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398839 WARNING 2025-08-19 17:59:26,569 log 32275 6159544320 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 17:59:26,569 basehttp 32275 6159544320 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 17:59:56,557 basehttp 32275 6176370688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 17:59:56,705 basehttp 32275 6159544320 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:00:01,126 autoreload 32275 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-19 18:00:01,419 autoreload 32595 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 18:00:12,004 autoreload 32595 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-19 18:00:12,290 autoreload 32682 8601149632 Watching for file changes with StatReloader ERROR 2025-08-19 18:00:13,494 log 32682 6155563008 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 74, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 18:00:13,496 basehttp 32682 6155563008 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398839 WARNING 2025-08-19 18:00:13,510 log 32682 6155563008 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:00:13,510 basehttp 32682 6155563008 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-19 18:00:14,418 log 32682 6155563008 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 74, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 18:00:14,419 basehttp 32682 6155563008 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398839 WARNING 2025-08-19 18:00:14,434 log 32682 6155563008 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:00:14,434 basehttp 32682 6155563008 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:00:31,078 autoreload 32682 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-19 18:00:31,360 autoreload 32769 8601149632 Watching for file changes with StatReloader ERROR 2025-08-19 18:00:32,028 log 32769 6169473024 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 74, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 18:00:32,030 basehttp 32769 6169473024 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398839 WARNING 2025-08-19 18:00:32,047 log 32769 6169473024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:00:32,048 basehttp 32769 6169473024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-19 18:00:33,108 log 32769 6169473024 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 74, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 18:00:33,110 basehttp 32769 6169473024 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398839 WARNING 2025-08-19 18:00:33,126 log 32769 6169473024 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:00:33,126 basehttp 32769 6169473024 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:00:56,625 basehttp 32769 6169473024 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:01:53,521 autoreload 32769 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py changed, reloading. INFO 2025-08-19 18:01:53,836 autoreload 33391 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 18:01:54,995 basehttp 33391 6200045568 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 143807 WARNING 2025-08-19 18:01:55,015 log 33391 6200045568 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:01:55,016 basehttp 33391 6200045568 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:01:55,016 basehttp 33391 6216871936 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:01:56,455 basehttp 33391 6216871936 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 18:01:56,657 basehttp 33391 6200045568 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:01:57,101 basehttp 33391 6200045568 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 143807 WARNING 2025-08-19 18:01:57,127 log 33391 6200045568 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:01:57,128 basehttp 33391 6200045568 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:01:57,128 basehttp 33391 6216871936 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:02:56,475 basehttp 33391 6200045568 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 18:02:56,689 basehttp 33391 6216871936 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:03:56,643 basehttp 33391 6216871936 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:04:05,606 autoreload 33391 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py changed, reloading. INFO 2025-08-19 18:04:05,886 autoreload 34388 8601149632 Watching for file changes with StatReloader ERROR 2025-08-19 18:04:08,591 log 34388 6131478528 Internal Server Error: /en/admin/inpatients/ward/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Ward has no field named 'occupancy_display' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/library.py", line 359, in render _dict = self.func(*resolved_args, **resolved_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 354, in result_list "results": list(results(cl)), ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 330, in results yield ResultList(None, items_for_result(cl, res, None)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 321, in __init__ super().__init__(*items) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/templatetags/admin_list.py", line 219, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 299, in lookup_field value = attr(obj) ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py", line 74, in occupancy_display return format_html( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/html.py", line 145, in format_html return mark_safe(format_string.format(*args_safe, **kwargs_safe)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Unknown format code 'f' for object of type 'SafeString' ERROR 2025-08-19 18:04:08,593 basehttp 34388 6131478528 "GET /en/admin/inpatients/ward/ HTTP/1.1" 500 398839 WARNING 2025-08-19 18:04:08,611 log 34388 6131478528 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:04:08,611 basehttp 34388 6131478528 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:04:20,674 autoreload 34388 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py changed, reloading. INFO 2025-08-19 18:04:20,961 autoreload 34474 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 18:04:21,345 basehttp 34474 6204157952 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 143807 WARNING 2025-08-19 18:04:21,370 log 34474 6220984320 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:04:21,370 basehttp 34474 6220984320 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:04:21,370 basehttp 34474 6204157952 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:04:56,444 basehttp 34474 6204157952 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 18:04:56,647 basehttp 34474 6220984320 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:05:56,635 basehttp 34474 6220984320 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:06:26,478 autoreload 34474 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py changed, reloading. INFO 2025-08-19 18:06:26,765 autoreload 35408 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 18:06:27,598 basehttp 35408 6123614208 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 146707 WARNING 2025-08-19 18:06:27,622 log 35408 6140440576 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-19 18:06:27,622 basehttp 35408 6123614208 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 WARNING 2025-08-19 18:06:27,622 basehttp 35408 6140440576 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:06:27,624 basehttp 35408 6140440576 - Broken pipe from ('127.0.0.1', 55591) INFO 2025-08-19 18:06:56,455 basehttp 35408 6123614208 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 18:06:56,661 basehttp 35408 6140440576 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:07:56,625 basehttp 35408 6140440576 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:07:58,714 basehttp 35408 6140440576 "GET /en/admin/inpatients/ward/?p=4 HTTP/1.1" 200 149088 WARNING 2025-08-19 18:07:58,738 log 35408 6140440576 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:07:58,738 basehttp 35408 6140440576 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:07:58,739 basehttp 35408 6123614208 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:08:03,524 basehttp 35408 6123614208 "GET /en/admin/inpatients/ward/?p=9 HTTP/1.1" 200 149786 WARNING 2025-08-19 18:08:03,550 log 35408 6123614208 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:08:03,551 basehttp 35408 6123614208 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:08:03,551 basehttp 35408 6140440576 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:08:33,107 basehttp 35408 6140440576 "GET /en/admin/inpatients/ward/?p=1 HTTP/1.1" 200 149333 WARNING 2025-08-19 18:08:33,131 log 35408 6140440576 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:08:33,131 basehttp 35408 6140440576 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:08:33,132 basehttp 35408 6123614208 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:08:35,028 basehttp 35408 6123614208 "GET /en/admin/inpatients/ward/396/change/?_changelist_filters=p%3D1 HTTP/1.1" 200 291565 INFO 2025-08-19 18:08:35,051 basehttp 35408 6157266944 "GET /static/admin/js/inlines.js HTTP/1.1" 200 15628 WARNING 2025-08-19 18:08:35,052 log 35408 6123614208 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:08:35,052 basehttp 35408 6123614208 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:08:35,054 basehttp 35408 6140440576 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:08:35,079 basehttp 35408 6140440576 "GET /static/admin/img/icon-unknown.svg HTTP/1.1" 200 655 INFO 2025-08-19 18:08:56,497 basehttp 35408 6140440576 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 18:08:56,695 basehttp 35408 6123614208 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:09:06,065 basehttp 35408 6123614208 "POST /en/admin/inpatients/ward/396/change/?_changelist_filters=p%3D1 HTTP/1.1" 200 295280 WARNING 2025-08-19 18:09:06,085 log 35408 6140440576 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:09:06,085 basehttp 35408 6140440576 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:09:06,086 basehttp 35408 6123614208 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:09:18,410 basehttp 35408 6123614208 "GET /en/admin/inpatients/ward/396/change/?_changelist_filters=p%3D1 HTTP/1.1" 200 291565 WARNING 2025-08-19 18:09:18,431 log 35408 6123614208 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:09:18,431 basehttp 35408 6123614208 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:09:27,019 basehttp 35408 6123614208 "GET /en/admin/inpatients/ward/?p=1 HTTP/1.1" 200 149333 WARNING 2025-08-19 18:09:27,038 log 35408 6123614208 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:09:27,038 basehttp 35408 6123614208 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:09:56,605 basehttp 35408 6123614208 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:09:56,912 autoreload 35408 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/admin.py changed, reloading. INFO 2025-08-19 18:09:57,192 autoreload 36951 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 18:09:57,851 basehttp 36951 6170357760 "GET /en/admin/inpatients/ward/?p=1 HTTP/1.1" 200 157065 WARNING 2025-08-19 18:09:57,878 log 36951 6170357760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:09:57,879 basehttp 36951 6170357760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:09:57,880 basehttp 36951 6187184128 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:10:05,386 basehttp 36951 6187184128 "GET /en/admin/inpatients/ward/?o=1.8.9.2 HTTP/1.1" 200 159756 WARNING 2025-08-19 18:10:05,413 log 36951 6187184128 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:10:05,413 basehttp 36951 6187184128 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:10:05,414 basehttp 36951 6170357760 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:10:10,553 basehttp 36951 6170357760 "GET /en/admin/inpatients/ward/608/change/?_changelist_filters=o%3D1.8.9.2 HTTP/1.1" 200 287799 WARNING 2025-08-19 18:10:10,580 log 36951 6170357760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:10:10,580 basehttp 36951 6170357760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:10:10,581 basehttp 36951 6187184128 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:10:23,985 basehttp 36951 6187184128 "POST /en/admin/inpatients/ward/608/change/?_changelist_filters=o%3D1.8.9.2 HTTP/1.1" 200 291349 WARNING 2025-08-19 18:10:24,004 log 36951 6187184128 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:10:24,005 basehttp 36951 6187184128 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:10:24,005 basehttp 36951 6170357760 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:10:45,771 basehttp 36951 6170357760 "POST /en/admin/inpatients/ward/608/change/?_changelist_filters=o%3D1.8.9.2 HTTP/1.1" 200 291336 WARNING 2025-08-19 18:10:45,789 log 36951 6170357760 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:10:45,789 basehttp 36951 6170357760 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:10:45,790 basehttp 36951 6187184128 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:10:52,658 basehttp 36951 6187184128 "POST /en/admin/inpatients/ward/608/change/?_changelist_filters=o%3D1.8.9.2 HTTP/1.1" 200 291334 WARNING 2025-08-19 18:10:52,678 log 36951 6187184128 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:10:52,678 basehttp 36951 6187184128 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:10:52,679 basehttp 36951 6170357760 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:10:56,441 basehttp 36951 6170357760 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 18:10:56,634 basehttp 36951 6187184128 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:11:00,270 basehttp 36951 6187184128 "POST /en/admin/inpatients/ward/608/change/?_changelist_filters=o%3D1.8.9.2 HTTP/1.1" 200 291175 WARNING 2025-08-19 18:11:00,286 log 36951 6187184128 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:11:00,286 basehttp 36951 6187184128 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:11:00,288 basehttp 36951 6170357760 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:11:24,877 autoreload 36951 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-19 18:11:50,167 autoreload 37876 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 18:11:56,649 basehttp 37876 6155333632 "GET /en/admin/inpatients/ward/608/change/?_changelist_filters=o%3D1.8.9.2 HTTP/1.1" 200 287799 WARNING 2025-08-19 18:11:56,669 log 37876 6155333632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:11:56,670 basehttp 37876 6155333632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:11:56,810 basehttp 37876 6172160000 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:11:56,902 basehttp 37876 6172160000 "GET /en/admin/inpatients/ward/?o=1.8.9.2 HTTP/1.1" 200 159756 WARNING 2025-08-19 18:11:56,913 log 37876 6172160000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:11:56,914 basehttp 37876 6172160000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:12:06,603 basehttp 37876 6172160000 "GET /en/admin/inpatients/ward/608/change/?_changelist_filters=o%3D1.8.9.2 HTTP/1.1" 200 287799 WARNING 2025-08-19 18:12:06,631 log 37876 6172160000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:12:06,631 basehttp 37876 6172160000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:12:06,632 basehttp 37876 6155333632 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:12:15,139 basehttp 37876 6155333632 "POST /en/admin/inpatients/ward/608/change/?_changelist_filters=o%3D1.8.9.2 HTTP/1.1" 200 291191 WARNING 2025-08-19 18:12:15,158 log 37876 6155333632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:12:15,158 basehttp 37876 6155333632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:12:15,158 basehttp 37876 6172160000 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:12:56,427 basehttp 37876 6172160000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 18:12:56,610 basehttp 37876 6155333632 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:12:57,006 basehttp 37876 6155333632 "POST /en/admin/inpatients/ward/608/change/?_changelist_filters=o%3D1.8.9.2 HTTP/1.1" 302 0 INFO 2025-08-19 18:12:57,081 basehttp 37876 6155333632 "GET /en/admin/inpatients/ward/?o=1.8.9.2 HTTP/1.1" 200 159999 WARNING 2025-08-19 18:12:57,102 log 37876 6155333632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:12:57,103 basehttp 37876 6155333632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:12:57,103 basehttp 37876 6172160000 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:13:09,787 basehttp 37876 6172160000 "GET /en/admin/inpatients/ward/608/change/?_changelist_filters=o%3D1.8.9.2 HTTP/1.1" 200 288366 WARNING 2025-08-19 18:13:09,814 log 37876 6172160000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:13:09,814 basehttp 37876 6172160000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:13:09,815 basehttp 37876 6155333632 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:13:21,018 basehttp 37876 6155333632 "POST /en/admin/inpatients/ward/608/change/?_changelist_filters=o%3D1.8.9.2 HTTP/1.1" 302 0 INFO 2025-08-19 18:13:21,091 basehttp 37876 6155333632 "GET /en/admin/inpatients/ward/?o=1.8.9.2 HTTP/1.1" 200 159999 WARNING 2025-08-19 18:13:21,112 log 37876 6155333632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:13:21,112 basehttp 37876 6155333632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:13:21,113 basehttp 37876 6172160000 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:13:32,773 basehttp 37876 6172160000 "GET /en/admin/inpatients/ward/608/change/?_changelist_filters=o%3D1.8.9.2 HTTP/1.1" 200 288366 WARNING 2025-08-19 18:13:32,795 log 37876 6172160000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:13:32,795 basehttp 37876 6172160000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:13:32,796 basehttp 37876 6155333632 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:13:54,499 basehttp 37876 6155333632 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 207467 WARNING 2025-08-19 18:13:54,523 log 37876 6155333632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:13:54,524 basehttp 37876 6155333632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:13:54,525 basehttp 37876 6172160000 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:13:56,624 basehttp 37876 6172160000 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765847 INFO 2025-08-19 18:14:07,702 basehttp 37876 6172160000 "GET /en/admin/inpatients/bed/8952/change/ HTTP/1.1" 200 635464 WARNING 2025-08-19 18:14:07,733 log 37876 6172160000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:14:07,734 basehttp 37876 6172160000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:14:07,734 basehttp 37876 6155333632 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:14:22,183 basehttp 37876 6155333632 "POST /en/admin/inpatients/bed/8952/change/ HTTP/1.1" 200 635758 WARNING 2025-08-19 18:14:22,204 log 37876 6155333632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:14:22,204 basehttp 37876 6155333632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:14:22,205 basehttp 37876 6172160000 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:14:27,119 basehttp 37876 6172160000 "POST /en/admin/inpatients/bed/8952/change/ HTTP/1.1" 302 0 INFO 2025-08-19 18:14:27,196 basehttp 37876 6172160000 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 207726 WARNING 2025-08-19 18:14:27,223 log 37876 6155333632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:14:27,223 basehttp 37876 6155333632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:14:27,224 basehttp 37876 6172160000 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:14:34,208 basehttp 37876 6172160000 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 154481 WARNING 2025-08-19 18:14:34,236 log 37876 6172160000 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-19 18:14:34,237 basehttp 37876 6155333632 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 WARNING 2025-08-19 18:14:34,238 basehttp 37876 6172160000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:14:42,386 basehttp 37876 6172160000 "GET /en/admin/inpatients/ward/?o=1.8.9.2 HTTP/1.1" 200 159784 WARNING 2025-08-19 18:14:42,415 log 37876 6172160000 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-19 18:14:42,416 basehttp 37876 6155333632 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 WARNING 2025-08-19 18:14:42,416 basehttp 37876 6172160000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:14:56,441 basehttp 37876 6172160000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 18:14:56,643 basehttp 37876 6155333632 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765902 INFO 2025-08-19 18:15:00,855 basehttp 37876 6155333632 "GET /en/admin/inpatients/ward/?o=-2.1.8.9 HTTP/1.1" 200 159605 WARNING 2025-08-19 18:15:00,879 log 37876 6155333632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:15:00,880 basehttp 37876 6155333632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:15:00,880 basehttp 37876 6172160000 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:15:02,919 basehttp 37876 6172160000 "GET /en/admin/inpatients/ward/?o=2.1.8.9 HTTP/1.1" 200 158710 WARNING 2025-08-19 18:15:02,939 log 37876 6172160000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:15:02,940 basehttp 37876 6172160000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:15:02,942 basehttp 37876 6155333632 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:15:26,328 basehttp 37876 6155333632 "GET /en/admin/inpatients/ward/753/change/?_changelist_filters=o%3D2.1.8.9 HTTP/1.1" 200 424089 WARNING 2025-08-19 18:15:26,357 log 37876 6155333632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:15:26,357 basehttp 37876 6155333632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:15:26,358 basehttp 37876 6172160000 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:15:56,621 basehttp 37876 6172160000 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765902 INFO 2025-08-19 18:16:56,440 basehttp 37876 6172160000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 18:16:56,643 basehttp 37876 6155333632 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765902 INFO 2025-08-19 18:17:28,100 basehttp 37876 6155333632 "POST /en/admin/inpatients/ward/753/change/?_changelist_filters=o%3D2.1.8.9 HTTP/1.1" 200 426052 WARNING 2025-08-19 18:17:28,123 log 37876 6155333632 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:17:28,123 basehttp 37876 6155333632 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:17:28,125 basehttp 37876 6172160000 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:17:35,628 basehttp 37876 6172160000 "POST /en/admin/inpatients/ward/753/change/?_changelist_filters=o%3D2.1.8.9 HTTP/1.1" 302 0 INFO 2025-08-19 18:17:35,690 basehttp 37876 6172160000 "GET /en/admin/inpatients/ward/?o=2.1.8.9 HTTP/1.1" 200 158952 WARNING 2025-08-19 18:17:35,720 log 37876 6172160000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:17:35,720 basehttp 37876 6172160000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:17:35,721 basehttp 37876 6155333632 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 18:17:37,752 basehttp 37876 6155333632 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765902 INFO 2025-08-19 18:17:39,434 basehttp 37876 6155333632 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765902 WARNING 2025-08-19 18:17:39,462 log 37876 6172160000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:17:39,462 basehttp 37876 6172160000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:17:39,692 basehttp 37876 6155333632 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4399 INFO 2025-08-19 18:17:39,961 basehttp 37876 6155333632 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765902 INFO 2025-08-19 18:18:10,639 basehttp 37876 6155333632 "GET /en/inpatients/beds/ HTTP/1.1" 200 3765902 INFO 2025-08-19 18:18:10,731 basehttp 37876 6155333632 "GET /en/admin/inpatients/ward/?o=2.1.8.9 HTTP/1.1" 200 158737 WARNING 2025-08-19 18:18:10,754 log 37876 6172160000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-19 18:18:10,755 basehttp 37876 6172160000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-19 18:18:10,755 basehttp 37876 6155333632 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 22:44:33,792 autoreload 7575 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 22:44:35,219 basehttp 7575 6201651200 "GET / HTTP/1.1" 302 0 INFO 2025-08-19 22:44:35,257 basehttp 7575 6218477568 "GET /en/ HTTP/1.1" 302 0 INFO 2025-08-19 22:44:35,264 basehttp 7575 6218477568 "GET /accounts/login/?next=/en/ HTTP/1.1" 302 0 ERROR 2025-08-19 22:44:35,279 log 7575 6201651200 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-19 22:44:35,281 basehttp 7575 6201651200 "GET /en/accounts/login/?next=/en/ HTTP/1.1" 500 160969 INFO 2025-08-19 22:44:39,601 basehttp 7575 6201651200 "GET /en/inpatients/beds/ HTTP/1.1" 302 0 INFO 2025-08-19 22:44:39,612 basehttp 7575 6201651200 "GET /accounts/login/?next=/en/inpatients/beds/ HTTP/1.1" 302 0 ERROR 2025-08-19 22:44:39,631 log 7575 6201651200 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-19 22:44:39,633 basehttp 7575 6201651200 "GET /en/accounts/login/?next=/en/inpatients/beds/ HTTP/1.1" 500 161353 INFO 2025-08-19 22:44:42,095 basehttp 7575 6201651200 "GET /en/admin/ HTTP/1.1" 302 0 INFO 2025-08-19 22:44:42,108 basehttp 7575 6201651200 "GET /en/admin/login/?next=/en/admin/ HTTP/1.1" 200 4212 INFO 2025-08-19 22:44:44,639 basehttp 7575 6201651200 "POST /en/admin/login/?next=/en/admin/ HTTP/1.1" 302 0 INFO 2025-08-19 22:44:44,658 basehttp 7575 6201651200 "GET /en/admin/ HTTP/1.1" 200 84716 INFO 2025-08-19 22:44:55,415 basehttp 7575 6201651200 "GET /en/admin/analytics/dashboard/ HTTP/1.1" 200 72865 INFO 2025-08-19 22:44:55,430 basehttp 7575 6201651200 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 22:44:56,641 basehttp 7575 6201651200 "GET /en/admin/ HTTP/1.1" 200 84716 INFO 2025-08-19 22:44:58,366 basehttp 7575 6201651200 "GET /en/admin/accounts/user/ HTTP/1.1" 200 78166 INFO 2025-08-19 22:44:58,377 basehttp 7575 6218477568 "GET /static/admin/img/icon-no.svg HTTP/1.1" 200 560 INFO 2025-08-19 22:44:58,379 basehttp 7575 6201651200 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 22:45:09,607 basehttp 7575 6201651200 "GET /en/inpatients/beds/ HTTP/1.1" 200 41762 INFO 2025-08-19 22:45:10,458 basehttp 7575 6201651200 "GET /en/admin/accounts/user/1/change/ HTTP/1.1" 200 152361 INFO 2025-08-19 22:45:10,469 basehttp 7575 6201651200 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 22:45:26,610 basehttp 7575 6201651200 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4640 INFO 2025-08-19 22:45:30,070 basehttp 7575 6201651200 "POST /en/admin/accounts/user/1/change/ HTTP/1.1" 302 0 INFO 2025-08-19 22:45:30,088 basehttp 7575 6201651200 "GET /en/admin/accounts/user/ HTTP/1.1" 200 78382 INFO 2025-08-19 22:45:30,099 basehttp 7575 6201651200 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 22:45:38,142 basehttp 7575 6201651200 "GET /en/admin/core/tenant/ HTTP/1.1" 200 93599 INFO 2025-08-19 22:45:38,153 basehttp 7575 6201651200 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 22:52:22,575 autoreload 11063 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 22:52:25,415 basehttp 11063 6165540864 "GET /en/admin/core/tenant/ HTTP/1.1" 302 0 INFO 2025-08-19 22:52:25,428 basehttp 11063 6165540864 "GET /en/admin/login/?next=/en/admin/core/tenant/ HTTP/1.1" 200 4236 INFO 2025-08-19 22:52:25,507 basehttp 11063 6165540864 "GET /en/inpatients/beds/ HTTP/1.1" 302 0 INFO 2025-08-19 22:52:25,513 basehttp 11063 6165540864 "GET /accounts/login/?next=/en/inpatients/beds/ HTTP/1.1" 302 0 ERROR 2025-08-19 22:52:25,528 log 11063 6182367232 Internal Server Error: /en/accounts/login/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/decorators.py", line 12, in wrap resp = function(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 95, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper return bound_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper response = view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 53, in dispatch response = super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 72, in get response = super().get(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/edit.py", line 142, in get return self.render_to_response(self.get_context_data()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/views.py", line 121, in get_context_data signup_url = self.passthrough_next_url(reverse("account_signup")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/mixins.py", line 191, in passthrough_next_url return passthrough_next_redirect_url( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 285, in passthrough_next_redirect_url next_url = get_next_redirect_url(request, redirect_field_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/utils.py", line 43, in get_next_redirect_url if redirect_to and not get_adapter().is_safe_url(redirect_to): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/allauth/account/adapter.py", line 587, in is_safe_url allowed_hosts = {context.request.get_host()} | set(settings.ALLOWED_HOSTS) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_host' ERROR 2025-08-19 22:52:25,530 basehttp 11063 6182367232 "GET /en/accounts/login/?next=/en/inpatients/beds/ HTTP/1.1" 500 161353 INFO 2025-08-19 22:52:26,973 basehttp 11063 6182367232 "POST /en/admin/login/?next=/en/admin/core/tenant/ HTTP/1.1" 302 0 INFO 2025-08-19 22:52:26,994 basehttp 11063 6182367232 "GET /en/admin/core/tenant/ HTTP/1.1" 200 70565 INFO 2025-08-19 22:52:27,012 basehttp 11063 6182367232 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 22:52:40,215 basehttp 11063 6182367232 "GET /en/admin/accounts/user/ HTTP/1.1" 200 73576 INFO 2025-08-19 22:52:40,227 basehttp 11063 6182367232 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 22:52:41,414 basehttp 11063 6182367232 "GET /en/admin/accounts/user/1/change/ HTTP/1.1" 200 149184 INFO 2025-08-19 22:52:41,428 basehttp 11063 6182367232 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 22:52:46,984 basehttp 11063 6182367232 "POST /en/admin/accounts/user/1/change/ HTTP/1.1" 302 0 INFO 2025-08-19 22:52:47,001 basehttp 11063 6182367232 "GET /en/admin/accounts/user/ HTTP/1.1" 200 73792 INFO 2025-08-19 22:52:47,016 basehttp 11063 6182367232 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 22:52:51,866 basehttp 11063 6182367232 "GET /en/admin/accounts/usersession/ HTTP/1.1" 200 68705 INFO 2025-08-19 22:52:51,880 basehttp 11063 6182367232 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 22:52:53,077 basehttp 11063 6182367232 "GET /en/admin/accounts/twofactordevice/ HTTP/1.1" 200 67629 INFO 2025-08-19 22:52:53,090 basehttp 11063 6182367232 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 22:52:55,616 basehttp 11063 6182367232 "GET /en/admin/accounts/socialaccount/ HTTP/1.1" 200 67517 INFO 2025-08-19 22:52:55,630 basehttp 11063 6182367232 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 22:52:56,644 basehttp 11063 6182367232 "GET /en/admin/accounts/passwordhistory/ HTTP/1.1" 200 67245 INFO 2025-08-19 22:52:56,657 basehttp 11063 6182367232 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 22:52:58,191 basehttp 11063 6182367232 "GET /en/admin/accounts/user/ HTTP/1.1" 200 73576 INFO 2025-08-19 22:52:58,204 basehttp 11063 6182367232 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:09:31,607 autoreload 18736 8601149632 Watching for file changes with StatReloader INFO 2025-08-19 23:09:34,060 basehttp 18736 6155513856 "GET /en/admin/accounts/user/ HTTP/1.1" 200 105683 INFO 2025-08-19 23:09:34,077 basehttp 18736 6155513856 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:09:44,158 basehttp 18736 6155513856 "GET /en/admin/hr/employee/ HTTP/1.1" 200 150894 INFO 2025-08-19 23:09:44,168 basehttp 18736 6155513856 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:10:04,061 basehttp 18736 6155513856 "GET /en/admin/hr/department/ HTTP/1.1" 200 82113 INFO 2025-08-19 23:10:04,073 basehttp 18736 6155513856 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:10:21,574 basehttp 18736 6155513856 "GET /en/inpatients/beds/ HTTP/1.1" 200 41762 INFO 2025-08-19 23:10:23,076 basehttp 18736 6155513856 "GET /en/inpatients/beds/ HTTP/1.1" 200 41762 INFO 2025-08-19 23:10:23,186 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:10:23,194 basehttp 18736 6172340224 "GET /en/inpatients/beds/ HTTP/1.1" 200 41762 INFO 2025-08-19 23:10:25,656 basehttp 18736 6172340224 "GET / HTTP/1.1" 302 0 INFO 2025-08-19 23:10:25,669 basehttp 18736 6155513856 "GET /en/ HTTP/1.1" 200 46915 INFO 2025-08-19 23:10:25,758 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:10:25,771 basehttp 18736 13052751872 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1042 INFO 2025-08-19 23:10:25,772 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:10:25,775 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:10:56,572 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:11:13,500 basehttp 18736 6172340224 "GET /en/admin/accounts/user/ HTTP/1.1" 200 105683 INFO 2025-08-19 23:11:13,512 basehttp 18736 6172340224 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:11:26,602 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:11:26,606 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:11:26,606 basehttp 18736 13052751872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:11:56,593 basehttp 18736 13052751872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:12:26,597 basehttp 18736 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:12:26,600 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:12:26,604 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:12:56,597 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:13:26,606 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:13:26,606 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:13:26,608 basehttp 18736 13052751872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:13:56,598 basehttp 18736 13052751872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:14:26,611 basehttp 18736 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:14:26,611 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:14:26,614 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:14:56,607 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:15:26,595 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:15:26,595 basehttp 18736 13052751872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:15:26,599 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:15:56,824 basehttp 18736 13035925504 "GET /en/admin/accounts/user/ HTTP/1.1" 200 105683 INFO 2025-08-19 23:15:56,838 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:15:57,581 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:16:00,691 basehttp 18736 13035925504 "GET /en/admin/appointments/appointmentrequest/ HTTP/1.1" 200 73246 INFO 2025-08-19 23:16:00,706 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:16:02,516 basehttp 18736 13035925504 "GET /en/admin/appointments/waitingqueue/ HTTP/1.1" 200 74950 INFO 2025-08-19 23:16:02,528 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:16:08,319 basehttp 18736 13035925504 "GET /en/admin/appointments/telemedicinesession/ HTTP/1.1" 200 69991 INFO 2025-08-19 23:16:08,335 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:16:10,375 basehttp 18736 13035925504 "GET /en/admin/appointments/slotavailability/ HTTP/1.1" 200 161161 INFO 2025-08-19 23:16:10,390 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:16:27,583 basehttp 18736 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:16:27,583 basehttp 18736 13052751872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:16:28,586 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:16:33,535 basehttp 18736 13035925504 "GET /en/admin/appointments/slotavailability/?p=8 HTTP/1.1" 200 163903 INFO 2025-08-19 23:16:33,556 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:16:39,419 basehttp 18736 13035925504 "GET /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 163787 INFO 2025-08-19 23:16:39,429 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:16:50,047 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 86541 INFO 2025-08-19 23:16:50,058 basehttp 18736 13035925504 "GET /static/admin/js/cancel.js HTTP/1.1" 200 884 INFO 2025-08-19 23:16:52,681 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 302 0 INFO 2025-08-19 23:16:52,729 basehttp 18736 13035925504 "GET /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 164003 INFO 2025-08-19 23:16:52,747 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:16:57,048 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 86578 INFO 2025-08-19 23:16:59,355 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 302 0 INFO 2025-08-19 23:16:59,399 basehttp 18736 13035925504 "GET /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 163877 INFO 2025-08-19 23:16:59,417 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:17:02,830 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 86547 INFO 2025-08-19 23:17:05,170 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 302 0 INFO 2025-08-19 23:17:05,217 basehttp 18736 13035925504 "GET /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 163785 INFO 2025-08-19 23:17:05,233 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:17:09,325 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 86506 INFO 2025-08-19 23:17:11,354 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 302 0 INFO 2025-08-19 23:17:11,401 basehttp 18736 13035925504 "GET /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 163666 INFO 2025-08-19 23:17:11,418 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:17:14,613 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 86471 INFO 2025-08-19 23:17:16,916 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 302 0 INFO 2025-08-19 23:17:16,964 basehttp 18736 13035925504 "GET /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 163794 INFO 2025-08-19 23:17:16,979 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:17:20,237 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 86541 INFO 2025-08-19 23:17:21,784 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 302 0 INFO 2025-08-19 23:17:21,831 basehttp 18736 13035925504 "GET /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 163869 INFO 2025-08-19 23:17:21,849 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:17:25,582 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:17:25,675 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 86536 INFO 2025-08-19 23:17:27,966 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 302 0 INFO 2025-08-19 23:17:28,014 basehttp 18736 13035925504 "GET /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 163907 INFO 2025-08-19 23:17:28,031 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:17:30,908 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 86553 INFO 2025-08-19 23:17:32,614 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 302 0 INFO 2025-08-19 23:17:32,653 basehttp 18736 13035925504 "GET /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 136256 INFO 2025-08-19 23:17:32,667 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:17:36,631 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 80068 INFO 2025-08-19 23:17:39,011 basehttp 18736 13035925504 "POST /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 302 0 INFO 2025-08-19 23:17:39,029 basehttp 18736 13035925504 "GET /en/admin/appointments/slotavailability/?p=1 HTTP/1.1" 200 72921 INFO 2025-08-19 23:17:39,042 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:17:40,948 basehttp 18736 13035925504 "GET /en/admin/appointments/queueentry/ HTTP/1.1" 200 73507 INFO 2025-08-19 23:17:40,964 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:17:42,047 basehttp 18736 13035925504 "GET /en/admin/appointments/appointmenttemplate/ HTTP/1.1" 200 76618 INFO 2025-08-19 23:17:42,059 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:17:47,428 basehttp 18736 13035925504 "POST /en/admin/appointments/appointmenttemplate/ HTTP/1.1" 200 67322 INFO 2025-08-19 23:17:48,436 basehttp 18736 13035925504 "POST /en/admin/appointments/appointmenttemplate/ HTTP/1.1" 302 0 INFO 2025-08-19 23:17:48,458 basehttp 18736 13035925504 "GET /en/admin/appointments/appointmenttemplate/ HTTP/1.1" 200 68053 INFO 2025-08-19 23:17:48,471 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:17:50,262 basehttp 18736 13035925504 "GET /en/admin/appointments/waitingqueue/ HTTP/1.1" 200 74950 INFO 2025-08-19 23:17:50,278 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:17:54,154 basehttp 18736 13035925504 "POST /en/admin/appointments/waitingqueue/ HTTP/1.1" 200 66773 INFO 2025-08-19 23:17:55,693 basehttp 18736 13035925504 "POST /en/admin/appointments/waitingqueue/ HTTP/1.1" 302 0 INFO 2025-08-19 23:17:55,709 basehttp 18736 13035925504 "GET /en/admin/appointments/waitingqueue/ HTTP/1.1" 200 67995 INFO 2025-08-19 23:17:55,723 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:18:25,615 basehttp 18736 6172340224 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:18:25,615 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:18:25,617 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:19:25,609 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:19:25,609 basehttp 18736 6172340224 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:19:25,611 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2093 INFO 2025-08-19 23:20:25,600 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:20:25,604 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:20:25,604 basehttp 18736 6155513856 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:21:25,585 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:22:25,608 basehttp 18736 6172340224 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:22:25,610 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:22:25,611 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:23:25,633 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:23:25,635 basehttp 18736 6172340224 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:23:25,635 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:23:49,134 basehttp 18736 13035925504 "GET /en/admin/appointments/waitingqueue/ HTTP/1.1" 200 67851 INFO 2025-08-19 23:23:49,147 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:24:25,625 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:24:25,626 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:24:59,309 basehttp 18736 13035925504 "GET /en/admin/appointments/waitingqueue/ HTTP/1.1" 200 74962 INFO 2025-08-19 23:24:59,323 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:25:03,600 basehttp 18736 13035925504 "GET /en/admin/inpatients/admission/ HTTP/1.1" 200 71549 INFO 2025-08-19 23:25:03,610 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:25:25,621 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:25:25,622 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:25:37,118 basehttp 18736 6172340224 "GET /en/admin/inpatients/admission/ HTTP/1.1" 200 141664 INFO 2025-08-19 23:25:37,134 basehttp 18736 6172340224 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:26:07,313 basehttp 18736 6172340224 "POST /en/admin/inpatients/admission/ HTTP/1.1" 200 90091 INFO 2025-08-19 23:26:10,561 basehttp 18736 6172340224 "POST /en/admin/inpatients/admission/ HTTP/1.1" 302 0 INFO 2025-08-19 23:26:10,578 basehttp 18736 6172340224 "GET /en/admin/inpatients/admission/ HTTP/1.1" 200 72650 INFO 2025-08-19 23:26:10,594 basehttp 18736 6172340224 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:26:17,279 basehttp 18736 6172340224 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 147550 INFO 2025-08-19 23:26:17,294 basehttp 18736 6172340224 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:26:24,810 basehttp 18736 6172340224 "POST /en/admin/inpatients/bed/ HTTP/1.1" 200 82837 INFO 2025-08-19 23:26:25,635 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:26:25,637 basehttp 18736 6155513856 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:26:25,637 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:26:27,277 basehttp 18736 13035925504 "POST /en/admin/inpatients/bed/ HTTP/1.1" 302 0 INFO 2025-08-19 23:26:27,317 basehttp 18736 13035925504 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 147169 INFO 2025-08-19 23:26:27,333 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:26:30,404 basehttp 18736 13035925504 "POST /en/admin/inpatients/bed/ HTTP/1.1" 200 82583 INFO 2025-08-19 23:26:32,969 basehttp 18736 13035925504 "POST /en/admin/inpatients/bed/ HTTP/1.1" 302 0 INFO 2025-08-19 23:26:33,029 basehttp 18736 13035925504 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 147878 INFO 2025-08-19 23:26:33,048 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:26:37,251 basehttp 18736 13035925504 "POST /en/admin/inpatients/bed/ HTTP/1.1" 200 82983 INFO 2025-08-19 23:26:39,139 basehttp 18736 13035925504 "POST /en/admin/inpatients/bed/ HTTP/1.1" 302 0 INFO 2025-08-19 23:26:39,173 basehttp 18736 13035925504 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 129412 INFO 2025-08-19 23:26:39,196 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:26:43,407 basehttp 18736 13035925504 "POST /en/admin/inpatients/bed/ HTTP/1.1" 200 78654 INFO 2025-08-19 23:26:45,441 basehttp 18736 13035925504 "POST /en/admin/inpatients/bed/ HTTP/1.1" 302 0 INFO 2025-08-19 23:26:45,459 basehttp 18736 13035925504 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 71400 INFO 2025-08-19 23:26:45,475 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:26:49,889 basehttp 18736 13035925504 "GET /en/admin/inpatients/dischargesummary/ HTTP/1.1" 200 70297 INFO 2025-08-19 23:26:49,902 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:26:54,038 basehttp 18736 13035925504 "GET /en/admin/inpatients/surgeryschedule/ HTTP/1.1" 200 70629 INFO 2025-08-19 23:26:54,053 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:26:59,114 basehttp 18736 13035925504 "GET /en/admin/inpatients/transfer/ HTTP/1.1" 200 72073 INFO 2025-08-19 23:26:59,128 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:27:05,664 basehttp 18736 13035925504 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 82510 INFO 2025-08-19 23:27:05,677 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:27:10,606 basehttp 18736 13035925504 "POST /en/admin/inpatients/ward/ HTTP/1.1" 200 69981 INFO 2025-08-19 23:27:12,526 basehttp 18736 13035925504 "POST /en/admin/inpatients/ward/ HTTP/1.1" 302 0 INFO 2025-08-19 23:27:12,545 basehttp 18736 13035925504 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 70705 INFO 2025-08-19 23:27:12,560 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:27:25,613 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:27:25,614 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:28:25,628 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:28:25,630 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:29:25,618 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:29:25,619 basehttp 18736 6172340224 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:29:25,620 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:30:25,628 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:30:25,628 basehttp 18736 6155513856 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:30:25,630 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:31:25,605 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:32:25,644 basehttp 18736 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:32:25,644 basehttp 18736 6172340224 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:32:25,646 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:33:25,605 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:34:25,641 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:34:25,643 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:34:25,644 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:35:25,612 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:35:25,620 basehttp 18736 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:35:25,621 basehttp 18736 6155513856 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:36:25,622 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:37:25,646 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:37:25,646 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:37:25,648 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:38:25,683 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:38:25,685 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:38:25,686 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:39:25,627 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:40:25,624 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:40:25,625 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:40:25,626 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:41:25,649 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:41:25,651 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:41:25,652 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:42:25,627 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:43:25,649 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:43:25,650 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:43:25,652 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:44:25,629 basehttp 18736 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:44:25,629 basehttp 18736 6155513856 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:44:25,631 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:45:25,643 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:45:25,644 basehttp 18736 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:45:25,644 basehttp 18736 6155513856 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:46:25,633 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:46:25,638 basehttp 18736 6172340224 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:46:25,638 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:47:25,631 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:48:25,651 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:48:25,653 basehttp 18736 6172340224 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:48:25,654 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:49:25,631 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:50:25,644 basehttp 18736 6172340224 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:50:25,644 basehttp 18736 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:50:25,645 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:51:25,627 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4645 INFO 2025-08-19 23:51:25,628 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:52:25,635 basehttp 18736 6155513856 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:52:25,636 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:53:25,507 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-19 23:53:25,564 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:53:25,565 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:54:25,527 basehttp 18736 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4685 INFO 2025-08-19 23:54:25,529 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:55:25,524 basehttp 18736 6155513856 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:55:25,526 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:56:25,535 basehttp 18736 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4685 INFO 2025-08-19 23:56:25,535 basehttp 18736 6172340224 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:56:25,537 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:57:22,189 basehttp 18736 6155513856 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 82620 INFO 2025-08-19 23:57:22,202 basehttp 18736 6155513856 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:57:25,520 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4685 INFO 2025-08-19 23:57:25,522 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:57:37,299 basehttp 18736 6155513856 "GET /en/admin/inpatients/ward/13/change/ HTTP/1.1" 200 192188 INFO 2025-08-19 23:57:37,315 basehttp 18736 6155513856 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:58:25,521 basehttp 18736 6155513856 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:58:25,523 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:58:40,026 basehttp 18736 6172340224 "POST /en/admin/inpatients/ward/13/change/ HTTP/1.1" 302 0 INFO 2025-08-19 23:58:40,045 basehttp 18736 6172340224 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 82859 INFO 2025-08-19 23:58:40,058 basehttp 18736 6172340224 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:58:43,369 basehttp 18736 6172340224 "GET /en/admin/inpatients/ward/15/change/ HTTP/1.1" 200 209650 INFO 2025-08-19 23:58:43,386 basehttp 18736 6172340224 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-19 23:59:25,523 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4685 INFO 2025-08-19 23:59:25,528 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-19 23:59:25,529 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-19 23:59:44,284 basehttp 18736 6155513856 "POST /en/admin/inpatients/ward/15/change/ HTTP/1.1" 302 0 INFO 2025-08-19 23:59:44,303 basehttp 18736 6155513856 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 82873 INFO 2025-08-19 23:59:44,315 basehttp 18736 6155513856 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:00:25,508 basehttp 18736 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4685 INFO 2025-08-20 00:00:25,510 basehttp 18736 6172340224 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:00:25,511 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:01:25,507 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4685 INFO 2025-08-20 00:01:25,507 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:01:36,386 basehttp 18736 6155513856 "POST /en/admin/inpatients/ward/ HTTP/1.1" 200 135363 INFO 2025-08-20 00:01:40,458 basehttp 18736 6155513856 "POST /en/admin/inpatients/ward/ HTTP/1.1" 302 0 INFO 2025-08-20 00:01:40,472 basehttp 18736 6155513856 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 70705 INFO 2025-08-20 00:01:40,493 basehttp 18736 6155513856 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:01:45,079 basehttp 18736 6155513856 "GET /en/admin/inpatients/admission/ HTTP/1.1" 200 71549 INFO 2025-08-20 00:01:45,094 basehttp 18736 6155513856 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:01:51,757 basehttp 18736 6155513856 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 69539 INFO 2025-08-20 00:01:51,773 basehttp 18736 6155513856 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:01:56,106 basehttp 18736 6155513856 "GET /en/admin/inpatients/dischargesummary/ HTTP/1.1" 200 70297 INFO 2025-08-20 00:01:56,117 basehttp 18736 6155513856 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:01:58,856 basehttp 18736 6155513856 "GET /en/admin/inpatients/surgeryschedule/ HTTP/1.1" 200 70629 INFO 2025-08-20 00:01:58,870 basehttp 18736 6155513856 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:02:02,767 basehttp 18736 6155513856 "GET /en/admin/inpatients/transfer/ HTTP/1.1" 200 70249 INFO 2025-08-20 00:02:02,780 basehttp 18736 6155513856 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:02:08,666 basehttp 18736 6155513856 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 70569 INFO 2025-08-20 00:02:08,684 basehttp 18736 6155513856 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:02:25,512 basehttp 18736 6155513856 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:02:25,514 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:03:25,529 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:03:25,530 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:03:25,531 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:04:25,513 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:05:25,560 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:05:25,561 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:05:25,562 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:06:25,497 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:07:25,525 basehttp 18736 6155513856 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:07:25,526 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:07:25,527 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:07:46,721 basehttp 18736 13035925504 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 82851 INFO 2025-08-20 00:07:46,734 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:07:56,461 basehttp 18736 13035925504 "GET /en/admin/inpatients/ward/21/change/ HTTP/1.1" 200 311029 INFO 2025-08-20 00:07:56,480 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:08:25,447 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:08:25,448 basehttp 18736 6155513856 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:08:25,450 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:08:30,345 basehttp 18736 13035925504 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 82851 INFO 2025-08-20 00:08:34,430 basehttp 18736 13035925504 "POST /en/admin/inpatients/ward/ HTTP/1.1" 200 137246 INFO 2025-08-20 00:08:38,451 basehttp 18736 13035925504 "POST /en/admin/inpatients/ward/ HTTP/1.1" 302 0 INFO 2025-08-20 00:08:38,465 basehttp 18736 13035925504 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 70705 INFO 2025-08-20 00:08:38,482 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:08:44,632 basehttp 18736 13035925504 "GET /en/admin/inpatients/admission/ HTTP/1.1" 200 71549 INFO 2025-08-20 00:08:44,647 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:08:47,633 basehttp 18736 13035925504 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 69539 INFO 2025-08-20 00:08:47,649 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:08:51,352 basehttp 18736 13035925504 "GET /en/admin/inpatients/dischargesummary/ HTTP/1.1" 200 70297 INFO 2025-08-20 00:08:51,367 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:08:54,651 basehttp 18736 13035925504 "GET /en/admin/inpatients/surgeryschedule/ HTTP/1.1" 200 70629 INFO 2025-08-20 00:08:54,665 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:09:05,039 basehttp 18736 13035925504 "GET /en/admin/inpatients/surgeryschedule/ HTTP/1.1" 200 70629 INFO 2025-08-20 00:09:05,052 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:09:09,684 basehttp 18736 13035925504 "GET /en/admin/inpatients/admission/ HTTP/1.1" 200 137735 INFO 2025-08-20 00:09:09,700 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:09:17,569 basehttp 18736 13035925504 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 144413 INFO 2025-08-20 00:09:17,580 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:09:25,441 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:09:25,444 basehttp 18736 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:09:28,015 basehttp 18736 13035925504 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 82680 INFO 2025-08-20 00:09:28,030 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:09:30,818 basehttp 18736 13035925504 "GET /en/admin/inpatients/ward/33/change/ HTTP/1.1" 200 280636 INFO 2025-08-20 00:09:30,835 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:09:38,580 basehttp 18736 13035925504 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 82680 INFO 2025-08-20 00:09:39,754 basehttp 18736 13035925504 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 144413 INFO 2025-08-20 00:10:23,879 basehttp 18736 13035925504 "GET /en/admin/inpatients/bed/1189/change/ HTTP/1.1" 200 115754 INFO 2025-08-20 00:10:23,895 basehttp 18736 13035925504 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:10:25,456 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:10:25,456 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:10:25,457 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:10:56,652 basehttp 18736 6155513856 "POST /en/admin/inpatients/bed/1189/change/ HTTP/1.1" 302 0 INFO 2025-08-20 00:10:56,698 basehttp 18736 6155513856 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 144678 INFO 2025-08-20 00:10:56,715 basehttp 18736 6155513856 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:10:59,845 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:11:01,419 basehttp 18736 6155513856 "GET /en/ HTTP/1.1" 200 46900 INFO 2025-08-20 00:11:01,507 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:11:01,509 basehttp 18736 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:11:01,511 basehttp 18736 13052751872 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1043 INFO 2025-08-20 00:11:01,512 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:11:10,958 basehttp 18736 6172340224 "GET /en/patients/ HTTP/1.1" 200 139520 INFO 2025-08-20 00:11:10,991 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:11:10,993 basehttp 18736 13052751872 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12305 INFO 2025-08-20 00:11:19,236 basehttp 18736 13052751872 "GET /en/patients/patientprofile/49/details/ HTTP/1.1" 200 36894 ERROR 2025-08-20 00:11:19,309 log 18736 6155513856 Internal Server Error: /en/patients/htmx/appointments/49/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' INFO 2025-08-20 00:11:19,310 basehttp 18736 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 ERROR 2025-08-20 00:11:19,310 basehttp 18736 6155513856 "GET /en/patients/htmx/appointments/49/ HTTP/1.1" 500 64057 ERROR 2025-08-20 00:11:19,321 log 18736 6172340224 Internal Server Error: /en/patients/htmx/emergency-contacts/49/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-20 00:11:19,325 basehttp 18736 6172340224 "GET /en/patients/htmx/emergency-contacts/49/ HTTP/1.1" 500 90649 ERROR 2025-08-20 00:11:19,343 log 18736 13035925504 Internal Server Error: /en/patients/insurance-info/49/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-20 00:11:19,344 basehttp 18736 13035925504 "GET /en/patients/insurance-info/49/ HTTP/1.1" 500 109627 INFO 2025-08-20 00:11:37,254 basehttp 18736 13035925504 "GET /en/patients/patientprofile/42/details/ HTTP/1.1" 200 36909 ERROR 2025-08-20 00:11:37,321 log 18736 13052751872 Internal Server Error: /en/patients/htmx/appointments/42/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: patient_appointment_list() got an unexpected keyword argument 'patient_id' INFO 2025-08-20 00:11:37,323 basehttp 18736 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 ERROR 2025-08-20 00:11:37,324 basehttp 18736 13052751872 "GET /en/patients/htmx/appointments/42/ HTTP/1.1" 500 64057 ERROR 2025-08-20 00:11:37,335 log 18736 6172340224 Internal Server Error: /en/patients/htmx/emergency-contacts/42/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 1112, in emergency_contacts_list ).order_by('-is_primary', 'name') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'name' into field. Choices are: address_line_1, address_line_2, authorization_number, city, created_at, email, first_name, id, is_active, is_authorized_for_financial_decisions, is_authorized_for_information, is_authorized_for_medical_decisions, is_primary, last_name, mobile_number, notes, patient, patient_id, phone_number, priority, relationship, state, updated_at, zip_code ERROR 2025-08-20 00:11:37,337 basehttp 18736 6172340224 "GET /en/patients/htmx/emergency-contacts/42/ HTTP/1.1" 500 90494 ERROR 2025-08-20 00:11:37,355 log 18736 6155513856 Internal Server Error: /en/patients/insurance-info/42/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/patients/views.py", line 486, in get_queryset return queryset.order_by('patient__last_name', '-is_primary', '-effective_date') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_primary' into field. Choices are: authorization_expiry, authorization_number, copay_amount, created_at, deductible_amount, effective_date, group_number, id, insurance_claims, insurance_company, insurance_type, is_active, is_verified, notes, out_of_pocket_max, patient, patient_id, plan_name, plan_type, policy_number, primary_bills, requires_authorization, secondary_bills, subscriber_dob, subscriber_name, subscriber_relationship, subscriber_ssn, termination_date, updated_at, verification_date, verified_by, verified_by_id ERROR 2025-08-20 00:11:37,356 basehttp 18736 6155513856 "GET /en/patients/insurance-info/42/ HTTP/1.1" 500 109627 INFO 2025-08-20 00:11:41,500 basehttp 18736 6155513856 "GET /en/patients/htmx/insurance-info/42/ HTTP/1.1" 200 153 INFO 2025-08-20 00:11:47,594 basehttp 18736 6155513856 "GET /en/patients/ HTTP/1.1" 200 139520 INFO 2025-08-20 00:11:47,645 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:11:47,647 basehttp 18736 6172340224 "GET /en/patients/htmx/patient-stats/ HTTP/1.1" 200 12305 INFO 2025-08-20 00:11:53,213 basehttp 18736 6172340224 "GET /en/patients/htmx/insurance-info/43/ HTTP/1.1" 200 568 INFO 2025-08-20 00:11:59,034 basehttp 18736 6172340224 "GET /en/patients/htmx/consent-forms/24/ HTTP/1.1" 200 590 INFO 2025-08-20 00:12:07,796 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:12:07,797 basehttp 18736 13052751872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:12:07,799 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:12:16,370 basehttp 18736 6172340224 "GET /en/admin/inpatients/admission/ HTTP/1.1" 200 137735 INFO 2025-08-20 00:12:16,388 basehttp 18736 6172340224 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:12:38,432 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:13:08,438 basehttp 18736 13052751872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:13:08,438 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:13:09,421 basehttp 18736 13052751872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:13:40,535 basehttp 18736 13052751872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:14:09,440 basehttp 18736 6172340224 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:14:09,440 basehttp 18736 13052751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:14:11,422 basehttp 18736 13052751872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:14:42,428 basehttp 18736 13052751872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:14:47,012 basehttp 18736 13052751872 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 82680 INFO 2025-08-20 00:14:47,028 basehttp 18736 13052751872 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:14:50,451 basehttp 18736 13052751872 "POST /en/admin/inpatients/ward/ HTTP/1.1" 200 138365 INFO 2025-08-20 00:14:56,894 basehttp 18736 13052751872 "POST /en/admin/inpatients/ward/ HTTP/1.1" 302 0 INFO 2025-08-20 00:14:56,908 basehttp 18736 13052751872 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 70705 INFO 2025-08-20 00:14:56,925 basehttp 18736 13052751872 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:15:10,417 basehttp 18736 13052751872 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 82823 INFO 2025-08-20 00:15:10,421 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:15:10,421 basehttp 18736 6155513856 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:15:10,432 basehttp 18736 6172340224 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:15:19,363 basehttp 18736 6172340224 "GET /en/admin/inpatients/ward/44/change/ HTTP/1.1" 200 262871 INFO 2025-08-20 00:15:19,381 basehttp 18736 6172340224 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 00:15:24,239 basehttp 18736 6172340224 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 82823 INFO 2025-08-20 00:15:25,304 basehttp 18736 6172340224 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:15:26,601 basehttp 18736 6172340224 "GET /en/ HTTP/1.1" 200 46902 INFO 2025-08-20 00:15:26,665 basehttp 18736 13052751872 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:15:26,665 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:15:26,666 basehttp 18736 13035925504 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1043 INFO 2025-08-20 00:15:26,668 basehttp 18736 6155513856 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:15:29,422 basehttp 18736 6155513856 "GET /en/inpatients/ HTTP/1.1" 200 41809 INFO 2025-08-20 00:15:29,480 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:15:29,481 basehttp 18736 13035925504 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 00:15:29,502 basehttp 18736 6172340224 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611566 INFO 2025-08-20 00:15:37,207 basehttp 18736 6172340224 "GET /en/inpatients/beds/ HTTP/1.1" 200 660590 INFO 2025-08-20 00:15:37,271 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:15:37,322 basehttp 18736 6172340224 "GET /en/inpatients/beds/ HTTP/1.1" 200 660590 INFO 2025-08-20 00:16:07,335 basehttp 18736 6172340224 "GET /en/inpatients/beds/ HTTP/1.1" 200 660590 INFO 2025-08-20 00:16:37,281 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:16:37,334 basehttp 18736 6172340224 "GET /en/inpatients/beds/ HTTP/1.1" 200 660590 INFO 2025-08-20 00:17:02,679 basehttp 18736 6172340224 "GET /en/inpatients/beds/ HTTP/1.1" 200 660224 INFO 2025-08-20 00:17:02,733 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:17:02,779 basehttp 18736 6172340224 "GET /en/inpatients/beds/ HTTP/1.1" 200 660224 INFO 2025-08-20 00:17:32,855 basehttp 18736 6172340224 "GET /en/inpatients/beds/ HTTP/1.1" 200 660224 INFO 2025-08-20 00:17:47,501 basehttp 18736 6172340224 "GET /en/inpatients/beds/ HTTP/1.1" 200 660041 INFO 2025-08-20 00:17:47,555 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:17:47,603 basehttp 18736 6172340224 "GET /en/inpatients/beds/ HTTP/1.1" 200 660041 INFO 2025-08-20 00:18:08,438 basehttp 18736 6172340224 "GET /en/inpatients/beds/ HTTP/1.1" 200 660224 INFO 2025-08-20 00:18:08,499 basehttp 18736 6172340224 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:18:08,549 basehttp 18736 6172340224 "GET /en/inpatients/beds/ HTTP/1.1" 200 660224 ERROR 2025-08-20 00:18:36,079 log 18736 6155513856 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content template = self.resolve_template(self.template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template return select_template(template, using=self.using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 42, in select_template return engine.get_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 79, in get_template return Template(self.engine.get_template(template_name), self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 177, in get_template template, origin = self.find_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/engine.py", line 159, in find_template template = loader.get_template(name, skip=skip) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loaders/cached.py", line 57, in get_template template = super().get_template(template_name, skip) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loaders/base.py", line 28, in get_template return Template( ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 154, in __init__ self.nodelist = self.compile_nodelist() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 196, in compile_nodelist nodelist = parser.parse() ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 518, in parse raise self.error(token, e) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 516, in parse compiled_result = compile_func(self, token) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 299, in do_extends nodelist = parser.parse() ^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 518, in parse raise self.error(token, e) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 516, in parse compiled_result = compile_func(self, token) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 234, in do_block nodelist = parser.parse(("endblock",)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 489, in parse raise self.error(token, e) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 487, in parse filter_expression = self.compile_filter(token.contents) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 609, in compile_filter return FilterExpression(token, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 682, in __init__ raise TemplateSyntaxError( django.template.exceptions.TemplateSyntaxError: Could not parse some characters: occupancy_rate.|[0]||floatformat:0 ERROR 2025-08-20 00:18:36,082 basehttp 18736 6155513856 "GET /en/inpatients/beds/ HTTP/1.1" 500 262445 INFO 2025-08-20 00:18:53,971 basehttp 18736 6155513856 "GET /en/inpatients/beds/ HTTP/1.1" 200 660590 INFO 2025-08-20 00:18:54,029 basehttp 18736 6155513856 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:18:54,078 basehttp 18736 6155513856 "GET /en/inpatients/beds/ HTTP/1.1" 200 660590 INFO 2025-08-20 00:19:24,088 basehttp 18736 6155513856 "GET /en/inpatients/beds/ HTTP/1.1" 200 660590 INFO 2025-08-20 00:19:49,635 autoreload 18736 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 00:19:49,962 autoreload 53318 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 00:19:50,837 basehttp 53318 6158020608 "GET /en/inpatients/beds/ HTTP/1.1" 200 659926 INFO 2025-08-20 00:19:50,900 basehttp 53318 6158020608 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:19:50,948 basehttp 53318 6158020608 "GET /en/inpatients/beds/ HTTP/1.1" 200 659926 INFO 2025-08-20 00:20:20,952 basehttp 53318 6158020608 "GET /en/inpatients/beds/ HTTP/1.1" 200 659926 INFO 2025-08-20 00:20:50,911 basehttp 53318 6158020608 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:20:50,964 basehttp 53318 6158020608 "GET /en/inpatients/beds/ HTTP/1.1" 200 659926 INFO 2025-08-20 00:21:15,981 autoreload 53318 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 00:21:16,317 autoreload 53952 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 00:21:18,264 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 659930 INFO 2025-08-20 00:21:18,325 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:21:18,373 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 659930 INFO 2025-08-20 00:21:48,373 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 659930 INFO 2025-08-20 00:21:56,197 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 659885 INFO 2025-08-20 00:21:56,255 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:21:56,305 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 659885 INFO 2025-08-20 00:22:26,328 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 659885 INFO 2025-08-20 00:22:56,264 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:22:56,319 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 659885 INFO 2025-08-20 00:23:26,326 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 659885 INFO 2025-08-20 00:23:56,260 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:23:56,305 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 659885 INFO 2025-08-20 00:23:56,739 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 659885 INFO 2025-08-20 00:23:56,794 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:23:56,846 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 659885 INFO 2025-08-20 00:24:26,869 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 659885 INFO 2025-08-20 00:24:36,221 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900007 INFO 2025-08-20 00:24:36,279 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:24:36,344 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900007 INFO 2025-08-20 00:24:46,418 basehttp 53952 6160101376 "GET /en/inpatients/beds/?bed_id=1739 HTTP/1.1" 200 900007 INFO 2025-08-20 00:25:06,371 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900007 INFO 2025-08-20 00:25:36,290 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:25:36,358 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900007 INFO 2025-08-20 00:26:06,352 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900007 INFO 2025-08-20 00:26:36,293 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:26:36,358 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900007 INFO 2025-08-20 00:26:47,335 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 899993 INFO 2025-08-20 00:26:47,383 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:26:47,444 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 899993 INFO 2025-08-20 00:26:49,525 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 899993 INFO 2025-08-20 00:26:49,574 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:26:49,633 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 899993 INFO 2025-08-20 00:26:56,557 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 899993 INFO 2025-08-20 00:26:56,618 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:26:56,681 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 899993 INFO 2025-08-20 00:27:09,452 basehttp 53952 6160101376 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611566 INFO 2025-08-20 00:27:11,299 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 899993 INFO 2025-08-20 00:27:11,349 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:27:11,431 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 899993 ERROR 2025-08-20 00:27:17,699 log 53952 6160101376 Internal Server Error: /en/inpatients/transfers/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'reject_transfer' not found. 'reject_transfer' is not a valid view function or pattern name. ERROR 2025-08-20 00:27:17,701 basehttp 53952 6160101376 "GET /en/inpatients/transfers/ HTTP/1.1" 500 262902 INFO 2025-08-20 00:27:29,309 basehttp 53952 6160101376 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 00:27:59,329 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:27:59,334 basehttp 53952 13723840512 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 00:27:59,358 basehttp 53952 13707014144 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611566 INFO 2025-08-20 00:28:29,312 basehttp 53952 13707014144 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 00:28:59,313 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:28:59,314 basehttp 53952 6160101376 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 00:28:59,333 basehttp 53952 13707014144 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611566 INFO 2025-08-20 00:28:59,359 basehttp 53952 6160101376 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611566 INFO 2025-08-20 00:29:29,313 basehttp 53952 6160101376 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 00:29:59,331 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:29:59,333 basehttp 53952 13723840512 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 00:29:59,357 basehttp 53952 13707014144 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611566 INFO 2025-08-20 00:30:29,318 basehttp 53952 13707014144 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 00:30:59,314 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:30:59,318 basehttp 53952 6160101376 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 00:30:59,344 basehttp 53952 13707014144 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611566 INFO 2025-08-20 00:30:59,401 basehttp 53952 6160101376 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611566 INFO 2025-08-20 00:31:29,323 basehttp 53952 6160101376 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 00:31:59,310 basehttp 53952 6160101376 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 00:31:59,324 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:31:59,328 basehttp 53952 6160101376 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 00:31:59,352 basehttp 53952 13723840512 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611566 INFO 2025-08-20 00:32:29,315 basehttp 53952 13723840512 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 00:32:59,308 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:32:59,337 basehttp 53952 13723840512 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611566 INFO 2025-08-20 00:32:59,339 basehttp 53952 6160101376 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 00:32:59,393 basehttp 53952 13707014144 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611566 INFO 2025-08-20 00:33:18,574 basehttp 53952 13707014144 "GET / HTTP/1.1" 302 0 INFO 2025-08-20 00:33:18,598 basehttp 53952 6160101376 "GET /en/ HTTP/1.1" 200 46889 INFO 2025-08-20 00:33:18,659 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:33:18,664 basehttp 53952 13740666880 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1043 INFO 2025-08-20 00:33:18,665 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:33:18,665 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:33:49,392 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:34:19,491 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:34:19,492 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:34:19,494 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:34:50,471 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:35:20,488 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:35:20,489 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:35:20,490 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:35:51,467 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:36:21,489 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:36:21,489 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:36:21,491 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:46:52,128 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:46:52,128 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:46:53,109 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:47:53,128 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:47:53,129 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:47:55,119 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 00:48:54,119 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 00:48:54,120 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 00:48:55,109 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 01:02:55,185 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 01:02:55,190 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 01:02:55,190 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 01:08:44,109 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 01:08:44,112 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 01:08:44,112 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 01:24:50,703 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 01:35:35,441 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 01:35:35,443 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 01:35:35,444 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 01:36:35,437 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 01:36:35,438 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 01:36:35,439 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 01:37:35,417 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 01:38:35,439 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 01:38:35,440 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 01:38:35,442 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 01:47:22,718 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 01:47:22,721 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:00:13,573 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:00:13,574 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:17:26,012 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:17:26,013 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:17:26,014 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:18:26,068 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:18:26,069 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:19:26,069 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:19:26,070 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:20:26,069 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:20:26,071 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:20:26,072 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:21:26,070 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:21:26,071 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:22:26,073 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:22:26,074 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:23:26,084 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:23:26,084 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:23:26,086 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:24:26,072 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:24:26,074 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:25:26,075 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:25:26,077 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:26:26,089 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:26:26,089 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:26:26,091 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:35:30,498 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:35:30,506 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:35:30,507 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:36:30,504 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:37:30,523 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:37:30,526 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:37:30,527 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:38:30,524 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:38:30,524 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:38:30,526 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:39:30,528 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:39:30,529 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:39:30,531 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:40:30,508 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:41:30,527 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:41:30,529 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:41:30,530 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:42:30,516 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:42:30,518 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:43:30,505 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:43:30,506 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:44:30,523 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:44:30,523 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:44:30,525 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:45:30,524 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:45:30,526 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:46:30,518 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:46:30,520 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:47:30,518 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:47:30,520 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:48:30,519 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:48:30,521 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:49:30,530 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:49:30,531 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:49:30,533 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:50:30,517 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 02:50:30,518 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:51:30,503 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:51:30,504 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:52:30,501 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4630 INFO 2025-08-20 02:52:30,504 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:53:30,502 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:53:30,505 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:54:30,502 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 02:54:30,508 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:54:30,509 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:55:30,504 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 02:55:30,506 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:56:30,510 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:56:30,512 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:57:30,508 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 02:57:30,509 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:58:30,515 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:58:30,516 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 02:58:30,518 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:59:30,507 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 02:59:30,508 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 02:59:30,508 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 03:00:30,493 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:01:30,518 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 03:01:30,518 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:01:30,519 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:02:30,501 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:02:30,501 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:03:30,503 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:03:30,504 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:04:30,506 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:04:30,508 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:05:30,518 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:05:30,518 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:05:30,519 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:06:30,507 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:07:30,527 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:07:30,528 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:07:30,529 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:08:30,515 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:08:30,516 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:09:30,516 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:09:30,518 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:10:30,512 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:10:30,515 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:11:30,524 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:11:30,525 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:11:30,528 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:12:30,516 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:12:30,517 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:13:30,513 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:13:30,515 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:14:30,518 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:14:30,519 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:14:30,519 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:15:30,531 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:15:30,533 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:15:30,534 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:16:30,514 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:17:30,528 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:17:30,529 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:17:30,531 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:18:30,528 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:18:30,529 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:18:30,529 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:19:30,506 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:20:30,532 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:20:30,533 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:20:30,534 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:21:30,546 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:21:30,546 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:21:30,548 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:22:30,719 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:22:30,719 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:22:30,720 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:23:30,530 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:24:30,546 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:24:30,551 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:24:30,552 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:25:30,533 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:26:30,560 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:26:30,560 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:26:30,561 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:27:30,533 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:28:30,555 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:28:30,556 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:28:30,559 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:29:30,531 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:30:30,554 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:30:30,556 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:30:30,557 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:31:30,558 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:31:30,559 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:31:30,559 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:32:30,538 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:33:30,561 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:33:30,562 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:33:30,564 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:34:30,558 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:34:30,559 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:34:30,560 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:35:30,540 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:36:30,575 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:36:30,576 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:36:30,577 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:37:30,588 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:37:30,590 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:38:30,590 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 03:38:30,593 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:54:24,692 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:54:24,693 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 03:54:24,694 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:55:24,712 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 03:55:24,712 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 03:55:24,714 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 03:56:24,685 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:12:19,088 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:12:19,091 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:12:19,093 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:13:19,046 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:13:19,050 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:13:19,051 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:14:19,029 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:15:19,055 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:15:19,055 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:15:19,057 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:16:19,027 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:17:19,039 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:17:19,039 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:17:19,040 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:18:19,040 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:18:19,042 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:19:19,019 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:19:19,020 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:20:19,038 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:20:19,044 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:20:19,045 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:21:19,026 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:21:19,027 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:22:19,049 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:22:19,049 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:22:19,050 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:23:19,044 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:23:19,044 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:23:19,046 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:24:19,025 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:25:19,035 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:25:19,036 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:25:19,038 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:26:19,047 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:26:19,049 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:26:19,050 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:27:19,044 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:27:19,044 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:27:19,046 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:28:18,970 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:28:18,970 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:28:18,971 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:29:18,936 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:30:18,966 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:30:18,968 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:30:18,969 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:31:18,961 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:31:18,961 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:31:18,963 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:32:18,985 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:32:18,985 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:32:18,985 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:33:18,943 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:34:18,961 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:34:18,961 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:34:18,962 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:35:18,960 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:35:18,962 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:35:18,963 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:36:18,948 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:36:18,949 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:37:18,946 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:37:18,948 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:38:18,938 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:38:18,943 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:38:18,943 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:39:18,946 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:39:18,948 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:40:18,938 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:40:18,939 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:41:18,942 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:41:18,944 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:42:18,940 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:42:18,940 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:42:18,942 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:43:18,939 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:43:18,940 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:44:18,890 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:44:18,892 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:45:18,896 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:45:18,896 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:45:18,898 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:46:18,877 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:46:18,878 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:47:18,879 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:47:18,881 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:48:18,888 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:48:18,889 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:48:18,891 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:49:18,885 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:49:18,887 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:49:18,887 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:50:18,865 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:51:18,886 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:51:18,887 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 04:51:18,889 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:52:18,881 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4630 INFO 2025-08-20 04:52:18,881 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:52:18,883 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:53:18,874 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:53:18,876 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4685 INFO 2025-08-20 04:53:18,876 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:54:18,857 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:55:18,865 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:55:18,867 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 04:55:18,867 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:56:18,874 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:56:18,875 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 04:56:18,876 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:57:18,845 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:58:18,870 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 04:58:18,870 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:58:18,873 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 04:59:18,821 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 04:59:18,822 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 04:59:18,824 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:00:18,820 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 05:00:18,821 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:00:18,823 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:01:18,796 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:02:18,819 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:02:18,820 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:02:18,821 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:03:18,810 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:03:18,810 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:03:18,811 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:04:18,787 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:05:18,810 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:05:18,810 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:05:18,812 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:06:18,794 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:06:18,795 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:06:18,796 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:07:18,808 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:07:18,808 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:07:18,809 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:08:18,786 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:09:18,798 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:09:18,801 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:09:18,801 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:10:18,798 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:10:18,798 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:10:18,799 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:11:18,787 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:11:18,788 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:12:18,782 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:12:18,785 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:13:18,795 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:13:18,795 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:13:18,797 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:29:13,151 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:29:13,152 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:30:13,150 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:30:13,152 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:31:13,149 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:31:13,151 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:31:13,152 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:32:13,155 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:32:13,156 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:32:13,157 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:33:13,130 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:34:13,145 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:34:13,150 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:34:13,150 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:35:13,154 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:35:13,154 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:35:13,156 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:36:13,123 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:37:13,145 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:37:13,145 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:37:13,147 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:38:13,129 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:38:13,129 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:38:13,129 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:39:13,122 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:40:13,136 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:40:13,140 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:40:13,141 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:41:13,123 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:41:13,126 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:42:13,123 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:42:13,125 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:43:13,125 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:43:13,127 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:43:13,128 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:44:13,116 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:44:13,117 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:45:13,108 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:45:13,109 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:45:13,110 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:46:13,093 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:47:13,114 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:47:13,114 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:47:13,116 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:48:13,082 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:49:13,105 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:49:13,105 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:49:13,107 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:50:13,090 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 05:50:13,092 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:51:13,086 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:51:13,087 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:52:13,090 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:52:13,092 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4630 INFO 2025-08-20 05:52:13,093 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:53:13,102 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4685 INFO 2025-08-20 05:53:13,104 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:53:13,104 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:54:13,072 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:55:13,096 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:55:13,097 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 05:55:13,099 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:56:13,095 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 05:56:13,095 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:56:13,096 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:57:13,072 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:58:13,090 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 05:58:13,090 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:58:13,091 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 05:59:13,078 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 05:59:13,078 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 05:59:13,080 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:00:13,083 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:01:13,099 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 06:01:13,100 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:01:13,102 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:02:13,084 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:02:13,087 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:03:13,080 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:03:13,082 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:04:13,084 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:04:13,088 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:05:13,087 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:05:13,087 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:06:13,070 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:06:13,071 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:07:13,057 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:07:13,059 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:08:13,083 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:08:13,087 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:08:13,088 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:09:13,071 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:09:13,075 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:09:13,075 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:10:13,061 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:11:13,079 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:11:13,080 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:11:13,081 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:12:13,072 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:12:13,072 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:12:13,073 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:13:13,079 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:13:13,080 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:13:13,082 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:14:13,055 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:14:13,061 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:14:13,061 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:15:13,052 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:16:13,289 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:16:13,289 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:16:13,291 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:17:13,279 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:17:13,280 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:17:13,281 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:18:13,265 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:19:13,283 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:19:13,284 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:19:13,285 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:20:13,294 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:20:13,295 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:20:13,296 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:21:13,275 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:22:13,275 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:22:13,276 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:22:13,277 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:23:13,290 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:23:13,291 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:23:13,293 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:24:13,286 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:24:13,286 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:24:13,288 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:25:13,257 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:26:13,272 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:26:13,277 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:26:13,278 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:27:13,274 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:27:13,276 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:28:13,272 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:28:13,275 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:29:13,284 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:29:13,286 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:29:13,288 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:30:13,275 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:30:13,277 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:31:13,276 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:31:13,277 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:32:13,271 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:32:13,271 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:32:13,273 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:33:13,263 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:33:13,265 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:33:13,265 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:34:13,275 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:34:13,276 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:34:13,277 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:35:13,257 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:36:13,267 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:36:13,267 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:36:13,269 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:37:13,257 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:37:13,258 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:37:13,259 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:38:13,258 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:38:13,261 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:39:13,253 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:39:13,255 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:40:13,268 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:40:13,269 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:40:13,270 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:41:13,260 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:41:13,262 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:42:13,257 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:42:13,259 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:43:13,268 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:43:13,268 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:43:13,271 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:44:13,251 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:44:13,253 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:45:13,271 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:45:13,272 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:45:13,274 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:46:13,246 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:47:13,387 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:47:13,388 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:47:13,390 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:48:13,382 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:48:13,383 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:48:13,384 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:49:13,366 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:50:13,392 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:50:13,392 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 06:50:13,393 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:51:13,379 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:51:13,380 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:52:13,381 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4630 INFO 2025-08-20 06:52:13,384 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:53:13,393 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4685 INFO 2025-08-20 06:53:13,394 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:53:13,396 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:54:13,381 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:54:13,383 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:55:13,383 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 06:55:13,385 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:56:13,391 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:56:13,395 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 06:56:13,398 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:57:13,398 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 06:57:13,399 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:57:13,400 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:58:13,397 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 06:58:13,398 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 06:58:13,400 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 06:59:13,374 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:00:13,374 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:00:13,381 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 07:00:13,382 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:01:13,392 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:01:13,393 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:02:13,462 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:02:13,462 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:02:13,463 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:03:13,459 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:03:13,459 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:03:13,462 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:04:13,442 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:05:13,464 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:05:13,465 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:05:13,466 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:06:13,464 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:06:13,466 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:06:13,467 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:07:13,457 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:07:13,462 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:07:13,462 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:08:13,450 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:09:13,471 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:09:13,472 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:09:13,474 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:10:13,454 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:11:13,476 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:11:13,478 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:11:13,479 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:12:13,474 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:12:13,475 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:12:13,476 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:13:13,455 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:14:13,479 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:14:13,479 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:14:13,481 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:15:13,480 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:15:13,480 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:15:13,482 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:16:13,460 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:17:13,475 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:17:13,475 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:17:13,477 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:18:13,473 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:18:13,475 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:18:13,475 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:19:13,474 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:19:13,475 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:19:13,477 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:20:13,456 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:21:13,474 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:21:13,475 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:21:13,477 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:22:13,478 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:22:13,478 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:22:13,479 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:23:13,459 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:24:13,483 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:24:13,483 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:24:13,485 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:25:13,486 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:25:13,487 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:25:13,488 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:26:13,467 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:27:13,488 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:27:13,489 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:27:13,491 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:28:13,486 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:28:13,486 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:28:13,487 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:29:13,467 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:30:13,479 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:30:13,479 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:30:13,481 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:31:13,499 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:31:13,500 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:31:13,502 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:32:13,324 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:33:13,343 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:33:13,344 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:33:13,346 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:34:13,339 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:34:13,341 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:34:13,342 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:35:13,323 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:36:13,340 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:36:13,340 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:36:13,342 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:37:13,346 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:37:13,346 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:37:13,348 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:38:13,345 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:38:13,346 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:38:13,347 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:39:13,333 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:40:13,328 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:40:13,331 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:40:13,332 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:41:13,321 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:41:13,326 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:41:13,326 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:42:13,320 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:43:13,338 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:43:13,342 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:43:13,343 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:44:13,324 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:44:13,325 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:45:13,343 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:45:13,343 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:45:13,345 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:46:13,333 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:46:13,334 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:47:13,416 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:47:13,416 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:47:13,418 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:48:13,396 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:48:13,407 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:48:13,408 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:49:13,398 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:50:13,421 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:50:13,421 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:50:13,423 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:51:13,407 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 07:51:13,408 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:52:13,409 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:52:13,414 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4630 INFO 2025-08-20 07:52:13,416 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:53:13,409 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:53:13,410 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:54:13,411 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 07:54:13,412 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:55:13,412 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 07:55:13,412 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:55:13,414 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:56:13,424 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 07:56:13,425 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:56:13,426 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:57:13,413 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:58:13,426 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 07:58:13,427 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:58:13,429 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 07:59:13,427 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 07:59:13,427 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 07:59:13,428 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:00:13,406 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:01:13,428 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 08:01:13,429 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:01:13,430 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:02:13,429 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:02:13,431 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:02:13,433 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:03:13,412 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:03:13,420 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:03:13,420 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:04:13,442 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:05:13,469 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:05:13,470 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:05:13,472 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:06:13,438 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:07:13,470 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:07:13,470 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:07:13,471 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:08:13,469 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:08:13,470 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:08:13,472 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:09:13,448 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:10:13,469 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:10:13,473 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:10:13,474 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:11:13,474 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:11:13,476 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:11:13,477 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:12:13,454 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:13:13,478 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:13:13,478 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:13:13,481 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:14:13,472 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:14:13,473 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:14:13,473 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:15:13,465 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:16:13,480 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:16:13,481 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:16:13,483 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:17:13,468 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:17:13,470 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:18:13,471 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:18:13,473 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:19:13,464 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:19:13,464 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:19:13,466 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:20:13,456 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:20:13,458 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:21:13,451 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:21:13,452 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:22:13,458 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:22:13,460 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:22:13,461 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:23:13,456 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:23:13,457 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:24:13,453 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:24:13,455 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:25:13,470 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:25:13,471 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:25:13,472 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:26:13,454 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:26:13,455 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:27:13,470 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:27:13,472 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:27:13,473 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:28:13,452 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:29:13,471 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:29:13,472 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:29:13,473 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:30:13,455 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:30:13,456 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:31:13,457 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:31:13,457 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:32:13,470 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:32:13,470 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:32:13,472 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:33:13,467 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:33:13,468 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:34:13,331 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:34:13,332 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:35:13,335 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:35:13,336 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:35:13,337 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:36:13,345 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:36:13,347 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:36:13,348 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:37:13,322 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:38:13,326 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:38:13,335 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:38:13,337 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:39:13,334 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:40:13,338 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:40:13,341 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:40:13,343 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:41:13,341 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:41:13,342 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:41:13,344 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:42:13,319 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:43:13,344 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:43:13,345 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:43:13,346 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:44:13,329 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:44:13,331 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:45:13,330 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:45:13,331 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:46:13,341 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:46:13,341 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:46:13,343 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:47:13,328 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:47:13,330 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:48:13,329 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:48:13,330 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:49:13,331 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:49:13,333 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:49:13,334 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:50:13,293 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:51:13,314 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:51:13,314 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:51:13,316 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:52:13,310 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:52:13,310 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4635 INFO 2025-08-20 08:52:13,313 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:53:13,304 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:53:13,306 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:53:13,307 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 08:54:13,301 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:55:13,315 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:55:13,317 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:55:13,318 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:56:13,302 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:56:13,305 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:57:13,303 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:57:13,303 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:57:13,304 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:58:13,304 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 08:58:13,305 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 08:59:13,301 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 08:59:13,303 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:00:13,313 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 09:00:13,316 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:00:13,316 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:01:13,314 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:01:13,315 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 09:01:13,317 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:02:13,289 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:03:13,311 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:03:13,312 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:03:13,313 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:04:13,312 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:04:13,312 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:04:13,315 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:05:13,339 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:06:13,364 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:06:13,365 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:06:13,366 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:07:13,350 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:07:13,352 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:08:13,350 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:08:13,353 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:09:13,362 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:09:13,364 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:09:13,365 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:10:13,342 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:10:13,345 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:10:13,345 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:11:13,342 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:12:13,363 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:12:13,364 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:12:13,366 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:13:13,363 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:13:13,364 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:13:13,365 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:14:13,340 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:15:13,362 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:15:13,364 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:15:13,365 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:16:13,360 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:16:13,361 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:16:13,362 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:17:13,360 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:17:13,362 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:17:13,363 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:18:13,339 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:19:13,364 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:19:13,364 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:19:13,365 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:20:13,352 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:21:13,354 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:21:13,355 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:21:13,356 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:22:13,350 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:22:13,352 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:22:13,357 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:23:13,339 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:24:13,362 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:24:13,364 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:24:13,366 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:25:13,370 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:25:13,370 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:25:13,372 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:26:13,354 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:26:13,356 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:27:13,356 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:27:13,359 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:28:13,368 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:28:13,369 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:28:13,371 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:29:13,363 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:29:13,363 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:29:13,364 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:30:13,348 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:31:13,368 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:31:13,368 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:31:13,369 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:32:13,349 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:32:13,351 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:32:13,351 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:33:13,367 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:33:13,367 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:33:13,368 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:34:13,339 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:35:13,367 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:35:13,367 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:35:13,368 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:36:13,339 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:36:13,340 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:36:13,342 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:37:13,319 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:38:13,342 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:38:13,342 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:38:13,344 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:39:13,338 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:39:13,340 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:39:13,341 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:40:13,343 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:40:13,344 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:40:13,345 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:41:13,320 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:42:13,340 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:42:13,342 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:42:13,343 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:43:13,339 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:43:13,339 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:43:13,340 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:44:13,317 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:45:13,339 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:45:13,339 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:45:13,341 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:46:13,340 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:46:13,340 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:46:13,341 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:47:13,331 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:47:13,334 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:47:13,335 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:48:13,311 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:49:13,339 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:49:13,339 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:49:13,341 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:50:13,330 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:50:13,331 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:51:13,339 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 09:51:13,340 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:51:13,342 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:52:13,342 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4635 INFO 2025-08-20 09:52:13,344 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:53:13,336 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:53:13,338 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:54:13,343 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 09:54:13,345 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:54:13,347 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:55:13,333 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 09:55:13,334 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:56:13,342 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:56:13,344 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:57:13,332 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 09:57:13,334 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:58:13,334 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 09:58:13,334 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 09:58:13,335 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:59:13,340 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 09:59:13,343 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 09:59:13,343 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:00:13,324 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:01:13,347 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 10:01:13,349 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:01:13,350 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:02:13,337 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:02:13,340 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:02:13,340 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:03:13,321 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:04:13,344 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:04:13,345 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:04:13,346 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:05:13,323 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:05:13,329 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:05:13,330 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:06:13,327 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:07:13,358 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:07:13,360 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:07:13,360 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:08:13,325 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:09:13,354 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:09:13,356 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:09:13,357 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:10:13,348 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:10:13,348 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:10:13,348 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:11:13,324 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:12:13,354 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:12:13,354 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:12:13,356 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:13:13,330 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:14:13,351 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:14:13,352 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:14:13,354 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:15:13,341 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:15:13,344 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:16:13,352 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:16:13,352 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:16:13,354 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:17:13,345 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:17:13,348 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:17:13,350 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:18:13,330 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:19:13,340 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:19:13,343 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:19:13,344 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:20:13,346 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:20:13,346 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:20:13,347 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:21:13,417 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:22:13,437 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:22:13,439 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:22:13,440 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:23:13,430 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:23:13,432 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:24:13,435 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:24:13,436 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:25:13,438 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:25:13,438 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:25:13,440 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:26:13,435 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:26:13,435 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:26:13,437 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:27:13,419 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:28:13,440 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:28:13,442 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:28:13,443 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:29:13,427 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:29:13,428 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:29:13,429 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:30:13,445 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:30:13,447 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:30:13,448 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:31:13,423 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:32:13,446 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:32:13,447 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:32:13,449 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:33:13,443 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:33:13,444 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:33:13,446 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:34:13,422 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:35:13,448 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:35:13,450 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:35:13,452 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:36:13,439 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:36:13,439 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:36:13,440 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:37:13,428 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:38:13,452 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:38:13,452 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:38:13,453 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:39:13,440 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:39:13,441 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:40:13,471 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:40:13,474 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:40:13,474 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:41:13,425 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:42:13,452 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:42:13,453 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:42:13,453 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:43:13,423 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:44:13,454 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:44:13,454 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:44:13,456 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:45:13,429 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:46:13,448 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:46:13,450 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:46:13,450 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:47:13,451 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:47:13,452 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:47:13,454 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:48:13,429 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:49:13,443 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:49:13,443 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:49:13,445 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:50:13,457 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 10:50:13,459 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:50:13,460 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:53:47,927 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:54:47,946 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:54:47,946 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 10:54:47,947 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:55:47,963 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 10:55:47,963 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:55:47,965 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:56:47,962 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:56:47,962 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 10:56:47,963 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:57:47,936 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:58:47,963 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 10:58:47,963 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:58:47,966 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 10:59:47,962 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 10:59:47,962 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 10:59:47,964 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:00:47,938 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:01:47,965 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:01:47,966 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 11:01:47,968 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:02:47,945 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:02:47,951 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:02:47,952 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:03:47,945 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:04:47,972 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:04:47,972 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:04:47,974 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:05:47,956 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:05:47,957 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:06:47,957 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:06:47,958 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:07:47,969 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:07:47,970 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:07:47,972 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:08:47,969 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:08:47,970 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:08:47,972 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:09:47,790 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:10:47,810 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:10:47,811 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:10:47,813 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:11:47,804 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:11:47,806 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:12:47,807 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:12:47,811 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:12:47,811 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:13:47,785 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:13:47,785 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:14:47,796 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:14:47,797 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:15:47,797 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:15:47,798 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:15:47,799 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:16:47,796 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:16:47,798 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:17:47,793 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:17:47,794 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:18:47,792 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:18:47,794 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:19:47,804 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:19:47,805 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:19:47,806 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:20:47,790 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:20:47,791 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:21:47,790 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:21:47,791 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:22:47,799 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:22:47,800 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:22:47,802 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:23:47,773 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:23:47,773 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:24:47,875 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:24:47,875 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:24:47,876 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:25:47,886 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:25:47,887 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:25:47,887 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:26:47,864 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:27:47,884 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:27:47,884 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:27:47,887 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:28:47,885 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:28:47,886 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:28:47,887 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:29:47,863 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:30:47,886 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:30:47,886 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:30:47,889 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:31:47,884 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:31:47,885 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:31:47,886 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:32:47,887 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:32:47,887 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:32:47,888 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:33:47,865 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:34:47,888 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:34:47,888 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:34:47,889 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:35:47,887 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:35:47,888 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:35:47,890 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:36:47,861 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:37:47,872 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:37:47,873 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:37:47,874 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:38:47,875 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:38:47,877 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:39:47,860 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:39:47,861 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:40:47,784 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:40:47,785 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:40:47,786 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:41:47,764 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:41:47,766 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:42:47,768 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:42:47,769 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:43:47,767 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:43:47,769 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:44:47,770 basehttp 53952 6160101376 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:44:47,775 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:44:47,776 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:45:47,762 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:45:47,763 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:46:47,762 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:46:47,765 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:47:47,773 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:47:47,773 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:47:47,776 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:48:47,750 basehttp 53952 13723840512 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:49:47,774 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:49:47,775 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:49:47,777 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:50:47,759 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:50:47,761 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:51:47,757 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 11:51:47,759 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:52:47,766 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4635 INFO 2025-08-20 11:52:47,767 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:52:47,768 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:53:47,757 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:53:47,758 basehttp 53952 6160101376 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:54:47,761 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 11:54:47,761 basehttp 53952 13723840512 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:54:47,763 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:55:51,448 basehttp 53952 13707014144 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-20 11:56:03,625 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 11:56:03,626 basehttp 53952 13707014144 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-20 11:56:18,937 basehttp 53952 13707014144 "GET /en/appointments/create/ HTTP/1.1" 200 36087 INFO 2025-08-20 11:56:18,999 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 11:57:19,008 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 11:58:19,015 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 11:59:19,018 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 12:00:19,012 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 12:01:19,013 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 12:02:19,022 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:03:19,018 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:04:19,026 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:05:19,027 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:06:19,029 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:06:35,243 basehttp 53952 13707014144 "GET /en/appointments/list/ HTTP/1.1" 200 130057 INFO 2025-08-20 12:06:35,285 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 12:06:43,882 log 53952 13707014144 Forbidden (CSRF token missing.): /en/appointments/check-in/2220/ WARNING 2025-08-20 12:06:43,882 basehttp 53952 13707014144 "POST /en/appointments/check-in/2220/ HTTP/1.1" 403 2491 INFO 2025-08-20 12:07:16,386 basehttp 53952 13707014144 "GET /en/inpatients/ HTTP/1.1" 200 42575 INFO 2025-08-20 12:07:16,442 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:07:16,447 basehttp 53952 6160101376 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 12:07:16,465 basehttp 53952 13723840512 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611566 INFO 2025-08-20 12:07:46,445 basehttp 53952 13723840512 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 12:08:07,197 basehttp 53952 13723840512 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:08:07,252 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:08:07,320 basehttp 53952 13723840512 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:08:37,341 basehttp 53952 13723840512 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:09:07,276 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:09:07,332 basehttp 53952 13723840512 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 WARNING 2025-08-20 12:09:19,414 log 53952 13723840512 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:09:19,415 basehttp 53952 13723840512 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:09:37,338 basehttp 53952 13723840512 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:10:07,268 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:10:07,332 basehttp 53952 13723840512 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:10:37,340 basehttp 53952 13723840512 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:11:07,202 basehttp 53952 13723840512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:11:07,266 basehttp 53952 13723840512 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:11:21,460 basehttp 53952 13723840512 "GET /en/inpatients/beds/?bed_id=1733 HTTP/1.1" 200 900005 INFO 2025-08-20 12:11:37,273 basehttp 53952 13723840512 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:12:07,195 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:12:07,248 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:12:37,256 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:13:07,203 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:13:07,260 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:13:37,274 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:14:07,196 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:14:07,244 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:14:37,271 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:15:07,210 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:15:07,261 basehttp 53952 13707014144 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:15:37,268 basehttp 53952 13707014144 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:16:07,228 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:16:07,295 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:16:37,248 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:17:07,202 basehttp 53952 6160101376 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:17:07,260 basehttp 53952 13707014144 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:17:37,266 basehttp 53952 13707014144 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:18:07,231 basehttp 53952 13707014144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:18:07,273 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:18:37,276 basehttp 53952 6160101376 "GET /en/inpatients/beds/ HTTP/1.1" 200 900005 INFO 2025-08-20 12:18:57,037 autoreload 53952 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/urls.py changed, reloading. INFO 2025-08-20 12:18:58,206 autoreload 3903 8601149632 Watching for file changes with StatReloader WARNING 2025-08-20 12:18:58,848 log 3903 6127251456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:18:58,848 basehttp 3903 6127251456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 12:18:58,878 log 3903 6127251456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:18:58,879 basehttp 3903 6127251456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:19:07,277 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:19:07,312 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 900052 WARNING 2025-08-20 12:19:08,816 log 3903 6144077824 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:19:08,816 basehttp 3903 6144077824 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:19:09,663 basehttp 3903 6144077824 "GET /en/inpatients/ HTTP/1.1" 200 42575 WARNING 2025-08-20 12:19:09,676 log 3903 6144077824 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:19:09,676 basehttp 3903 6144077824 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:19:09,768 basehttp 3903 6144077824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:19:09,771 basehttp 3903 6127251456 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 12:19:09,818 basehttp 3903 6160904192 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611566 INFO 2025-08-20 12:19:39,765 basehttp 3903 6160904192 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 12:20:09,785 basehttp 3903 6160904192 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:20:09,787 basehttp 3903 6144077824 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 12:20:09,847 basehttp 3903 6127251456 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611566 INFO 2025-08-20 12:20:39,766 basehttp 3903 6127251456 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 12:20:56,946 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 900052 WARNING 2025-08-20 12:20:56,963 log 3903 6127251456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:20:56,963 basehttp 3903 6127251456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:20:57,072 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:20:57,128 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 900052 INFO 2025-08-20 12:21:27,156 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 900052 INFO 2025-08-20 12:21:54,926 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 900494 WARNING 2025-08-20 12:21:54,943 log 3903 6127251456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:21:54,943 basehttp 3903 6127251456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:21:55,070 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:21:55,119 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 900494 INFO 2025-08-20 12:22:25,126 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 900494 INFO 2025-08-20 12:22:55,075 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:22:55,132 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 900494 INFO 2025-08-20 12:23:13,923 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 896418 WARNING 2025-08-20 12:23:13,941 log 3903 6127251456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:23:13,941 basehttp 3903 6127251456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:23:14,048 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:23:14,117 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 896418 INFO 2025-08-20 12:23:17,039 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 896418 INFO 2025-08-20 12:23:17,055 basehttp 3903 6160904192 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-20 12:23:17,056 basehttp 3903 13338013696 "GET /static/img/user/user-4.jpg HTTP/1.1" 200 5916 INFO 2025-08-20 12:23:17,056 basehttp 3903 13321187328 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 WARNING 2025-08-20 12:23:17,061 log 3903 6160904192 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:23:17,061 basehttp 3903 6160904192 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:23:17,063 basehttp 3903 6127251456 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-20 12:23:17,067 basehttp 3903 13321187328 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-20 12:23:17,072 basehttp 3903 13304360960 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-20 12:23:17,073 basehttp 3903 6144077824 "GET /static/css/apple/app.min.css HTTP/1.1" 200 898634 INFO 2025-08-20 12:23:17,077 basehttp 3903 13338013696 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-20 12:23:17,118 basehttp 3903 6144077824 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-20 12:23:17,118 basehttp 3903 13338013696 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-20 12:23:17,118 basehttp 3903 6127251456 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-20 12:23:17,120 basehttp 3903 13304360960 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-20 12:23:17,121 basehttp 3903 13321187328 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-20 12:23:17,123 basehttp 3903 6160904192 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-20 12:23:17,124 basehttp 3903 13321187328 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-20 12:23:17,124 basehttp 3903 13304360960 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-20 12:23:17,124 basehttp 3903 6160904192 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-20 12:23:17,125 basehttp 3903 13338013696 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-20 12:23:17,125 basehttp 3903 6144077824 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-20 12:23:17,126 basehttp 3903 6160904192 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-20 12:23:17,127 basehttp 3903 13321187328 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-20 12:23:17,127 basehttp 3903 13304360960 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-20 12:23:17,128 basehttp 3903 6144077824 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-20 12:23:17,128 basehttp 3903 13338013696 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-20 12:23:17,129 basehttp 3903 6160904192 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-20 12:23:17,129 basehttp 3903 6127251456 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-20 12:23:17,131 basehttp 3903 13304360960 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-20 12:23:17,131 basehttp 3903 13338013696 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-20 12:23:17,132 basehttp 3903 6144077824 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-20 12:23:17,132 basehttp 3903 6160904192 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-20 12:23:17,132 basehttp 3903 13321187328 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-20 12:23:17,164 basehttp 3903 6160904192 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:23:17,165 basehttp 3903 13321187328 "GET /static/css/apple/app.min.css.map HTTP/1.1" 200 1965938 WARNING 2025-08-20 12:23:17,198 log 3903 6160904192 Not Found: /favicon.ico WARNING 2025-08-20 12:23:17,201 basehttp 3903 6160904192 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-20 12:23:17,230 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 896418 INFO 2025-08-20 12:23:47,254 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 896418 INFO 2025-08-20 12:24:17,173 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:24:17,237 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 896418 INFO 2025-08-20 12:24:32,733 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 896510 WARNING 2025-08-20 12:24:32,752 log 3903 13321187328 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:24:32,752 basehttp 3903 13321187328 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:24:32,853 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:24:32,923 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 896510 INFO 2025-08-20 12:25:02,937 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 896510 INFO 2025-08-20 12:25:22,510 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 896510 WARNING 2025-08-20 12:25:22,530 log 3903 13321187328 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:25:22,530 basehttp 3903 13321187328 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:25:22,606 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:25:22,664 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 896510 INFO 2025-08-20 12:25:52,732 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 896510 INFO 2025-08-20 12:25:57,269 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 896106 WARNING 2025-08-20 12:25:57,291 log 3903 13321187328 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:25:57,291 basehttp 3903 13321187328 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:25:57,366 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:25:57,449 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 896106 INFO 2025-08-20 12:26:27,452 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 896106 INFO 2025-08-20 12:26:43,258 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 899740 WARNING 2025-08-20 12:26:43,273 log 3903 13321187328 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:26:43,273 basehttp 3903 13321187328 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:26:43,341 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:26:43,410 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 899740 INFO 2025-08-20 12:27:13,424 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 899740 INFO 2025-08-20 12:27:22,385 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 903374 WARNING 2025-08-20 12:27:22,403 log 3903 13321187328 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:27:22,403 basehttp 3903 13321187328 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:27:22,467 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:27:22,524 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 903374 INFO 2025-08-20 12:27:52,516 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 903374 INFO 2025-08-20 12:28:22,481 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:28:22,529 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 903374 INFO 2025-08-20 12:28:52,553 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 903374 INFO 2025-08-20 12:28:55,448 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908296 WARNING 2025-08-20 12:28:55,469 log 3903 13321187328 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:28:55,470 basehttp 3903 13321187328 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:28:55,545 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:28:55,594 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908296 INFO 2025-08-20 12:29:25,624 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908296 INFO 2025-08-20 12:29:55,551 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:29:55,596 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908296 INFO 2025-08-20 12:30:03,918 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 911124 WARNING 2025-08-20 12:30:03,934 log 3903 13321187328 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:30:03,934 basehttp 3903 13321187328 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:30:04,014 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:30:04,076 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 911124 INFO 2025-08-20 12:30:22,816 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908296 WARNING 2025-08-20 12:30:22,831 log 3903 13321187328 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:30:22,831 basehttp 3903 13321187328 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:30:22,899 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:30:22,946 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908296 INFO 2025-08-20 12:30:52,959 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908296 INFO 2025-08-20 12:31:22,908 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:31:22,959 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908296 INFO 2025-08-20 12:31:52,970 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908296 INFO 2025-08-20 12:32:22,902 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:32:22,946 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908296 INFO 2025-08-20 12:32:40,107 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908488 WARNING 2025-08-20 12:32:40,127 log 3903 13321187328 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:32:40,128 basehttp 3903 13321187328 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:32:40,198 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:32:40,290 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908488 INFO 2025-08-20 12:33:10,275 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908488 INFO 2025-08-20 12:33:39,444 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 WARNING 2025-08-20 12:33:39,468 log 3903 13321187328 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 12:33:39,468 basehttp 3903 13321187328 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 12:33:39,532 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:33:39,600 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 12:34:09,598 basehttp 3903 13321187328 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 12:34:39,548 basehttp 3903 13321187328 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:34:39,598 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 12:35:09,603 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 12:35:39,544 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:35:39,589 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 12:36:09,608 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 12:36:40,561 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:36:40,589 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 12:37:35,515 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 12:38:06,496 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:38:28,527 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 12:39:07,514 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:39:28,545 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 12:40:08,515 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 12:51:36,485 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 12:52:36,508 basehttp 3903 6144077824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4635 INFO 2025-08-20 12:52:36,545 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 12:53:36,533 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 12:54:36,500 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 12:54:36,539 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 13:00:41,274 basehttp 3903 6144077824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 13:00:41,311 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 13:12:15,952 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 13:13:48,211 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 13:13:48,248 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 13:46:51,376 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 13:46:57,353 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 13:47:03,391 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 13:47:33,395 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 13:47:57,354 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 13:48:03,397 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 13:48:33,397 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 13:48:57,349 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 13:49:03,427 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908543 INFO 2025-08-20 13:49:09,719 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908591 WARNING 2025-08-20 13:49:09,739 log 3903 6127251456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 13:49:09,739 basehttp 3903 6127251456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 13:49:09,848 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 13:49:09,888 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908591 INFO 2025-08-20 13:49:39,888 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908591 INFO 2025-08-20 13:49:59,288 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908638 WARNING 2025-08-20 13:49:59,306 log 3903 6127251456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 13:49:59,306 basehttp 3903 6127251456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 13:49:59,411 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 13:49:59,458 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908638 INFO 2025-08-20 13:50:07,593 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908638 WARNING 2025-08-20 13:50:07,612 log 3903 6127251456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 13:50:07,612 basehttp 3903 6127251456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 13:50:07,685 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 13:50:07,731 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908638 INFO 2025-08-20 13:50:37,739 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908638 INFO 2025-08-20 13:51:07,751 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 13:51:07,789 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908638 INFO 2025-08-20 13:51:30,773 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908740 WARNING 2025-08-20 13:51:30,787 log 3903 6144077824 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 13:51:30,787 basehttp 3903 6144077824 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 13:51:30,863 basehttp 3903 6144077824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 13:51:30,911 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908740 INFO 2025-08-20 13:52:00,922 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908740 INFO 2025-08-20 13:52:30,866 basehttp 3903 6144077824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4635 INFO 2025-08-20 13:52:30,910 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908740 INFO 2025-08-20 13:53:00,913 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908740 INFO 2025-08-20 13:53:18,705 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 WARNING 2025-08-20 13:53:18,722 log 3903 6144077824 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 13:53:18,722 basehttp 3903 6144077824 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 13:53:18,797 basehttp 3903 6144077824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 13:53:18,847 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:53:48,877 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:53:50,155 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 WARNING 2025-08-20 13:53:50,169 log 3903 6144077824 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 13:53:50,169 basehttp 3903 6144077824 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 13:53:50,240 basehttp 3903 6144077824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 13:53:50,288 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:54:05,380 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 WARNING 2025-08-20 13:54:05,396 log 3903 6144077824 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 13:54:05,396 basehttp 3903 6144077824 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 13:54:05,470 basehttp 3903 6144077824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 13:54:05,518 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:54:35,519 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:55:05,479 basehttp 3903 6144077824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 13:55:05,537 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:55:35,544 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:56:05,486 basehttp 3903 6144077824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 13:56:05,537 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:56:35,551 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:56:44,224 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 WARNING 2025-08-20 13:56:44,240 log 3903 6127251456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 13:56:44,240 basehttp 3903 6127251456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 13:56:44,315 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 13:56:44,372 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:57:14,389 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:57:42,758 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 WARNING 2025-08-20 13:57:42,772 log 3903 6127251456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 13:57:42,772 basehttp 3903 6127251456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 13:57:42,846 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 13:57:42,899 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:58:12,920 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:58:42,850 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 13:58:42,893 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:59:11,001 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 WARNING 2025-08-20 13:59:11,016 log 3903 6127251456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 13:59:11,016 basehttp 3903 6127251456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 13:59:11,094 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 13:59:11,143 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 13:59:41,164 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 14:00:00,013 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 WARNING 2025-08-20 14:00:00,029 log 3903 6127251456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:00:00,029 basehttp 3903 6127251456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:00:00,092 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 14:00:00,150 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 14:00:30,162 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908875 INFO 2025-08-20 14:00:45,438 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908874 WARNING 2025-08-20 14:00:45,456 log 3903 6144077824 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:00:45,456 basehttp 3903 6144077824 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:00:45,457 basehttp 3903 6127251456 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-20 14:00:45,844 basehttp 3903 6127251456 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-20 14:00:45,878 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 14:00:46,037 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908874 INFO 2025-08-20 14:01:16,059 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908874 INFO 2025-08-20 14:01:45,789 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 14:01:45,965 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 908874 INFO 2025-08-20 14:01:51,457 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 916424 WARNING 2025-08-20 14:01:51,471 log 3903 6127251456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:01:51,471 basehttp 3903 6127251456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:01:51,548 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 14:01:51,602 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 916424 INFO 2025-08-20 14:02:21,609 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 916424 INFO 2025-08-20 14:02:26,018 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 916444 WARNING 2025-08-20 14:02:26,035 log 3903 6127251456 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:02:26,036 basehttp 3903 6127251456 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:02:26,101 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:02:26,164 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 916444 INFO 2025-08-20 14:02:56,153 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 916444 INFO 2025-08-20 14:03:26,160 basehttp 3903 6127251456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:03:26,201 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 916444 INFO 2025-08-20 14:03:56,176 basehttp 3903 6144077824 "GET /en/inpatients/beds/ HTTP/1.1" 200 916444 INFO 2025-08-20 14:04:26,114 basehttp 3903 6144077824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:04:26,168 basehttp 3903 6127251456 "GET /en/inpatients/beds/ HTTP/1.1" 200 916444 INFO 2025-08-20 14:04:32,123 autoreload 3903 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-20 14:04:32,615 autoreload 24060 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 14:04:33,445 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916455 WARNING 2025-08-20 14:04:33,462 log 24060 6201831424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:04:33,462 basehttp 24060 6201831424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:04:33,533 basehttp 24060 6201831424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:04:33,596 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916455 INFO 2025-08-20 14:05:03,609 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916455 INFO 2025-08-20 14:05:33,546 basehttp 24060 6201831424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:05:33,601 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916455 INFO 2025-08-20 14:06:03,602 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916455 INFO 2025-08-20 14:06:33,551 basehttp 24060 6201831424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:06:33,604 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 916455 INFO 2025-08-20 14:07:03,599 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 916455 INFO 2025-08-20 14:07:33,553 basehttp 24060 6218657792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:07:33,602 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916455 INFO 2025-08-20 14:08:03,602 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916455 INFO 2025-08-20 14:08:33,553 basehttp 24060 6201831424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:08:33,602 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 916455 INFO 2025-08-20 14:09:03,581 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 916455 INFO 2025-08-20 14:09:33,552 basehttp 24060 6218657792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:09:33,592 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916455 INFO 2025-08-20 14:10:03,583 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916455 INFO 2025-08-20 14:10:33,562 basehttp 24060 6201831424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:10:33,600 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 916455 INFO 2025-08-20 14:10:47,580 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 916895 WARNING 2025-08-20 14:10:47,595 log 24060 6218657792 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:10:47,595 basehttp 24060 6218657792 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:10:47,661 basehttp 24060 6218657792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:10:47,718 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 916895 INFO 2025-08-20 14:11:17,753 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 916895 INFO 2025-08-20 14:11:39,174 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 916875 WARNING 2025-08-20 14:11:39,200 log 24060 6218657792 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:11:39,201 basehttp 24060 6218657792 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:11:39,262 basehttp 24060 6218657792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:11:39,326 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 916875 INFO 2025-08-20 14:12:09,327 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916875 INFO 2025-08-20 14:12:12,174 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916855 WARNING 2025-08-20 14:12:12,186 log 24060 6201831424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:12:12,187 basehttp 24060 6201831424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:12:12,264 basehttp 24060 6201831424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:12:12,346 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916855 INFO 2025-08-20 14:12:41,898 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916987 WARNING 2025-08-20 14:12:41,914 log 24060 6201831424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:12:41,914 basehttp 24060 6201831424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:12:41,985 basehttp 24060 6201831424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:12:42,038 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916987 INFO 2025-08-20 14:12:53,217 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916843 WARNING 2025-08-20 14:12:53,236 log 24060 6201831424 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:12:53,237 basehttp 24060 6201831424 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:12:53,306 basehttp 24060 6201831424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:12:53,373 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916843 INFO 2025-08-20 14:13:23,389 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916843 INFO 2025-08-20 14:13:53,318 basehttp 24060 6201831424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:13:53,376 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916843 INFO 2025-08-20 14:14:23,378 basehttp 24060 6201831424 "GET /en/inpatients/beds/ HTTP/1.1" 200 916843 INFO 2025-08-20 14:14:53,324 basehttp 24060 6201831424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:14:53,380 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 916843 INFO 2025-08-20 14:15:23,363 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 916843 INFO 2025-08-20 14:15:53,312 basehttp 24060 6218657792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:15:53,358 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 916843 INFO 2025-08-20 14:15:54,753 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 918250 WARNING 2025-08-20 14:15:54,765 log 24060 6218657792 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:15:54,765 basehttp 24060 6218657792 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:15:54,837 basehttp 24060 6218657792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:15:54,908 basehttp 24060 6218657792 "GET /en/inpatients/beds/ HTTP/1.1" 200 918250 INFO 2025-08-20 14:16:06,137 basehttp 24060 6218657792 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918701 WARNING 2025-08-20 14:16:06,156 log 24060 6218657792 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:16:06,156 basehttp 24060 6218657792 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:16:06,232 basehttp 24060 6218657792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:16:06,293 basehttp 24060 6218657792 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918701 INFO 2025-08-20 14:16:28,102 basehttp 24060 6218657792 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 298470 WARNING 2025-08-20 14:16:28,117 log 24060 6218657792 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:16:28,117 basehttp 24060 6218657792 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:16:28,171 basehttp 24060 6218657792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:16:28,217 basehttp 24060 6218657792 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 298470 INFO 2025-08-20 14:16:51,343 basehttp 24060 6218657792 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 WARNING 2025-08-20 14:16:51,356 log 24060 6218657792 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:16:51,356 basehttp 24060 6218657792 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:16:51,436 basehttp 24060 6218657792 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:16:51,501 basehttp 24060 6218657792 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 WARNING 2025-08-20 14:17:13,239 log 24060 6218657792 Method Not Allowed (POST): /en/inpatients/beds/ WARNING 2025-08-20 14:17:13,239 basehttp 24060 6218657792 "POST /en/inpatients/beds/?page=2 HTTP/1.1" 405 0 INFO 2025-08-20 14:17:21,523 basehttp 24060 6218657792 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:17:53,853 basehttp 24060 6201831424 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 ERROR 2025-08-20 14:17:53,859 log 24060 6218657792 Internal Server Error: /en/inpatients/discharge/1729/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: discharge_patient() got an unexpected keyword argument 'admission_id' ERROR 2025-08-20 14:17:53,863 basehttp 24060 6218657792 "POST /en/inpatients/discharge/1729/ HTTP/1.1" 500 69413 INFO 2025-08-20 14:17:53,907 basehttp 24060 6235484160 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:18:21,511 basehttp 24060 6235484160 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:18:31,253 autoreload 24060 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/urls.py changed, reloading. INFO 2025-08-20 14:18:31,574 autoreload 30251 8601149632 Watching for file changes with StatReloader WARNING 2025-08-20 14:18:32,677 log 30251 6128627712 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:18:32,677 basehttp 30251 6128627712 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 14:18:32,697 log 30251 6128627712 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:18:32,697 basehttp 30251 6128627712 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 14:18:43,448 log 30251 6128627712 Not Found: /en/inpatients/discharge/1511/ WARNING 2025-08-20 14:18:43,449 basehttp 30251 6128627712 "POST /en/inpatients/discharge/1511/ HTTP/1.1" 404 35606 INFO 2025-08-20 14:18:51,583 basehttp 30251 6128627712 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:18:53,835 basehttp 30251 6128627712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:19:21,523 basehttp 30251 6128627712 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 WARNING 2025-08-20 14:19:35,628 log 30251 6128627712 Not Found: /en/inpatients/discharge/1729/ WARNING 2025-08-20 14:19:35,628 basehttp 30251 6128627712 "POST /en/inpatients/discharge/1729/ HTTP/1.1" 404 35606 INFO 2025-08-20 14:19:51,523 basehttp 30251 6128627712 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:19:53,840 basehttp 30251 6128627712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:20:21,522 basehttp 30251 6128627712 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:20:51,523 basehttp 30251 6128627712 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:20:53,843 basehttp 30251 6128627712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:21:21,505 basehttp 30251 6128627712 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:21:34,856 autoreload 30251 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 14:21:35,173 autoreload 31555 8601149632 Watching for file changes with StatReloader WARNING 2025-08-20 14:21:36,464 log 31555 6165721088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:21:36,464 basehttp 31555 6165721088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 14:21:36,482 log 31555 6165721088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:21:36,482 basehttp 31555 6165721088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:21:37,822 basehttp 31555 6165721088 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 WARNING 2025-08-20 14:21:37,842 log 31555 6165721088 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:21:37,842 basehttp 31555 6165721088 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:21:37,921 basehttp 31555 6165721088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:21:37,993 basehttp 31555 6165721088 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 WARNING 2025-08-20 14:21:45,089 log 31555 6165721088 Not Found: /en/inpatients/discharge/1729/ WARNING 2025-08-20 14:21:45,089 basehttp 31555 6165721088 "POST /en/inpatients/discharge/1729/ HTTP/1.1" 404 35606 INFO 2025-08-20 14:22:08,002 basehttp 31555 6165721088 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:22:37,929 basehttp 31555 6165721088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:22:37,985 basehttp 31555 6165721088 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:23:08,005 basehttp 31555 6165721088 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:23:37,938 basehttp 31555 6165721088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:23:38,001 basehttp 31555 6165721088 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:24:07,980 basehttp 31555 6165721088 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:24:19,454 autoreload 31555 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-20 14:24:19,769 autoreload 32792 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 14:24:37,969 basehttp 32792 6129020928 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:24:38,043 basehttp 32792 6145847296 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:24:51,985 autoreload 32792 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-20 14:24:52,301 autoreload 33029 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 14:25:08,031 basehttp 33029 6164819968 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:25:22,585 autoreload 33029 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-20 14:25:22,918 autoreload 33277 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 14:25:37,978 basehttp 33277 6194163712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:25:38,038 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:26:08,003 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:26:37,960 basehttp 33277 6210990080 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:26:38,011 basehttp 33277 6194163712 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:27:08,011 basehttp 33277 6194163712 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:27:37,964 basehttp 33277 6194163712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:27:38,029 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:28:08,002 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:28:37,965 basehttp 33277 6194163712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:28:38,012 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:29:07,993 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:29:37,964 basehttp 33277 6194163712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:29:38,010 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:30:08,001 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:30:37,965 basehttp 33277 6194163712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:30:38,012 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:31:08,004 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:31:37,961 basehttp 33277 6194163712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:31:38,005 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:32:08,019 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:32:37,982 basehttp 33277 6194163712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:32:38,026 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:33:08,019 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:33:37,988 basehttp 33277 6194163712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:33:38,027 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:34:08,025 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:34:37,983 basehttp 33277 6194163712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:34:38,023 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:35:08,024 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:35:37,990 basehttp 33277 6194163712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:35:38,030 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:36:08,023 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:36:37,992 basehttp 33277 6194163712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:36:38,024 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:37:08,030 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:37:37,994 basehttp 33277 6194163712 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:37:38,041 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:38:08,030 basehttp 33277 6210990080 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:38:28,518 autoreload 33277 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py changed, reloading. INFO 2025-08-20 14:38:28,955 autoreload 38970 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 14:38:38,103 basehttp 38970 6187233280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:38:38,169 basehttp 38970 6170406912 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:39:08,030 basehttp 38970 6170406912 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:39:37,999 basehttp 38970 6187233280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:39:38,035 basehttp 38970 6170406912 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:40:08,013 basehttp 38970 6170406912 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:40:38,001 basehttp 38970 6187233280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:40:38,030 basehttp 38970 6170406912 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:41:08,029 basehttp 38970 6170406912 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:41:38,002 basehttp 38970 6187233280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:41:38,013 basehttp 38970 6170406912 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:42:08,038 basehttp 38970 6170406912 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:42:38,009 basehttp 38970 6187233280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:42:38,017 basehttp 38970 6170406912 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:43:08,029 basehttp 38970 6170406912 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:43:38,011 basehttp 38970 6187233280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:43:38,027 basehttp 38970 6170406912 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:44:08,012 basehttp 38970 6170406912 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:44:14,466 autoreload 38970 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 14:44:14,957 autoreload 42091 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 14:44:15,367 basehttp 42091 6193213440 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 WARNING 2025-08-20 14:44:15,394 log 42091 6193213440 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:44:15,394 basehttp 42091 6193213440 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:44:15,478 basehttp 42091 6193213440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:44:15,537 basehttp 42091 6193213440 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 WARNING 2025-08-20 14:44:22,485 log 42091 6193213440 Not Found: /en/inpatients/discharge/1729/ WARNING 2025-08-20 14:44:22,486 basehttp 42091 6193213440 "POST /en/inpatients/discharge/1729/ HTTP/1.1" 404 35606 INFO 2025-08-20 14:44:45,554 basehttp 42091 6193213440 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:45:15,483 basehttp 42091 6193213440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:45:15,540 basehttp 42091 6193213440 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:45:45,564 basehttp 42091 6193213440 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:46:15,493 basehttp 42091 6193213440 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:46:15,553 basehttp 42091 6210039808 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918297 INFO 2025-08-20 14:46:22,429 basehttp 42091 6210039808 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918295 WARNING 2025-08-20 14:46:22,447 log 42091 6210039808 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:46:22,447 basehttp 42091 6210039808 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:46:22,529 basehttp 42091 6210039808 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:46:22,601 basehttp 42091 6210039808 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918295 WARNING 2025-08-20 14:46:30,053 log 42091 6210039808 Not Found: /en/inpatients/discharge/1729/ WARNING 2025-08-20 14:46:30,054 basehttp 42091 6210039808 "POST /en/inpatients/discharge/1729/ HTTP/1.1" 404 35606 INFO 2025-08-20 14:46:52,598 basehttp 42091 6210039808 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918295 INFO 2025-08-20 14:47:08,453 autoreload 42091 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 14:47:08,784 autoreload 43345 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 14:47:09,345 basehttp 43345 6205353984 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918295 WARNING 2025-08-20 14:47:09,366 log 43345 6205353984 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:47:09,366 basehttp 43345 6205353984 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:47:09,439 basehttp 43345 6205353984 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:47:09,510 basehttp 43345 6205353984 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918295 WARNING 2025-08-20 14:47:14,252 log 43345 6205353984 Not Found: /en/inpatients/discharge/1729/ WARNING 2025-08-20 14:47:14,252 basehttp 43345 6205353984 "POST /en/inpatients/discharge/1729/ HTTP/1.1" 404 35606 INFO 2025-08-20 14:47:34,949 basehttp 43345 6205353984 "GET /en/admin/inpatients/ward/ HTTP/1.1" 200 82823 INFO 2025-08-20 14:47:34,963 basehttp 43345 6239006720 "GET /static/admin/css/nav_sidebar.css HTTP/1.1" 200 2810 INFO 2025-08-20 14:47:34,963 basehttp 43345 6222180352 "GET /static/admin/css/dark_mode.css HTTP/1.1" 200 2808 INFO 2025-08-20 14:47:34,964 basehttp 43345 6272659456 "GET /static/admin/js/theme.js HTTP/1.1" 200 1653 INFO 2025-08-20 14:47:34,964 basehttp 43345 6205353984 "GET /static/admin/css/base.css HTTP/1.1" 200 22120 INFO 2025-08-20 14:47:34,964 basehttp 43345 6255833088 "GET /static/admin/css/changelists.css HTTP/1.1" 200 6878 INFO 2025-08-20 14:47:34,966 basehttp 43345 6239006720 "GET /static/admin/css/responsive.css HTTP/1.1" 200 16565 INFO 2025-08-20 14:47:34,967 basehttp 43345 6272659456 "GET /static/admin/js/jquery.init.js HTTP/1.1" 200 347 INFO 2025-08-20 14:47:34,967 basehttp 43345 6205353984 "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 200 9777 INFO 2025-08-20 14:47:34,968 basehttp 43345 6255833088 "GET /static/admin/js/core.js HTTP/1.1" 200 6208 INFO 2025-08-20 14:47:34,969 basehttp 43345 6239006720 "GET /static/admin/js/actions.js HTTP/1.1" 200 8076 INFO 2025-08-20 14:47:34,969 basehttp 43345 6205353984 "GET /static/admin/js/prepopulate.js HTTP/1.1" 200 1531 INFO 2025-08-20 14:47:34,971 basehttp 43345 6272659456 "GET /static/admin/js/urlify.js HTTP/1.1" 200 7887 INFO 2025-08-20 14:47:34,971 basehttp 43345 6289485824 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 14:47:34,972 basehttp 43345 6205353984 "GET /static/admin/img/icon-yes.svg HTTP/1.1" 200 436 INFO 2025-08-20 14:47:34,972 basehttp 43345 6239006720 "GET /static/admin/img/search.svg HTTP/1.1" 200 458 INFO 2025-08-20 14:47:34,974 basehttp 43345 6222180352 "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 200 285314 INFO 2025-08-20 14:47:34,975 basehttp 43345 6255833088 "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 200 325171 INFO 2025-08-20 14:47:34,976 basehttp 43345 6222180352 "GET /static/admin/js/nav_sidebar.js HTTP/1.1" 200 3063 INFO 2025-08-20 14:47:34,978 basehttp 43345 6222180352 "GET /static/admin/js/filters.js HTTP/1.1" 200 978 INFO 2025-08-20 14:47:34,994 basehttp 43345 6222180352 "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 200 331 INFO 2025-08-20 14:47:34,995 basehttp 43345 6255833088 "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 200 331 INFO 2025-08-20 14:47:34,995 basehttp 43345 6239006720 "GET /static/admin/img/sorting-icons.svg HTTP/1.1" 200 1097 INFO 2025-08-20 14:47:34,995 basehttp 43345 6205353984 "GET /static/admin/img/icon-viewlink.svg HTTP/1.1" 200 581 INFO 2025-08-20 14:47:40,302 basehttp 43345 6205353984 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918295 INFO 2025-08-20 14:47:40,873 basehttp 43345 6205353984 "GET /en/admin/inpatients/admission/ HTTP/1.1" 200 139052 INFO 2025-08-20 14:47:40,887 basehttp 43345 6205353984 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 14:48:09,450 basehttp 43345 6205353984 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:48:09,499 basehttp 43345 6205353984 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918295 INFO 2025-08-20 14:48:39,500 basehttp 43345 6205353984 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918295 INFO 2025-08-20 14:48:41,330 basehttp 43345 6205353984 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918270 WARNING 2025-08-20 14:48:41,343 log 43345 6205353984 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:48:41,344 basehttp 43345 6205353984 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:48:41,420 basehttp 43345 6205353984 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:48:41,494 basehttp 43345 6205353984 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918270 INFO 2025-08-20 14:48:45,843 basehttp 43345 6205353984 "POST /en/inpatients/discharge/359/ HTTP/1.1" 302 0 INFO 2025-08-20 14:48:45,864 basehttp 43345 6205353984 "GET /en/inpatients/admissions/359/ HTTP/1.1" 200 26610 INFO 2025-08-20 14:49:11,508 basehttp 43345 6205353984 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918270 INFO 2025-08-20 14:49:42,417 basehttp 43345 6205353984 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:49:42,454 basehttp 43345 6239006720 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918270 INFO 2025-08-20 14:50:08,736 autoreload 43345 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 14:50:09,094 autoreload 44733 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 14:50:11,167 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918270 WARNING 2025-08-20 14:50:11,187 log 44733 6134067200 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:50:11,188 basehttp 44733 6134067200 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:50:11,270 basehttp 44733 6134067200 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:50:11,329 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918270 INFO 2025-08-20 14:50:18,461 basehttp 44733 6134067200 "POST /en/inpatients/discharge/359/ HTTP/1.1" 302 0 INFO 2025-08-20 14:50:18,482 basehttp 44733 6134067200 "GET /en/inpatients/admissions/359/ HTTP/1.1" 200 26610 INFO 2025-08-20 14:50:41,349 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918270 INFO 2025-08-20 14:51:11,284 basehttp 44733 6134067200 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:51:11,346 basehttp 44733 6150893568 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918270 INFO 2025-08-20 14:51:33,073 basehttp 44733 6150893568 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918337 WARNING 2025-08-20 14:51:33,089 log 44733 6150893568 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:51:33,089 basehttp 44733 6150893568 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:51:33,171 basehttp 44733 6150893568 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 14:52:33,186 basehttp 44733 6150893568 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4635 INFO 2025-08-20 14:53:12,309 basehttp 44733 6150893568 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918344 INFO 2025-08-20 14:53:12,323 basehttp 44733 6150893568 "GET /static/plugins/dropzone/dist/min/dropzone.min.js HTTP/1.1" 200 114702 WARNING 2025-08-20 14:53:12,326 log 44733 6134067200 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:53:12,326 basehttp 44733 6134067200 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:53:12,403 basehttp 44733 6134067200 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 14:53:12,462 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918344 INFO 2025-08-20 14:53:17,470 basehttp 44733 6134067200 "POST /en/inpatients/discharge/359/ HTTP/1.1" 302 0 INFO 2025-08-20 14:53:17,489 basehttp 44733 6134067200 "GET /en/inpatients/admissions/359/ HTTP/1.1" 200 26610 INFO 2025-08-20 14:53:42,479 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918344 INFO 2025-08-20 14:54:12,422 basehttp 44733 6134067200 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 14:54:12,476 basehttp 44733 6150893568 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918344 INFO 2025-08-20 14:54:42,471 basehttp 44733 6150893568 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918344 INFO 2025-08-20 14:55:13,282 basehttp 44733 6150893568 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 14:55:13,329 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918344 INFO 2025-08-20 14:55:43,295 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918344 INFO 2025-08-20 14:56:14,265 basehttp 44733 6134067200 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 14:56:45,327 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918344 INFO 2025-08-20 14:57:15,279 basehttp 44733 6134067200 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 14:57:47,369 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 14:57:48,743 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 WARNING 2025-08-20 14:57:48,763 log 44733 6134067200 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 14:57:48,763 basehttp 44733 6134067200 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 14:57:49,061 basehttp 44733 6134067200 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 14:57:49,115 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 14:57:55,777 basehttp 44733 6134067200 "POST /en/inpatients/discharge/359/ HTTP/1.1" 302 0 INFO 2025-08-20 14:57:55,793 basehttp 44733 6134067200 "GET /en/inpatients/admissions/359/ HTTP/1.1" 200 26973 INFO 2025-08-20 14:58:19,144 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 14:58:49,058 basehttp 44733 6134067200 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 14:58:49,123 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 14:59:19,143 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 14:59:49,064 basehttp 44733 6134067200 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 14:59:49,128 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 15:00:19,141 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 15:00:49,062 basehttp 44733 6134067200 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 15:00:49,127 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 15:01:19,138 basehttp 44733 6134067200 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 15:01:44,798 autoreload 44733 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 15:01:45,265 autoreload 62380 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 15:01:49,054 basehttp 62380 6127005696 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 15:01:49,058 basehttp 62380 6143832064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 15:01:49,058 basehttp 62380 6143832064 - Broken pipe from ('127.0.0.1', 53484) WARNING 2025-08-20 15:01:49,072 log 62380 6127005696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:01:49,073 basehttp 62380 6127005696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:01:49,159 basehttp 62380 6127005696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 15:01:49,211 basehttp 62380 6127005696 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 15:01:54,076 basehttp 62380 6127005696 "POST /en/inpatients/discharge/359/ HTTP/1.1" 302 0 INFO 2025-08-20 15:01:54,097 basehttp 62380 6127005696 "GET /en/inpatients/admissions/359/ HTTP/1.1" 200 26973 INFO 2025-08-20 15:02:12,139 basehttp 62380 6127005696 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 WARNING 2025-08-20 15:02:12,157 log 62380 6127005696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:02:12,157 basehttp 62380 6127005696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:02:12,157 basehttp 62380 12901707776 "GET /static/css/custom.css HTTP/1.1" 200 1855 INFO 2025-08-20 15:02:12,161 basehttp 62380 6127005696 "GET /static/img/user/user-4.jpg HTTP/1.1" 200 5916 INFO 2025-08-20 15:02:12,161 basehttp 62380 12935360512 "GET /static/js/htmx.min.js HTTP/1.1" 200 50917 INFO 2025-08-20 15:02:12,165 basehttp 62380 6143832064 "GET /static/css/vendor.min.css HTTP/1.1" 200 177466 INFO 2025-08-20 15:02:12,170 basehttp 62380 12918534144 "GET /static/plugins/apexcharts/dist/apexcharts.min.js HTTP/1.1" 200 574941 INFO 2025-08-20 15:02:12,171 basehttp 62380 12935360512 "GET /static/plugins/dropzone/dist/min/dropzone.min.js HTTP/1.1" 200 114702 INFO 2025-08-20 15:02:12,171 basehttp 62380 6160658432 "GET /static/css/default/app.min.css HTTP/1.1" 200 893480 INFO 2025-08-20 15:02:12,171 basehttp 62380 6127005696 "GET /static/js/app.min.js HTTP/1.1" 200 110394 INFO 2025-08-20 15:02:12,173 basehttp 62380 12901707776 "GET /static/js/vendor.min.js HTTP/1.1" 200 1091361 INFO 2025-08-20 15:02:12,395 basehttp 62380 12901707776 "GET /static/css/default/app.min.css.map HTTP/1.1" 200 1957526 INFO 2025-08-20 15:02:12,403 basehttp 62380 12901707776 "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 200 158220 INFO 2025-08-20 15:02:12,436 basehttp 62380 6127005696 "GET /static/img/theme/transparent.jpg HTTP/1.1" 200 32747 INFO 2025-08-20 15:02:12,436 basehttp 62380 6160658432 "GET /static/img/theme/apple.jpg HTTP/1.1" 200 28822 INFO 2025-08-20 15:02:12,437 basehttp 62380 12935360512 "GET /static/img/theme/material.jpg HTTP/1.1" 200 28774 INFO 2025-08-20 15:02:12,437 basehttp 62380 12918534144 "GET /static/img/theme/facebook.jpg HTTP/1.1" 200 27881 INFO 2025-08-20 15:02:12,438 basehttp 62380 12901707776 "GET /static/img/theme/default.jpg HTTP/1.1" 200 26964 INFO 2025-08-20 15:02:12,440 basehttp 62380 6127005696 "GET /static/img/version/html.jpg HTTP/1.1" 200 17325 INFO 2025-08-20 15:02:12,442 basehttp 62380 6143832064 "GET /static/img/theme/google.jpg HTTP/1.1" 200 86013 INFO 2025-08-20 15:02:12,442 basehttp 62380 12901707776 "GET /static/img/version/svelte.jpg HTTP/1.1" 200 25060 INFO 2025-08-20 15:02:12,443 basehttp 62380 6160658432 "GET /static/img/version/ajax.jpg HTTP/1.1" 200 20223 INFO 2025-08-20 15:02:12,443 basehttp 62380 12935360512 "GET /static/img/version/angular1x.jpg HTTP/1.1" 200 22869 INFO 2025-08-20 15:02:12,443 basehttp 62380 12918534144 "GET /static/img/version/angular10x.jpg HTTP/1.1" 200 24580 INFO 2025-08-20 15:02:12,444 basehttp 62380 6127005696 "GET /static/img/version/laravel.jpg HTTP/1.1" 200 26040 INFO 2025-08-20 15:02:12,450 basehttp 62380 12918534144 "GET /static/img/version/vuejs.jpg HTTP/1.1" 200 22518 INFO 2025-08-20 15:02:12,450 basehttp 62380 6160658432 "GET /static/img/version/dotnet.jpg HTTP/1.1" 200 24791 INFO 2025-08-20 15:02:12,451 basehttp 62380 12901707776 "GET /static/img/version/django.jpg HTTP/1.1" 200 20935 INFO 2025-08-20 15:02:12,452 basehttp 62380 6143832064 "GET /static/img/version/nextjs.jpg HTTP/1.1" 200 20152 INFO 2025-08-20 15:02:12,453 basehttp 62380 12935360512 "GET /static/img/version/reactjs.jpg HTTP/1.1" 200 26850 INFO 2025-08-20 15:02:12,453 basehttp 62380 12918534144 "GET /static/img/theme/e-commerce.jpg HTTP/1.1" 200 37734 INFO 2025-08-20 15:02:12,454 basehttp 62380 6127005696 "GET /static/img/theme/one-page-parallax.jpg HTTP/1.1" 200 22474 INFO 2025-08-20 15:02:12,454 basehttp 62380 12901707776 "GET /static/img/theme/forum.jpg HTTP/1.1" 200 28744 INFO 2025-08-20 15:02:12,454 basehttp 62380 6160658432 "GET /static/img/theme/blog.jpg HTTP/1.1" 200 32334 INFO 2025-08-20 15:02:12,454 basehttp 62380 6143832064 "GET /static/img/theme/corporate.jpg HTTP/1.1" 200 38911 INFO 2025-08-20 15:02:12,473 basehttp 62380 6143832064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:02:12,529 basehttp 62380 6143832064 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 WARNING 2025-08-20 15:02:12,533 log 62380 6160658432 Not Found: /favicon.ico WARNING 2025-08-20 15:02:12,533 basehttp 62380 6160658432 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-20 15:02:25,900 basehttp 62380 6160658432 "GET /en/inpatients/beds/?page=2&bed_id=1729 HTTP/1.1" 200 918707 INFO 2025-08-20 15:02:32,838 basehttp 62380 6160658432 "GET /en/inpatients/beds/1729/edit/ HTTP/1.1" 200 35207 INFO 2025-08-20 15:02:32,848 basehttp 62380 6143832064 "GET /static/plugins/select2/dist/css/select2.min.css HTTP/1.1" 200 14966 INFO 2025-08-20 15:02:32,849 basehttp 62380 12901707776 "GET /static/plugins/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css HTTP/1.1" 200 15733 INFO 2025-08-20 15:02:32,849 basehttp 62380 6127005696 "GET /static/plugins/select2/dist/js/select2.min.js HTTP/1.1" 200 70851 WARNING 2025-08-20 15:02:32,853 log 62380 6160658432 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:02:32,853 basehttp 62380 6160658432 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:02:32,937 basehttp 62380 6160658432 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:02:44,848 basehttp 62380 6160658432 "GET /en/inpatients/beds/ HTTP/1.1" 200 918249 WARNING 2025-08-20 15:02:44,862 log 62380 6160658432 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:02:44,863 basehttp 62380 6160658432 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:02:44,960 basehttp 62380 6160658432 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:02:45,018 basehttp 62380 6160658432 "GET /en/inpatients/beds/ HTTP/1.1" 200 918249 INFO 2025-08-20 15:03:07,419 basehttp 62380 6160658432 "GET /en/inpatients/beds/ HTTP/1.1" 200 918249 WARNING 2025-08-20 15:03:07,442 log 62380 6160658432 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:03:07,442 basehttp 62380 6160658432 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:03:07,513 basehttp 62380 6160658432 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:03:07,603 basehttp 62380 6160658432 "GET /en/inpatients/beds/ HTTP/1.1" 200 918249 INFO 2025-08-20 15:03:12,688 basehttp 62380 6160658432 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 WARNING 2025-08-20 15:03:12,706 log 62380 6160658432 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:03:12,706 basehttp 62380 6160658432 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:03:12,797 basehttp 62380 6160658432 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:03:12,865 basehttp 62380 6160658432 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 15:03:42,869 basehttp 62380 6160658432 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 15:05:30,196 autoreload 64170 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 15:05:42,910 basehttp 64170 6134132736 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 15:06:12,808 basehttp 64170 6134132736 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:06:12,851 basehttp 64170 6134132736 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 INFO 2025-08-20 15:06:42,941 basehttp 64170 6134132736 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 918707 ERROR 2025-08-20 15:07:04,977 log 64170 6134132736 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'discharge_patient' with arguments '('',)' not found. 1 pattern(s) tried: ['en/inpatients/discharge/(?P[0-9]+)/\\Z'] ERROR 2025-08-20 15:07:04,978 basehttp 64170 6134132736 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 500 284571 WARNING 2025-08-20 15:07:04,996 log 64170 6134132736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:07:04,996 basehttp 64170 6134132736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:08:34,973 basehttp 64170 6134132736 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 916795 WARNING 2025-08-20 15:08:34,991 log 64170 6134132736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:08:34,991 basehttp 64170 6134132736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:08:35,075 basehttp 64170 6134132736 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:08:35,132 basehttp 64170 6134132736 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 916795 INFO 2025-08-20 15:08:39,646 basehttp 64170 6134132736 "GET /en/inpatients/discharge/359/ HTTP/1.1" 302 0 INFO 2025-08-20 15:08:39,667 basehttp 64170 6134132736 "GET /en/inpatients/admissions/359/ HTTP/1.1" 200 26973 WARNING 2025-08-20 15:08:39,685 log 64170 6134132736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:08:39,686 basehttp 64170 6134132736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:08:39,726 basehttp 64170 6134132736 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 15:09:13,067 log 64170 6150959104 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:09:13,068 basehttp 64170 6150959104 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 15:09:13,095 log 64170 6150959104 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:09:13,096 basehttp 64170 6150959104 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:09:13,129 basehttp 64170 6134132736 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 916795 INFO 2025-08-20 15:09:24,123 basehttp 64170 6134132736 "GET /en/inpatients/beds/?page=3 HTTP/1.1" 200 916542 WARNING 2025-08-20 15:09:24,141 log 64170 6134132736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:09:24,141 basehttp 64170 6134132736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:09:24,230 basehttp 64170 6134132736 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:09:24,302 basehttp 64170 6134132736 "GET /en/inpatients/beds/?page=3 HTTP/1.1" 200 916542 INFO 2025-08-20 15:09:35,964 basehttp 64170 6134132736 "GET /en/inpatients/beds/?page=4 HTTP/1.1" 200 917379 WARNING 2025-08-20 15:09:35,986 log 64170 6134132736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:09:35,986 basehttp 64170 6134132736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:09:36,076 basehttp 64170 6134132736 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:09:36,147 basehttp 64170 6134132736 "GET /en/inpatients/beds/?page=4 HTTP/1.1" 200 917379 INFO 2025-08-20 15:09:47,192 basehttp 64170 6134132736 "GET /en/inpatients/beds/?page=1 HTTP/1.1" 200 915757 WARNING 2025-08-20 15:09:47,212 log 64170 6134132736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:09:47,213 basehttp 64170 6134132736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:09:47,308 basehttp 64170 6134132736 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:09:47,371 basehttp 64170 6134132736 "GET /en/inpatients/beds/?page=1 HTTP/1.1" 200 915757 INFO 2025-08-20 15:10:07,358 basehttp 64170 6134132736 "GET /en/inpatients/beds/1748/edit/ HTTP/1.1" 200 35207 WARNING 2025-08-20 15:10:07,383 log 64170 6134132736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:10:07,383 basehttp 64170 6134132736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:10:07,443 basehttp 64170 6134132736 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:10:29,884 basehttp 64170 6134132736 "POST /en/inpatients/beds/1748/edit/ HTTP/1.1" 302 0 ERROR 2025-08-20 15:10:29,937 log 64170 6134132736 Internal Server Error: /en/inpatients/beds/1748/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 425, in get_context_data context['admission_history'] = Admission.objects.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1503, in build_filter return self._add_q( ^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'initial_bed' into field. Choices are: acuity_level, admission_datetime, admission_id, admission_notes, admission_source, admission_type, admitting_diagnosis, admitting_physician, admitting_physician_id, advance_directive, alerts, allergies, anticipated_discharge_date, assigned_bed, attending_physician, attending_physician_id, authorization_number, chief_complaint, code_status, consulting_physicians, created_at, created_by, created_by_id, current_bed, current_bed_id, current_ward, current_ward_id, discharge_datetime, discharge_disposition, discharge_planner, discharge_planner_id, discharge_planning_started, discharge_summary, encounters, estimated_length_of_stay, healthcare_proxy, id, insurance_verified, isolation_required, isolation_type, medical_bills, patient, patient_id, priority, secondary_diagnoses, special_needs, status, surgeries, surgical_cases, tenant, tenant_id, transfers, updated_at ERROR 2025-08-20 15:10:29,938 basehttp 64170 6134132736 "GET /en/inpatients/beds/1748/ HTTP/1.1" 500 153221 WARNING 2025-08-20 15:10:29,956 log 64170 6134132736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:10:29,956 basehttp 64170 6134132736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:11:25,605 autoreload 64170 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 15:11:25,923 autoreload 66803 8601149632 Watching for file changes with StatReloader ERROR 2025-08-20 15:11:28,716 log 66803 6127153152 Internal Server Error: /en/inpatients/beds/1748/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/detail.py", line 113, in get context = self.get_context_data(object=self.object) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 429, in get_context_data ).order_by('-admitted_at')[:10] ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1722, in order_by obj.query.add_ordering(*field_names) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2291, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'admitted_at' into field. Choices are: acuity_level, admission_datetime, admission_id, admission_notes, admission_source, admission_type, admitting_diagnosis, admitting_physician, admitting_physician_id, advance_directive, alerts, allergies, anticipated_discharge_date, assigned_bed, attending_physician, attending_physician_id, authorization_number, chief_complaint, code_status, consulting_physicians, created_at, created_by, created_by_id, current_bed, current_bed_id, current_ward, current_ward_id, discharge_datetime, discharge_disposition, discharge_planner, discharge_planner_id, discharge_planning_started, discharge_summary, encounters, estimated_length_of_stay, healthcare_proxy, id, insurance_verified, isolation_required, isolation_type, medical_bills, patient, patient_id, priority, secondary_diagnoses, special_needs, status, surgeries, surgical_cases, tenant, tenant_id, transfers, updated_at ERROR 2025-08-20 15:11:28,717 basehttp 66803 6127153152 "GET /en/inpatients/beds/1748/ HTTP/1.1" 500 106771 WARNING 2025-08-20 15:11:28,730 log 66803 6127153152 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:11:28,730 basehttp 66803 6127153152 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:11:55,203 autoreload 66803 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 15:11:55,526 autoreload 66972 8601149632 Watching for file changes with StatReloader ERROR 2025-08-20 15:11:55,865 log 66972 6127824896 Internal Server Error: /en/inpatients/beds/1748/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bed_form' not found. 'bed_form' is not a valid view function or pattern name. ERROR 2025-08-20 15:11:55,867 basehttp 66972 6127824896 "GET /en/inpatients/beds/1748/ HTTP/1.1" 500 175701 WARNING 2025-08-20 15:11:55,883 log 66972 6127824896 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:11:55,883 basehttp 66972 6127824896 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-20 15:13:08,791 log 66972 6127824896 Internal Server Error: /en/inpatients/beds/1748/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'bed_confirm_delete' not found. 'bed_confirm_delete' is not a valid view function or pattern name. ERROR 2025-08-20 15:13:08,792 basehttp 66972 6127824896 "GET /en/inpatients/beds/1748/ HTTP/1.1" 500 175078 WARNING 2025-08-20 15:13:08,805 log 66972 6127824896 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:13:08,806 basehttp 66972 6127824896 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-20 15:13:24,125 log 66972 6127824896 Internal Server Error: /en/inpatients/beds/1748/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'ward_detail' not found. 'ward_detail' is not a valid view function or pattern name. ERROR 2025-08-20 15:13:24,126 basehttp 66972 6127824896 "GET /en/inpatients/beds/1748/ HTTP/1.1" 500 174467 WARNING 2025-08-20 15:13:24,142 log 66972 6127824896 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:13:24,142 basehttp 66972 6127824896 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:14:27,247 autoreload 66972 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/urls.py changed, reloading. INFO 2025-08-20 15:14:27,570 autoreload 68161 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 15:14:29,487 basehttp 68161 6156546048 "GET /en/inpatients/beds/1748/ HTTP/1.1" 200 31583 WARNING 2025-08-20 15:14:29,506 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:14:29,506 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:14:29,550 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:14:37,659 basehttp 68161 6156546048 "GET /en/inpatients/beds/1748/ HTTP/1.1" 200 31583 WARNING 2025-08-20 15:14:37,671 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:14:37,672 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:14:37,715 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 15:15:00,013 log 68161 6173372416 Not Found: /.well-known/appspecific/com.chrome.devtools.json INFO 2025-08-20 15:15:00,015 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 15:15:00,016 basehttp 68161 6173372416 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 15:15:00,025 log 68161 6173372416 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:15:00,025 basehttp 68161 6173372416 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:15:04,522 basehttp 68161 6173372416 "POST /en/inpatients/beds/1748/edit/ HTTP/1.1" 302 0 INFO 2025-08-20 15:15:04,540 basehttp 68161 6173372416 "GET /en/inpatients/beds/1748/ HTTP/1.1" 200 31969 WARNING 2025-08-20 15:15:04,561 log 68161 6173372416 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:15:04,561 basehttp 68161 6173372416 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:15:04,603 basehttp 68161 6173372416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:15:18,233 basehttp 68161 6173372416 "GET /en/inpatients/beds/1748/ HTTP/1.1" 200 31583 WARNING 2025-08-20 15:15:18,247 log 68161 6173372416 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:15:18,247 basehttp 68161 6173372416 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:15:18,296 basehttp 68161 6173372416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:15:23,228 basehttp 68161 6173372416 "GET /en/inpatients/beds/1748/ HTTP/1.1" 200 31583 WARNING 2025-08-20 15:15:23,245 log 68161 6173372416 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:15:23,246 basehttp 68161 6173372416 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:15:23,289 basehttp 68161 6173372416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 15:15:25,635 log 68161 6173372416 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:15:25,635 basehttp 68161 6173372416 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 15:15:25,643 log 68161 6173372416 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:15:25,643 basehttp 68161 6173372416 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 15:15:26,841 log 68161 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:15:26,842 basehttp 68161 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:15:26,844 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 15:15:26,857 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:15:26,858 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:15:26,887 basehttp 68161 6173372416 "GET /en/inpatients/beds/?page=1 HTTP/1.1" 200 915647 INFO 2025-08-20 15:15:28,341 basehttp 68161 6173372416 "GET /en/inpatients/beds/?page=1 HTTP/1.1" 200 915647 WARNING 2025-08-20 15:15:28,356 log 68161 6173372416 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:15:28,357 basehttp 68161 6173372416 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:15:28,442 basehttp 68161 6173372416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:15:28,500 basehttp 68161 6173372416 "GET /en/inpatients/beds/?page=1 HTTP/1.1" 200 915647 INFO 2025-08-20 15:15:34,053 basehttp 68161 6173372416 "GET /en/inpatients/beds/?page=1&bed_id=1733 HTTP/1.1" 200 915647 INFO 2025-08-20 15:15:58,528 basehttp 68161 6173372416 "GET /en/inpatients/beds/?page=1 HTTP/1.1" 200 915647 INFO 2025-08-20 15:16:28,476 basehttp 68161 6173372416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:16:28,572 basehttp 68161 6156546048 "GET /en/inpatients/beds/?page=1 HTTP/1.1" 200 915647 INFO 2025-08-20 15:16:38,189 basehttp 68161 6156546048 "GET /en/inpatients/beds/?page=1 HTTP/1.1" 200 915097 WARNING 2025-08-20 15:16:38,204 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:16:38,204 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:16:38,288 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:16:38,355 basehttp 68161 6156546048 "GET /en/inpatients/beds/?page=1 HTTP/1.1" 200 915097 INFO 2025-08-20 15:16:42,644 basehttp 68161 6156546048 "GET /en/inpatients/beds/1733/ HTTP/1.1" 200 31582 WARNING 2025-08-20 15:16:42,667 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:16:42,667 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:16:42,703 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:16:51,866 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 915097 WARNING 2025-08-20 15:16:51,888 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:16:51,888 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:16:51,974 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:16:52,043 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 915097 INFO 2025-08-20 15:17:22,122 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 915097 INFO 2025-08-20 15:17:38,948 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2039086 WARNING 2025-08-20 15:17:38,966 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:17:38,966 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:17:39,081 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:17:39,186 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2039086 INFO 2025-08-20 15:17:52,756 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2042722 WARNING 2025-08-20 15:17:52,782 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:17:52,782 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:17:52,896 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:17:53,014 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2042722 INFO 2025-08-20 15:18:22,999 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2042722 INFO 2025-08-20 15:18:52,899 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:18:52,996 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2042722 INFO 2025-08-20 15:19:23,020 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2042722 INFO 2025-08-20 15:19:25,089 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2046690 WARNING 2025-08-20 15:19:25,110 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:19:25,110 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:19:25,228 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:19:25,340 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2046690 INFO 2025-08-20 15:19:33,974 basehttp 68161 6156546048 "GET /en/inpatients/beds/1881/ HTTP/1.1" 200 31588 WARNING 2025-08-20 15:19:33,995 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:19:33,995 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:19:34,039 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 15:19:35,760 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:19:35,760 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 15:19:35,792 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:19:35,792 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:19:55,338 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2046690 INFO 2025-08-20 15:20:25,235 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:20:25,351 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2046690 INFO 2025-08-20 15:20:55,343 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2046690 INFO 2025-08-20 15:21:03,348 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102442 WARNING 2025-08-20 15:21:03,366 log 68161 6173372416 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:21:03,366 basehttp 68161 6173372416 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:21:03,506 basehttp 68161 6173372416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:21:03,639 basehttp 68161 6173372416 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102442 INFO 2025-08-20 15:21:20,798 basehttp 68161 6173372416 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102846 WARNING 2025-08-20 15:21:20,816 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:21:20,816 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:21:20,935 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:21:21,061 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102846 INFO 2025-08-20 15:21:47,501 basehttp 68161 6156546048 "GET /en/inpatients/beds/1626/ HTTP/1.1" 200 31577 WARNING 2025-08-20 15:21:47,523 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:21:47,523 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:21:47,562 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:22:06,928 basehttp 68161 6156546048 "GET /en/inpatients/beds/1626/ HTTP/1.1" 200 31627 WARNING 2025-08-20 15:22:06,943 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:22:06,943 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:22:06,988 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 15:22:22,301 log 68161 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:22:22,301 basehttp 68161 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:22:22,312 basehttp 68161 6173372416 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 15:22:22,314 log 68161 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:22:22,315 basehttp 68161 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:22:22,366 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102846 WARNING 2025-08-20 15:22:45,866 log 68161 6156546048 Method Not Allowed (POST): /en/inpatients/beds/ WARNING 2025-08-20 15:22:45,866 basehttp 68161 6156546048 "POST /en/inpatients/beds/ HTTP/1.1" 405 0 INFO 2025-08-20 15:22:51,051 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102846 WARNING 2025-08-20 15:22:55,000 log 68161 6156546048 Method Not Allowed (POST): /en/inpatients/beds/ WARNING 2025-08-20 15:22:55,000 basehttp 68161 6156546048 "POST /en/inpatients/beds/ HTTP/1.1" 405 0 INFO 2025-08-20 15:23:21,071 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102846 INFO 2025-08-20 15:23:22,280 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:23:51,072 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102846 INFO 2025-08-20 15:24:21,070 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102846 INFO 2025-08-20 15:24:22,282 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:24:51,046 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102846 INFO 2025-08-20 15:24:56,129 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2103654 WARNING 2025-08-20 15:24:56,145 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:24:56,145 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:24:56,265 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:24:56,392 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2103654 INFO 2025-08-20 15:24:58,290 basehttp 68161 6156546048 "GET /en/inpatients/beds/1627/edit/ HTTP/1.1" 200 35203 WARNING 2025-08-20 15:24:58,314 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:24:58,314 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:24:58,336 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 15:25:02,924 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:25:02,924 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 15:25:02,933 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:25:02,933 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:25:26,413 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2103654 INFO 2025-08-20 15:25:56,279 basehttp 68161 6156546048 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:25:56,399 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2103654 ERROR 2025-08-20 15:26:08,359 log 68161 6156546048 Internal Server Error: /en/inpatients/beds/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'admission_create' with arguments '(1626,)' not found. 1 pattern(s) tried: ['en/inpatients/admissions/create/\\Z'] ERROR 2025-08-20 15:26:08,361 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 500 301751 WARNING 2025-08-20 15:26:08,376 log 68161 6156546048 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:26:08,376 basehttp 68161 6156546048 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:26:43,592 basehttp 68161 6156546048 "GET /en/inpatients/beds/ HTTP/1.1" 200 2103585 WARNING 2025-08-20 15:26:43,606 log 68161 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:26:43,606 basehttp 68161 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:26:43,743 basehttp 68161 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:26:43,883 basehttp 68161 13438578688 "GET /en/inpatients/beds/ HTTP/1.1" 200 2103585 INFO 2025-08-20 15:26:47,232 basehttp 68161 13438578688 "GET /en/inpatients/admissions/create/ HTTP/1.1" 200 51178 WARNING 2025-08-20 15:26:47,255 log 68161 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:26:47,255 basehttp 68161 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:26:47,297 basehttp 68161 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 15:27:04,328 log 68161 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:27:04,328 basehttp 68161 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 15:27:04,339 log 68161 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:27:04,339 basehttp 68161 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:27:13,883 basehttp 68161 13438578688 "GET /en/inpatients/beds/ HTTP/1.1" 200 2103585 INFO 2025-08-20 15:27:43,755 basehttp 68161 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:27:43,860 basehttp 68161 13438578688 "GET /en/inpatients/beds/ HTTP/1.1" 200 2103585 INFO 2025-08-20 15:28:13,885 basehttp 68161 13438578688 "GET /en/inpatients/beds/ HTTP/1.1" 200 2103585 INFO 2025-08-20 15:28:43,766 basehttp 68161 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:28:43,891 basehttp 68161 13438578688 "GET /en/inpatients/beds/ HTTP/1.1" 200 2103585 INFO 2025-08-20 15:28:51,461 basehttp 68161 13438578688 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 WARNING 2025-08-20 15:28:51,481 log 68161 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:28:51,481 basehttp 68161 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:28:51,617 basehttp 68161 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:28:51,737 basehttp 68161 13438578688 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 WARNING 2025-08-20 15:28:56,652 log 68161 13438578688 Method Not Allowed (POST): /en/inpatients/beds/ WARNING 2025-08-20 15:28:56,652 basehttp 68161 13438578688 "POST /en/inpatients/beds/ HTTP/1.1" 405 0 INFO 2025-08-20 15:29:06,056 basehttp 68161 13438578688 "GET /en/inpatients/beds/1635/maintenance/ HTTP/1.1" 302 0 INFO 2025-08-20 15:29:06,074 basehttp 68161 13438578688 "GET /en/inpatients/beds/1635/ HTTP/1.1" 200 32043 WARNING 2025-08-20 15:29:06,097 log 68161 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:29:06,097 basehttp 68161 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:29:06,138 basehttp 68161 13438578688 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 15:29:19,475 log 68161 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:29:19,475 basehttp 68161 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 15:29:19,485 log 68161 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:29:19,486 basehttp 68161 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:29:21,757 basehttp 68161 13438578688 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 ERROR 2025-08-20 15:29:23,178 log 68161 13438578688 Internal Server Error: /en/inpatients/beds/1612/maintenance/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 1359, in maintenance_bed return render(request, 'inpatients/maintenance_bed.html', { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/shortcuts.py", line 25, in render content = loader.render_to_string(template_name, context, request, using=using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 61, in render_to_string template = get_template(template_name, using=using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 19, in get_template raise TemplateDoesNotExist(template_name, chain=chain) django.template.exceptions.TemplateDoesNotExist: inpatients/maintenance_bed.html ERROR 2025-08-20 15:29:23,180 basehttp 68161 13438578688 "GET /en/inpatients/beds/1612/maintenance/ HTTP/1.1" 500 89953 WARNING 2025-08-20 15:29:23,199 log 68161 13438578688 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:29:23,200 basehttp 68161 13438578688 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:31:28,466 autoreload 68161 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 15:31:28,798 autoreload 75687 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 15:49:22,380 basehttp 75687 6194688000 "GET /en/inpatients/beds/1612/maintenance/ HTTP/1.1" 200 34313 WARNING 2025-08-20 15:49:22,400 log 75687 6194688000 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 15:49:22,400 basehttp 75687 6194688000 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 15:49:22,470 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:50:22,460 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:51:22,463 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 15:52:22,467 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4635 INFO 2025-08-20 15:53:22,474 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 15:54:22,476 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 15:55:22,481 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 15:56:22,488 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 15:57:22,493 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 15:58:22,496 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 15:59:22,503 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 16:00:22,498 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 16:01:24,412 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 16:02:57,407 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 16:04:57,434 basehttp 75687 6194688000 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 16:47:09,802 autoreload 9194 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 16:47:11,844 basehttp 9194 13304360960 "GET /en/inpatients/beds/1612/maintenance/ HTTP/1.1" 200 34313 INFO 2025-08-20 16:47:11,936 basehttp 9194 13304360960 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 16:47:12,078 log 9194 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:47:12,079 basehttp 9194 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 16:47:12,645 log 9194 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:47:12,646 basehttp 9194 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:47:12,945 basehttp 9194 13304360960 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:47:13,420 basehttp 9194 13304360960 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 WARNING 2025-08-20 16:47:13,437 log 9194 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:47:13,437 basehttp 9194 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:47:13,550 basehttp 9194 13304360960 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 16:47:13,668 basehttp 9194 13304360960 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:47:16,645 basehttp 9194 13304360960 "GET /en/inpatients/admissions/create/ HTTP/1.1" 200 51178 WARNING 2025-08-20 16:47:16,665 log 9194 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:47:16,666 basehttp 9194 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:47:16,703 basehttp 9194 13304360960 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 16:47:19,791 basehttp 9194 13304360960 "POST /en/inpatients/admissions/create/ HTTP/1.1" 200 52277 WARNING 2025-08-20 16:47:19,807 log 9194 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:47:19,807 basehttp 9194 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:47:19,853 basehttp 9194 13304360960 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 16:47:31,350 basehttp 9194 13304360960 "GET /en/inpatients/admissions/create/ HTTP/1.1" 200 51178 WARNING 2025-08-20 16:47:31,366 log 9194 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:47:31,367 basehttp 9194 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 16:47:32,135 log 9194 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:47:32,135 basehttp 9194 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 16:47:32,146 log 9194 13304360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:47:32,147 basehttp 9194 13304360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:47:43,681 basehttp 9194 13304360960 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:48:13,552 basehttp 9194 13304360960 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 16:48:13,667 basehttp 9194 13304360960 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:48:43,696 basehttp 9194 13304360960 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:49:13,567 basehttp 9194 13304360960 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 16:49:13,671 basehttp 9194 13304360960 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:49:43,718 basehttp 9194 13304360960 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:50:13,611 basehttp 9194 13304360960 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 16:50:13,711 basehttp 9194 13304360960 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:50:43,736 basehttp 9194 13304360960 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:51:13,607 basehttp 9194 13304360960 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 16:51:13,709 basehttp 9194 13304360960 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:51:43,709 basehttp 9194 13304360960 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:52:13,619 basehttp 9194 13304360960 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4635 INFO 2025-08-20 16:52:13,719 basehttp 9194 13304360960 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:52:43,742 basehttp 9194 13304360960 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:53:06,024 autoreload 9194 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 16:53:06,370 autoreload 11785 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 16:53:07,376 basehttp 11785 6135558144 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 WARNING 2025-08-20 16:53:07,389 log 11785 6152384512 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:53:07,389 basehttp 11785 6152384512 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:53:07,531 basehttp 11785 6152384512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4635 INFO 2025-08-20 16:53:07,666 basehttp 11785 6152384512 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:53:23,201 basehttp 11785 6152384512 "GET /en/inpatients/discharge/323/ HTTP/1.1" 302 0 INFO 2025-08-20 16:53:23,221 basehttp 11785 6152384512 "GET /en/inpatients/admissions/323/ HTTP/1.1" 200 26837 WARNING 2025-08-20 16:53:23,241 log 11785 6152384512 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:53:23,241 basehttp 11785 6152384512 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:53:23,284 basehttp 11785 6152384512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 WARNING 2025-08-20 16:53:33,927 log 11785 6152384512 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:53:33,927 basehttp 11785 6152384512 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 16:53:33,940 log 11785 6152384512 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:53:33,940 basehttp 11785 6152384512 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:53:37,676 basehttp 11785 6152384512 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:53:57,904 basehttp 11785 6152384512 "GET /en/inpatients/beds/1749/edit/ HTTP/1.1" 200 35207 WARNING 2025-08-20 16:53:57,919 log 11785 6152384512 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:53:57,919 basehttp 11785 6152384512 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:53:57,992 basehttp 11785 6152384512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 WARNING 2025-08-20 16:54:15,792 log 11785 6169210880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:54:15,792 basehttp 11785 6169210880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:54:15,805 basehttp 11785 6152384512 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 WARNING 2025-08-20 16:54:15,810 log 11785 6169210880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:54:15,811 basehttp 11785 6169210880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:54:15,866 basehttp 11785 6135558144 "GET /en/inpatients/beds/ HTTP/1.1" 200 2102777 INFO 2025-08-20 16:54:26,554 basehttp 11785 6135558144 "GET /en/inpatients/beds/1758/ HTTP/1.1" 200 31628 WARNING 2025-08-20 16:54:26,569 log 11785 6135558144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:54:26,569 basehttp 11785 6135558144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:54:26,619 basehttp 11785 6135558144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 16:54:43,697 basehttp 11785 6135558144 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 144331 INFO 2025-08-20 16:54:43,716 basehttp 11785 6152384512 "GET /static/admin/js/theme.js HTTP/1.1" 200 1653 INFO 2025-08-20 16:54:43,716 basehttp 11785 6169210880 "GET /static/admin/css/dark_mode.css HTTP/1.1" 200 2808 INFO 2025-08-20 16:54:43,717 basehttp 11785 13723840512 "GET /static/admin/css/changelists.css HTTP/1.1" 200 6878 INFO 2025-08-20 16:54:43,717 basehttp 11785 13707014144 "GET /static/admin/css/nav_sidebar.css HTTP/1.1" 200 2810 INFO 2025-08-20 16:54:43,718 basehttp 11785 6135558144 "GET /static/admin/css/base.css HTTP/1.1" 200 22120 INFO 2025-08-20 16:54:43,719 basehttp 11785 13707014144 "GET /static/admin/js/core.js HTTP/1.1" 200 6208 INFO 2025-08-20 16:54:43,719 basehttp 11785 6152384512 "GET /static/admin/css/responsive.css HTTP/1.1" 200 16565 INFO 2025-08-20 16:54:43,720 basehttp 11785 13723840512 "GET /static/admin/js/jquery.init.js HTTP/1.1" 200 347 INFO 2025-08-20 16:54:43,721 basehttp 11785 6135558144 "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 200 9777 INFO 2025-08-20 16:54:43,721 basehttp 11785 6152384512 "GET /static/admin/js/prepopulate.js HTTP/1.1" 200 1531 INFO 2025-08-20 16:54:43,722 basehttp 11785 13707014144 "GET /static/admin/js/urlify.js HTTP/1.1" 200 7887 INFO 2025-08-20 16:54:43,723 basehttp 11785 13723840512 "GET /static/admin/js/actions.js HTTP/1.1" 200 8076 INFO 2025-08-20 16:54:43,724 basehttp 11785 6152384512 "GET /static/admin/img/search.svg HTTP/1.1" 200 458 INFO 2025-08-20 16:54:43,725 basehttp 11785 13740666880 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 16:54:43,725 basehttp 11785 6169210880 "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 200 285314 INFO 2025-08-20 16:54:43,726 basehttp 11785 6169210880 "GET /static/admin/js/nav_sidebar.js HTTP/1.1" 200 3063 INFO 2025-08-20 16:54:43,726 basehttp 11785 6135558144 "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 200 325171 INFO 2025-08-20 16:54:43,729 basehttp 11785 6135558144 "GET /static/admin/js/filters.js HTTP/1.1" 200 978 INFO 2025-08-20 16:54:43,736 basehttp 11785 6135558144 "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 200 331 INFO 2025-08-20 16:54:43,737 basehttp 11785 13740666880 "GET /static/admin/img/sorting-icons.svg HTTP/1.1" 200 1097 INFO 2025-08-20 16:54:43,737 basehttp 11785 6169210880 "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 200 331 INFO 2025-08-20 16:54:43,737 basehttp 11785 6169210880 "GET /static/admin/img/icon-viewlink.svg HTTP/1.1" 200 581 INFO 2025-08-20 16:54:45,940 basehttp 11785 6169210880 "GET /en/admin/inpatients/bed/1605/change/ HTTP/1.1" 200 115703 INFO 2025-08-20 16:54:45,953 basehttp 11785 13723840512 "GET /static/admin/js/prepopulate_init.js HTTP/1.1" 200 586 INFO 2025-08-20 16:54:45,953 basehttp 11785 6169210880 "GET /static/admin/css/forms.css HTTP/1.1" 200 8525 INFO 2025-08-20 16:54:45,954 basehttp 11785 6135558144 "GET /static/admin/js/calendar.js HTTP/1.1" 200 9141 INFO 2025-08-20 16:54:45,954 basehttp 11785 6152384512 "GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 200 19319 INFO 2025-08-20 16:54:45,955 basehttp 11785 6135558144 "GET /static/admin/css/widgets.css HTTP/1.1" 200 11991 INFO 2025-08-20 16:54:45,955 basehttp 11785 6169210880 "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 200 380 INFO 2025-08-20 16:54:45,956 basehttp 11785 6169210880 "GET /static/admin/img/icon-deletelink.svg HTTP/1.1" 200 392 INFO 2025-08-20 16:54:45,957 basehttp 11785 13740666880 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 16:54:45,958 basehttp 11785 6169210880 "GET /static/admin/js/change_form.js HTTP/1.1" 200 606 INFO 2025-08-20 16:54:45,984 basehttp 11785 6169210880 "GET /static/admin/img/icon-calendar.svg HTTP/1.1" 200 1086 INFO 2025-08-20 16:54:45,984 basehttp 11785 13740666880 "GET /static/admin/img/icon-clock.svg HTTP/1.1" 200 677 INFO 2025-08-20 16:54:49,759 basehttp 11785 13740666880 "GET /en/admin/inpatients/bed/1758/change/ HTTP/1.1" 200 115780 INFO 2025-08-20 16:54:49,777 basehttp 11785 13740666880 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 ERROR 2025-08-20 16:55:12,325 log 11785 13740666880 Internal Server Error: /en/admin/inpatients/admission/add/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 683, in get_field return self.fields_map[field_name] ~~~~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'length_of_stay' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 290, in lookup_field f = _get_non_gfk_field(opts, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 330, in _get_non_gfk_field field = opts.get_field(name) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/options.py", line 685, in get_field raise FieldDoesNotExist( django.core.exceptions.FieldDoesNotExist: Admission has no field named 'length_of_stay' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 210, in render return template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 173, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1075, in render output = self.filter_expression.resolve(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 722, in resolve obj = self.var.resolve(context) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 854, in resolve value = self._resolve_lookup(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 925, in _resolve_lookup current = current() ^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/helpers.py", line 275, in contents f, attr, value = lookup_field(field, obj, model_admin) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/admin/utils.py", line 302, in lookup_field attr = getattr(obj, name, sentinel) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/models.py", line 832, in length_of_stay return (end_time - self.admission_datetime).days ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'NoneType' ERROR 2025-08-20 16:55:12,328 basehttp 11785 13740666880 "GET /en/admin/inpatients/admission/add/?_to_field=id&_popup=1 HTTP/1.1" 500 597924 INFO 2025-08-20 16:55:27,416 basehttp 11785 13740666880 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 16:55:49,897 basehttp 11785 13740666880 "POST /en/admin/inpatients/bed/1758/change/ HTTP/1.1" 302 0 INFO 2025-08-20 16:55:49,943 basehttp 11785 13740666880 "GET /en/admin/inpatients/bed/ HTTP/1.1" 200 144570 INFO 2025-08-20 16:55:49,960 basehttp 11785 13740666880 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 16:55:49,969 basehttp 11785 13740666880 "GET /static/admin/img/icon-yes.svg HTTP/1.1" 200 436 INFO 2025-08-20 16:55:56,366 basehttp 11785 13740666880 "GET /en/inpatients/beds/1758/ HTTP/1.1" 200 33423 WARNING 2025-08-20 16:55:56,378 log 11785 13740666880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:55:56,378 basehttp 11785 13740666880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:55:56,419 basehttp 11785 13740666880 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 16:56:01,672 basehttp 11785 13740666880 "GET /en/inpatients/admissions/335/ HTTP/1.1" 200 23994 WARNING 2025-08-20 16:56:02,081 log 11785 13740666880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:56:02,081 basehttp 11785 13740666880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:56:02,121 basehttp 11785 13740666880 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 WARNING 2025-08-20 16:56:11,420 log 11785 13740666880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:56:11,420 basehttp 11785 13740666880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 16:56:11,429 log 11785 13740666880 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:56:11,429 basehttp 11785 13740666880 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 16:56:16,361 log 11785 6135558144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:56:16,362 basehttp 11785 6135558144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:56:16,375 basehttp 11785 6169210880 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 WARNING 2025-08-20 16:56:16,377 log 11785 6135558144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:56:16,377 basehttp 11785 6135558144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:56:16,431 basehttp 11785 13740666880 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 16:56:17,273 basehttp 11785 13740666880 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 WARNING 2025-08-20 16:56:17,291 log 11785 6135558144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:56:17,291 basehttp 11785 6135558144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:56:17,420 basehttp 11785 6135558144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 16:56:17,540 basehttp 11785 6135558144 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 16:56:24,177 basehttp 11785 6135558144 "GET /en/inpatients/discharge/335/ HTTP/1.1" 302 0 INFO 2025-08-20 16:56:24,192 basehttp 11785 6135558144 "GET /en/inpatients/admissions/335/ HTTP/1.1" 200 24426 WARNING 2025-08-20 16:56:24,215 log 11785 6135558144 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:56:24,215 basehttp 11785 6135558144 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:56:24,250 basehttp 11785 6135558144 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 16:57:01,978 autoreload 11785 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 16:57:02,327 autoreload 13576 8601149632 Watching for file changes with StatReloader WARNING 2025-08-20 16:57:04,218 log 13576 6207795200 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:57:04,218 basehttp 13576 6207795200 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 16:57:04,229 log 13576 6207795200 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:57:04,229 basehttp 13576 6207795200 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:57:04,325 basehttp 13576 6190968832 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 16:57:04,908 basehttp 13576 6190968832 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 WARNING 2025-08-20 16:57:04,924 log 13576 6207795200 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:57:04,924 basehttp 13576 6207795200 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:57:05,046 basehttp 13576 6207795200 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 16:57:05,165 basehttp 13576 6207795200 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 16:57:10,436 basehttp 13576 6207795200 "GET /en/inpatients/discharge/335/ HTTP/1.1" 302 0 INFO 2025-08-20 16:57:10,482 basehttp 13576 6207795200 "GET /en/inpatients/admissions/335/ HTTP/1.1" 200 24426 WARNING 2025-08-20 16:57:10,505 log 13576 6207795200 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:57:10,505 basehttp 13576 6207795200 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:57:10,545 basehttp 13576 6207795200 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 16:57:32,672 autoreload 13576 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 16:57:33,012 autoreload 13813 8601149632 Watching for file changes with StatReloader WARNING 2025-08-20 16:57:34,512 log 13813 6157840384 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:57:34,512 basehttp 13813 6157840384 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 16:57:34,529 log 13813 6157840384 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:57:34,529 basehttp 13813 6157840384 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:57:35,208 basehttp 13813 6157840384 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 WARNING 2025-08-20 16:57:35,219 log 13813 6191493120 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:57:35,219 basehttp 13813 6191493120 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:57:35,270 basehttp 13813 6174666752 - Broken pipe from ('127.0.0.1', 49970) INFO 2025-08-20 16:57:35,334 basehttp 13813 6191493120 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 16:57:35,446 basehttp 13813 6191493120 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 ERROR 2025-08-20 16:57:41,650 log 13813 6191493120 Internal Server Error: /en/inpatients/discharge/335/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 2174, in discharge_patient summary_form = DischargeSummaryForm( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py", line 324, in __init__ super().__init__(*args, **kwargs) TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'admission' ERROR 2025-08-20 16:57:41,651 basehttp 13813 6191493120 "GET /en/inpatients/discharge/335/ HTTP/1.1" 500 78475 WARNING 2025-08-20 16:57:41,673 log 13813 6191493120 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:57:41,673 basehttp 13813 6191493120 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:59:08,966 autoreload 13813 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py changed, reloading. INFO 2025-08-20 16:59:09,283 autoreload 14519 8601149632 Watching for file changes with StatReloader WARNING 2025-08-20 16:59:13,296 log 14519 6189281280 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:59:13,296 basehttp 14519 6189281280 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:59:13,342 basehttp 14519 6172454912 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 WARNING 2025-08-20 16:59:13,345 log 14519 6189281280 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:59:13,346 basehttp 14519 6189281280 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:59:13,399 basehttp 14519 6155628544 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 16:59:13,792 basehttp 14519 6155628544 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 WARNING 2025-08-20 16:59:13,803 log 14519 6189281280 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:59:13,803 basehttp 14519 6189281280 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 16:59:13,944 basehttp 14519 6189281280 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 16:59:14,071 basehttp 14519 6189281280 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 ERROR 2025-08-20 16:59:22,004 log 14519 6189281280 Internal Server Error: /en/inpatients/discharge/335/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 2174, in discharge_patient summary_form = DischargeSummaryForm( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py", line 324, in __init__ super().__init__(*args, **kwargs) TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'admission' ERROR 2025-08-20 16:59:22,006 basehttp 14519 6189281280 "GET /en/inpatients/discharge/335/ HTTP/1.1" 500 78436 WARNING 2025-08-20 16:59:22,028 log 14519 6189281280 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 16:59:22,028 basehttp 14519 6189281280 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:00:59,517 autoreload 14519 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 17:00:59,869 autoreload 15292 8601149632 Watching for file changes with StatReloader WARNING 2025-08-20 17:01:00,675 log 15292 6203207680 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:01:00,675 basehttp 15292 6203207680 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 17:01:00,683 log 15292 6203207680 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:01:00,684 basehttp 15292 6203207680 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:01:00,720 basehttp 15292 6186381312 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 17:01:00,777 basehttp 15292 6169554944 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 17:01:01,241 basehttp 15292 6169554944 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 WARNING 2025-08-20 17:01:01,253 log 15292 6186381312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:01:01,253 basehttp 15292 6186381312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:01:01,375 basehttp 15292 6186381312 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 17:01:01,494 basehttp 15292 6186381312 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 17:01:06,096 basehttp 15292 6186381312 "GET /en/inpatients/discharge/335/ HTTP/1.1" 302 0 INFO 2025-08-20 17:01:06,115 basehttp 15292 6186381312 "GET /en/inpatients/admissions/335/ HTTP/1.1" 200 24426 WARNING 2025-08-20 17:01:06,407 log 15292 6186381312 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:01:06,407 basehttp 15292 6186381312 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:01:06,446 basehttp 15292 6186381312 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 17:02:06,463 basehttp 15292 6186381312 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 17:02:22,072 autoreload 15292 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 17:02:22,445 autoreload 15910 8601149632 Watching for file changes with StatReloader WARNING 2025-08-20 17:02:22,957 log 15910 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:02:22,957 basehttp 15910 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:02:22,999 basehttp 15910 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 17:02:23,002 log 15910 13052751872 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:02:23,004 basehttp 15910 13052751872 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:02:23,006 basehttp 15910 13052751872 - Broken pipe from ('127.0.0.1', 51204) INFO 2025-08-20 17:02:23,059 basehttp 15910 6159806464 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 17:02:23,614 basehttp 15910 6159806464 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 WARNING 2025-08-20 17:02:23,628 log 15910 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:02:23,628 basehttp 15910 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:02:23,765 basehttp 15910 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 17:02:23,915 basehttp 15910 13035925504 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 17:02:28,871 basehttp 15910 13035925504 "GET /en/inpatients/discharge/335/ HTTP/1.1" 302 0 INFO 2025-08-20 17:02:28,889 basehttp 15910 13035925504 "GET /en/inpatients/admissions/335/ HTTP/1.1" 200 24426 WARNING 2025-08-20 17:02:28,910 log 15910 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:02:28,911 basehttp 15910 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:02:28,947 basehttp 15910 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 17:03:26,955 autoreload 15910 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 17:03:27,294 autoreload 16385 8601149632 Watching for file changes with StatReloader WARNING 2025-08-20 17:03:28,403 log 16385 6375518208 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:03:28,404 basehttp 16385 6375518208 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 17:03:28,413 log 16385 6375518208 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:03:28,413 basehttp 16385 6375518208 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:03:28,449 basehttp 16385 6358691840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 17:03:28,508 basehttp 16385 6341865472 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 17:03:28,960 basehttp 16385 6341865472 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 WARNING 2025-08-20 17:03:28,970 log 16385 6358691840 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:03:28,970 basehttp 16385 6358691840 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:03:29,105 basehttp 16385 6358691840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 17:03:29,234 basehttp 16385 6358691840 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 ERROR 2025-08-20 17:03:34,886 log 16385 6358691840 Internal Server Error: /en/inpatients/discharge/335/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 2142, in discharge_patient print(admission.status.first) ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'first' ERROR 2025-08-20 17:03:34,887 basehttp 16385 6358691840 "GET /en/inpatients/discharge/335/ HTTP/1.1" 500 72822 WARNING 2025-08-20 17:03:34,908 log 16385 6358691840 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:03:34,909 basehttp 16385 6358691840 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:04:02,773 autoreload 16385 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 17:04:03,119 autoreload 16717 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 17:04:37,518 basehttp 16717 6160756736 "GET /en/admin/inpatients/bed/?o=6.2 HTTP/1.1" 200 148158 INFO 2025-08-20 17:04:37,536 basehttp 16717 6160756736 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 17:04:38,787 basehttp 16717 6160756736 "GET /en/admin/inpatients/bed/?o=-6.2 HTTP/1.1" 200 148419 INFO 2025-08-20 17:04:38,801 basehttp 16717 6160756736 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 17:04:43,538 basehttp 16717 6160756736 "GET /en/admin/inpatients/bed/1758/change/?_changelist_filters=o%3D-6.2 HTTP/1.1" 200 115876 INFO 2025-08-20 17:04:43,556 basehttp 16717 6160756736 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 17:05:04,024 basehttp 16717 6160756736 "GET /en/admin/inpatients/admission/ HTTP/1.1" 200 139052 INFO 2025-08-20 17:05:04,044 basehttp 16717 6160756736 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 17:05:21,203 basehttp 16717 6160756736 "GET /en/admin/inpatients/admission/?o=1.-2 HTTP/1.1" 200 142535 INFO 2025-08-20 17:05:21,215 basehttp 16717 6160756736 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 17:05:25,669 basehttp 16717 6160756736 "GET /en/admin/inpatients/admission/335/change/?_changelist_filters=o%3D1.-2 HTTP/1.1" 200 161502 INFO 2025-08-20 17:05:25,685 basehttp 16717 6177583104 "GET /static/admin/js/SelectBox.js HTTP/1.1" 200 4530 INFO 2025-08-20 17:05:25,685 basehttp 16717 6194409472 "GET /static/admin/js/SelectFilter2.js HTTP/1.1" 200 15845 INFO 2025-08-20 17:05:25,686 basehttp 16717 6160756736 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 17:05:25,706 basehttp 16717 6160756736 "GET /static/admin/img/selector-icons.svg HTTP/1.1" 200 3291 INFO 2025-08-20 17:05:41,398 basehttp 16717 6160756736 "POST /en/admin/inpatients/admission/335/change/?_changelist_filters=o%3D1.-2 HTTP/1.1" 302 0 INFO 2025-08-20 17:05:41,473 basehttp 16717 6160756736 "GET /en/admin/inpatients/admission/?o=1.-2 HTTP/1.1" 200 142762 INFO 2025-08-20 17:05:41,488 basehttp 16717 6160756736 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 ERROR 2025-08-20 17:05:45,278 log 16717 6160756736 Internal Server Error: /en/inpatients/discharge/335/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 2174, in discharge_patient summary_form = DischargeSummaryForm( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py", line 324, in __init__ super().__init__(*args, **kwargs) TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'admission' ERROR 2025-08-20 17:05:45,279 basehttp 16717 6160756736 "GET /en/inpatients/discharge/335/ HTTP/1.1" 500 78573 WARNING 2025-08-20 17:05:45,290 log 16717 6160756736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:05:45,291 basehttp 16717 6160756736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 17:05:47,471 log 16717 6177583104 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:05:47,472 basehttp 16717 6177583104 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:05:47,506 basehttp 16717 6194409472 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 17:05:47,508 log 16717 6177583104 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:05:47,509 basehttp 16717 6177583104 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:05:47,562 basehttp 16717 6160756736 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 17:05:48,243 basehttp 16717 6160756736 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 WARNING 2025-08-20 17:05:48,262 log 16717 6160756736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:05:48,262 basehttp 16717 6160756736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:05:48,396 basehttp 16717 6160756736 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 17:05:48,553 basehttp 16717 6160756736 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 ERROR 2025-08-20 17:05:53,708 log 16717 6160756736 Internal Server Error: /en/inpatients/discharge/335/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 2174, in discharge_patient summary_form = DischargeSummaryForm( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py", line 324, in __init__ super().__init__(*args, **kwargs) TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'admission' ERROR 2025-08-20 17:05:53,708 basehttp 16717 6160756736 "GET /en/inpatients/discharge/335/ HTTP/1.1" 500 78436 WARNING 2025-08-20 17:05:53,730 log 16717 6160756736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:05:53,730 basehttp 16717 6160756736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 17:06:58,269 basehttp 16717 6160756736 "GET /en/admin/inpatients/admission/?admission_datetime__month=8&admission_datetime__year=2025&o=1.-2 HTTP/1.1" 200 126305 INFO 2025-08-20 17:06:58,286 basehttp 16717 6160756736 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 17:07:11,741 basehttp 16717 6160756736 "GET /en/admin/inpatients/admission/335/change/?_changelist_filters=admission_datetime__month%3D8%26admission_datetime__year%3D2025%26o%3D1.-2 HTTP/1.1" 200 161699 INFO 2025-08-20 17:07:11,758 basehttp 16717 6160756736 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 INFO 2025-08-20 17:07:49,725 basehttp 16717 6160756736 "POST /en/admin/inpatients/admission/335/change/?_changelist_filters=admission_datetime__month%3D8%26admission_datetime__year%3D2025%26o%3D1.-2 HTTP/1.1" 302 0 INFO 2025-08-20 17:07:49,789 basehttp 16717 6160756736 "GET /en/admin/inpatients/admission/?admission_datetime__month=8&admission_datetime__year=2025&o=1.-2 HTTP/1.1" 200 126542 INFO 2025-08-20 17:07:49,803 basehttp 16717 6160756736 "GET /en/admin/jsi18n/ HTTP/1.1" 200 3342 ERROR 2025-08-20 17:07:54,800 log 16717 6160756736 Internal Server Error: /en/inpatients/discharge/335/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 2174, in discharge_patient summary_form = DischargeSummaryForm( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py", line 324, in __init__ super().__init__(*args, **kwargs) TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'admission' ERROR 2025-08-20 17:07:54,801 basehttp 16717 6160756736 "GET /en/inpatients/discharge/335/ HTTP/1.1" 500 78573 WARNING 2025-08-20 17:07:54,814 log 16717 6160756736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:07:54,814 basehttp 16717 6160756736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-20 17:41:48,232 log 16717 6160756736 Internal Server Error: /en/inpatients/discharge/335/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 2174, in discharge_patient summary_form = DischargeSummaryForm( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py", line 324, in __init__ super().__init__(*args, **kwargs) TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'admission' ERROR 2025-08-20 17:41:48,233 basehttp 16717 6160756736 "GET /en/inpatients/discharge/335/ HTTP/1.1" 500 78573 WARNING 2025-08-20 17:41:48,247 log 16717 6160756736 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 17:41:48,247 basehttp 16717 6160756736 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:05:13,191 autoreload 16717 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py changed, reloading. INFO 2025-08-20 18:05:13,513 autoreload 43280 8601149632 Watching for file changes with StatReloader ERROR 2025-08-20 18:05:15,770 log 43280 6164377600 Internal Server Error: /en/inpatients/discharge/335/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 2174, in discharge_patient summary_form = DischargeSummaryForm( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py", line 324, in __init__ super().__init__(*args, **kwargs) TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'admission' ERROR 2025-08-20 18:05:15,771 basehttp 43280 6164377600 "GET /en/inpatients/discharge/335/ HTTP/1.1" 500 78573 WARNING 2025-08-20 18:05:15,784 log 43280 6164377600 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:05:15,784 basehttp 43280 6164377600 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:05:33,397 autoreload 43280 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py changed, reloading. INFO 2025-08-20 18:05:33,713 autoreload 43448 8601149632 Watching for file changes with StatReloader ERROR 2025-08-20 18:05:35,853 log 43448 6127038464 Internal Server Error: /en/inpatients/discharge/335/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 2174, in discharge_patient summary_form = DischargeSummaryForm( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py", line 324, in __init__ super().__init__(*args, **kwargs) TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'admission' ERROR 2025-08-20 18:05:35,855 basehttp 43448 6127038464 "GET /en/inpatients/discharge/335/ HTTP/1.1" 500 78581 WARNING 2025-08-20 18:05:35,868 log 43448 6127038464 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:05:35,868 basehttp 43448 6127038464 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:07:21,092 autoreload 43448 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py changed, reloading. INFO 2025-08-20 18:07:21,392 autoreload 44216 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 18:10:03,884 autoreload 44216 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py changed, reloading. INFO 2025-08-20 18:10:04,238 autoreload 45440 8601149632 Watching for file changes with StatReloader ERROR 2025-08-20 18:10:07,023 log 45440 6156267520 Internal Server Error: /en/inpatients/discharge/335/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 2174, in discharge_patient summary_form = DischargeSummaryForm( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py", line 324, in __init__ super().__init__(*args, **kwargs) TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'admission' ERROR 2025-08-20 18:10:07,024 basehttp 45440 6156267520 "GET /en/inpatients/discharge/335/ HTTP/1.1" 500 78583 WARNING 2025-08-20 18:10:07,037 log 45440 6156267520 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:10:07,037 basehttp 45440 6156267520 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:19:50,786 autoreload 45440 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py changed, reloading. INFO 2025-08-20 18:19:51,098 autoreload 49636 8601149632 Watching for file changes with StatReloader ERROR 2025-08-20 18:25:08,789 log 49636 6202781696 Internal Server Error: /en/inpatients/discharge/335/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 2174, in discharge_patient summary_form = DischargeSummaryForm( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py", line 324, in __init__ super().__init__(*args, **kwargs) TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'admission' ERROR 2025-08-20 18:25:08,790 basehttp 49636 6202781696 "GET /en/inpatients/discharge/335/ HTTP/1.1" 500 78573 WARNING 2025-08-20 18:25:08,801 log 49636 6202781696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:25:08,801 basehttp 49636 6202781696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 18:25:10,374 log 49636 6202781696 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:25:10,374 basehttp 49636 6202781696 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:25:10,728 basehttp 49636 6202781696 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 18:25:11,855 basehttp 49636 6202781696 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 WARNING 2025-08-20 18:25:11,870 log 49636 6219608064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:25:11,870 basehttp 49636 6219608064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:25:11,967 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:25:12,093 basehttp 49636 6219608064 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 18:25:25,768 basehttp 49636 6219608064 "GET /en/inpatients/discharge/323/ HTTP/1.1" 302 0 INFO 2025-08-20 18:25:25,788 basehttp 49636 6219608064 "GET /en/inpatients/admissions/323/ HTTP/1.1" 200 26837 WARNING 2025-08-20 18:25:25,808 log 49636 6219608064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:25:25,808 basehttp 49636 6219608064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:25:25,848 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 18:25:32,918 log 49636 6219608064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:25:32,918 basehttp 49636 6219608064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 18:25:32,931 log 49636 6219608064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:25:32,931 basehttp 49636 6219608064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:25:42,091 basehttp 49636 6219608064 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 18:26:11,970 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:26:12,094 basehttp 49636 6219608064 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 18:26:42,122 basehttp 49636 6219608064 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 18:27:11,974 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:27:12,101 basehttp 49636 6219608064 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 18:27:42,119 basehttp 49636 6219608064 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 18:28:11,982 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:28:12,101 basehttp 49636 6219608064 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104066 INFO 2025-08-20 18:28:34,764 basehttp 49636 6219608064 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 WARNING 2025-08-20 18:28:34,782 log 49636 6219608064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:28:34,783 basehttp 49636 6219608064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:28:34,918 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:28:35,036 basehttp 49636 6219608064 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 INFO 2025-08-20 18:28:39,933 basehttp 49636 6219608064 "GET /en/inpatients/beds/1705/maintenance/ HTTP/1.1" 200 34313 WARNING 2025-08-20 18:28:39,954 log 49636 6219608064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:28:39,954 basehttp 49636 6219608064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:28:39,975 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 18:28:42,327 log 49636 6219608064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:28:42,327 basehttp 49636 6219608064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 18:28:42,337 log 49636 6219608064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:28:42,337 basehttp 49636 6219608064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:28:43,693 basehttp 49636 6219608064 "GET /en/inpatients/admissions/create/ HTTP/1.1" 200 51178 WARNING 2025-08-20 18:28:43,706 log 49636 6219608064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:28:43,706 basehttp 49636 6219608064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:28:43,747 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:28:48,262 basehttp 49636 6219608064 "GET /en/inpatients/admissions/ HTTP/1.1" 200 160288 WARNING 2025-08-20 18:28:48,282 log 49636 6219608064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:28:48,283 basehttp 49636 6219608064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:28:48,324 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:29:00,224 basehttp 49636 6219608064 "GET /en/inpatients/admissions/393/ HTTP/1.1" 200 23806 WARNING 2025-08-20 18:29:00,242 log 49636 6219608064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:29:00,242 basehttp 49636 6219608064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:29:00,282 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 18:29:02,384 log 49636 6219608064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:29:02,384 basehttp 49636 6219608064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 18:29:02,399 log 49636 6219608064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:29:02,399 basehttp 49636 6219608064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:29:48,326 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:30:26,738 basehttp 49636 6219608064 "GET /en/inpatients/admissions/ HTTP/1.1" 200 160424 WARNING 2025-08-20 18:30:26,753 log 49636 6219608064 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 18:30:26,753 basehttp 49636 6219608064 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 18:30:26,810 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:31:26,824 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:32:26,828 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:33:26,833 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:34:26,834 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:35:26,841 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:36:26,876 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:37:26,884 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:38:26,889 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:39:26,896 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:40:26,900 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:41:27,419 basehttp 49636 6219608064 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:42:29,414 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:43:57,410 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:45:57,410 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:47:57,413 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:49:57,419 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:51:57,419 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 18:53:57,421 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4690 INFO 2025-08-20 18:55:57,422 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 18:57:20,123 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 18:58:20,421 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 18:59:22,426 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 19:00:57,428 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 19:02:57,424 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:04:57,428 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:06:57,335 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:08:57,336 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:10:57,336 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:12:57,335 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:14:57,338 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:16:57,332 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:18:57,331 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:20:57,332 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:22:57,324 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:24:57,325 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:26:57,321 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:28:57,322 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:30:57,323 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:32:57,318 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:34:57,317 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:35:57,319 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:36:57,313 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:37:57,320 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:38:57,383 basehttp 49636 6202781696 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:39:21,460 autoreload 49636 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 19:39:21,827 autoreload 84486 8601149632 Watching for file changes with StatReloader ERROR 2025-08-20 19:39:22,352 log 84486 6130692096 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 596, in get_queryset total_admissions = queryset.aggregate(Sum('total_beds'))['total_beds__sum'] or 0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 588, in aggregate return self.query.chain().get_aggregation(self.db, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 460, in get_aggregation aggregate = aggregate_expr.resolve_expression( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/aggregates.py", line 63, in resolve_expression c = super().resolve_expression(query, allow_joins, reuse, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 300, in resolve_expression expr.resolve_expression(query, allow_joins, reuse, summarize, for_save) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/expressions.py", line 902, in resolve_expression return query.resolve_ref(self.name, allow_joins, reuse, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 2049, in resolve_ref join_info = self.setup_joins( ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1900, in setup_joins path, final_field, targets, rest = self.names_to_path( ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'total_beds' into field. Choices are: acuity_level, admission_datetime, admission_id, admission_notes, admission_source, admission_type, admitting_diagnosis, admitting_physician, admitting_physician_id, advance_directive, alerts, allergies, anticipated_discharge_date, assigned_bed, attending_physician, attending_physician_id, authorization_number, chief_complaint, code_status, consulting_physicians, created_at, created_by, created_by_id, current_bed, current_bed_id, current_ward, current_ward_id, discharge_datetime, discharge_disposition, discharge_planner, discharge_planner_id, discharge_planning_started, discharge_summary, encounters, estimated_length_of_stay, healthcare_proxy, id, insurance_verified, isolation_required, isolation_type, medical_bills, patient, patient_id, priority, secondary_diagnoses, special_needs, status, surgeries, surgical_cases, tenant, tenant_id, transfers, updated_at ERROR 2025-08-20 19:39:22,355 basehttp 84486 6130692096 "GET /en/inpatients/admissions/ HTTP/1.1" 500 133551 WARNING 2025-08-20 19:39:22,370 log 84486 6130692096 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:39:22,370 basehttp 84486 6130692096 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:41:18,113 autoreload 84486 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 19:41:18,435 autoreload 85413 8601149632 Watching for file changes with StatReloader ERROR 2025-08-20 19:41:18,842 log 85413 6190313472 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 158, in get self.object_list = self.get_queryset() ^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 596, in get_queryset total_admissions = queryset.filter(is_active=True).count() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_active' into field. Choices are: acuity_level, admission_datetime, admission_id, admission_notes, admission_source, admission_type, admitting_diagnosis, admitting_physician, admitting_physician_id, advance_directive, alerts, allergies, anticipated_discharge_date, assigned_bed, attending_physician, attending_physician_id, authorization_number, chief_complaint, code_status, consulting_physicians, created_at, created_by, created_by_id, current_bed, current_bed_id, current_ward, current_ward_id, discharge_datetime, discharge_disposition, discharge_planner, discharge_planner_id, discharge_planning_started, discharge_summary, encounters, estimated_length_of_stay, healthcare_proxy, id, insurance_verified, isolation_required, isolation_type, medical_bills, patient, patient_id, priority, secondary_diagnoses, special_needs, status, surgeries, surgical_cases, tenant, tenant_id, transfers, updated_at ERROR 2025-08-20 19:41:18,844 basehttp 85413 6190313472 "GET /en/inpatients/admissions/ HTTP/1.1" 500 135848 WARNING 2025-08-20 19:41:18,857 log 85413 6190313472 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:41:18,857 basehttp 85413 6190313472 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:42:11,434 autoreload 85413 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 19:42:11,747 autoreload 85811 8601149632 Watching for file changes with StatReloader ERROR 2025-08-20 19:42:12,186 log 85811 6128644096 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 634, in get_context_data 'total_admissions': self.total_admissions ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'AdmissionListView' object has no attribute 'total_admissions' ERROR 2025-08-20 19:42:12,188 basehttp 85811 6128644096 "GET /en/inpatients/admissions/ HTTP/1.1" 500 89036 WARNING 2025-08-20 19:42:12,202 log 85811 6128644096 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:42:12,202 basehttp 85811 6128644096 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:42:37,899 autoreload 85811 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 19:42:38,262 autoreload 85976 8601149632 Watching for file changes with StatReloader ERROR 2025-08-20 19:42:39,148 log 85976 6135934976 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 634, in get_context_data 'total_admissions': self.queryset.total_admissions ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'total_admissions' ERROR 2025-08-20 19:42:39,149 basehttp 85976 6135934976 "GET /en/inpatients/admissions/ HTTP/1.1" 500 89036 WARNING 2025-08-20 19:42:39,161 log 85976 6135934976 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:42:39,161 basehttp 85976 6135934976 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-20 19:42:40,064 log 85976 6135934976 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 634, in get_context_data 'total_admissions': self.queryset.total_admissions ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'total_admissions' ERROR 2025-08-20 19:42:40,065 basehttp 85976 6135934976 "GET /en/inpatients/admissions/ HTTP/1.1" 500 89036 WARNING 2025-08-20 19:42:40,080 log 85976 6135934976 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:42:40,080 basehttp 85976 6135934976 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:43:00,194 autoreload 85976 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 19:43:00,524 autoreload 86138 8601149632 Watching for file changes with StatReloader ERROR 2025-08-20 19:43:01,107 log 86138 6162411520 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 632, in get_context_data 'total_admissions': self.queryset.count() ^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'count' ERROR 2025-08-20 19:43:01,108 basehttp 86138 6162411520 "GET /en/inpatients/admissions/ HTTP/1.1" 500 88952 WARNING 2025-08-20 19:43:01,120 log 86138 6162411520 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:43:01,120 basehttp 86138 6162411520 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-20 19:43:02,114 log 86138 6162411520 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 632, in get_context_data 'total_admissions': self.queryset.count() ^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'count' ERROR 2025-08-20 19:43:02,115 basehttp 86138 6162411520 "GET /en/inpatients/admissions/ HTTP/1.1" 500 88952 WARNING 2025-08-20 19:43:02,129 log 86138 6162411520 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:43:02,129 basehttp 86138 6162411520 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:43:26,704 autoreload 86138 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 19:43:27,025 autoreload 86372 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 19:43:27,952 basehttp 86372 6128431104 "GET /en/inpatients/admissions/ HTTP/1.1" 200 160424 WARNING 2025-08-20 19:43:27,970 log 86372 6128431104 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:43:27,970 basehttp 86372 6128431104 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:43:28,054 basehttp 86372 6128431104 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:44:10,621 autoreload 86372 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 19:44:10,984 autoreload 86686 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 19:44:11,719 basehttp 86686 6127595520 "GET /en/inpatients/admissions/ HTTP/1.1" 200 160426 WARNING 2025-08-20 19:44:11,738 log 86686 6127595520 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:44:11,738 basehttp 86686 6127595520 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:44:11,783 basehttp 86686 6127595520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:45:11,794 basehttp 86686 6127595520 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:45:47,929 autoreload 86686 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 19:45:48,287 autoreload 87402 8601149632 Watching for file changes with StatReloader ERROR 2025-08-20 19:45:48,595 log 87402 6203420672 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 629, in get_context_data active_admissions = Admission.objects.filter(tenant=self.request.user.tenant, is_active=True).count() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_active' into field. Choices are: acuity_level, admission_datetime, admission_id, admission_notes, admission_source, admission_type, admitting_diagnosis, admitting_physician, admitting_physician_id, advance_directive, alerts, allergies, anticipated_discharge_date, assigned_bed, attending_physician, attending_physician_id, authorization_number, chief_complaint, code_status, consulting_physicians, created_at, created_by, created_by_id, current_bed, current_bed_id, current_ward, current_ward_id, discharge_datetime, discharge_disposition, discharge_planner, discharge_planner_id, discharge_planning_started, discharge_summary, encounters, estimated_length_of_stay, healthcare_proxy, id, insurance_verified, isolation_required, isolation_type, medical_bills, patient, patient_id, priority, secondary_diagnoses, special_needs, status, surgeries, surgical_cases, tenant, tenant_id, transfers, updated_at ERROR 2025-08-20 19:45:48,597 basehttp 87402 6203420672 "GET /en/inpatients/admissions/ HTTP/1.1" 500 143156 WARNING 2025-08-20 19:45:48,613 log 87402 6203420672 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:45:48,614 basehttp 87402 6203420672 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:46:25,773 autoreload 87402 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 19:46:26,097 autoreload 87722 8601149632 Watching for file changes with StatReloader ERROR 2025-08-20 19:46:27,316 log 87722 6124482560 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 629, in get_context_data active_admissions = Admission.objects.filter(tenant=self.request.user.tenant, admission__is_active=True).count() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'admission' into field. Choices are: acuity_level, admission_datetime, admission_id, admission_notes, admission_source, admission_type, admitting_diagnosis, admitting_physician, admitting_physician_id, advance_directive, alerts, allergies, anticipated_discharge_date, assigned_bed, attending_physician, attending_physician_id, authorization_number, chief_complaint, code_status, consulting_physicians, created_at, created_by, created_by_id, current_bed, current_bed_id, current_ward, current_ward_id, discharge_datetime, discharge_disposition, discharge_planner, discharge_planner_id, discharge_planning_started, discharge_summary, encounters, estimated_length_of_stay, healthcare_proxy, id, insurance_verified, isolation_required, isolation_type, medical_bills, patient, patient_id, priority, secondary_diagnoses, special_needs, status, surgeries, surgical_cases, tenant, tenant_id, transfers, updated_at ERROR 2025-08-20 19:46:27,318 basehttp 87722 6124482560 "GET /en/inpatients/admissions/ HTTP/1.1" 500 143360 WARNING 2025-08-20 19:46:27,329 log 87722 6124482560 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:46:27,329 basehttp 87722 6124482560 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 ERROR 2025-08-20 19:46:28,273 log 87722 6124482560 Internal Server Error: /en/inpatients/admissions/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 629, in get_context_data active_admissions = Admission.objects.filter(tenant=self.request.user.tenant, admission__is_active=True).count() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1493, in filter return self._filter_or_exclude(False, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1511, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/query.py", line 1518, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1646, in add_q clause, _ = self._add_q(q_object, can_reuse) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1678, in _add_q child_clause, needed_inner = self.build_filter( ^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1526, in build_filter lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1333, in solve_lookup_type _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/db/models/sql/query.py", line 1805, in names_to_path raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'admission' into field. Choices are: acuity_level, admission_datetime, admission_id, admission_notes, admission_source, admission_type, admitting_diagnosis, admitting_physician, admitting_physician_id, advance_directive, alerts, allergies, anticipated_discharge_date, assigned_bed, attending_physician, attending_physician_id, authorization_number, chief_complaint, code_status, consulting_physicians, created_at, created_by, created_by_id, current_bed, current_bed_id, current_ward, current_ward_id, discharge_datetime, discharge_disposition, discharge_planner, discharge_planner_id, discharge_planning_started, discharge_summary, encounters, estimated_length_of_stay, healthcare_proxy, id, insurance_verified, isolation_required, isolation_type, medical_bills, patient, patient_id, priority, secondary_diagnoses, special_needs, status, surgeries, surgical_cases, tenant, tenant_id, transfers, updated_at ERROR 2025-08-20 19:46:28,273 basehttp 87722 6124482560 "GET /en/inpatients/admissions/ HTTP/1.1" 500 143360 WARNING 2025-08-20 19:46:28,290 log 87722 6124482560 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:46:28,290 basehttp 87722 6124482560 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:48:30,669 autoreload 87722 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 19:48:30,992 autoreload 88664 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 19:48:31,405 basehttp 88664 6137507840 "GET /en/inpatients/admissions/ HTTP/1.1" 200 160428 WARNING 2025-08-20 19:48:31,426 log 88664 6137507840 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:48:31,426 basehttp 88664 6137507840 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:48:31,501 basehttp 88664 6137507840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 19:48:53,851 log 88664 6137507840 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:48:53,851 basehttp 88664 6137507840 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 19:48:54,757 log 88664 6137507840 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:48:54,757 basehttp 88664 6137507840 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 19:48:55,954 log 88664 6137507840 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:48:55,955 basehttp 88664 6137507840 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:48:56,244 basehttp 88664 6137507840 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 INFO 2025-08-20 19:49:00,883 basehttp 88664 6137507840 "GET /en/inpatients/admissions/create/ HTTP/1.1" 200 51178 WARNING 2025-08-20 19:49:00,904 log 88664 6137507840 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:49:00,904 basehttp 88664 6137507840 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:49:00,928 basehttp 88664 6137507840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 19:49:04,556 log 88664 6137507840 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:49:04,557 basehttp 88664 6137507840 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-20 19:49:04,566 log 88664 6137507840 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:49:04,566 basehttp 88664 6137507840 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:49:26,220 basehttp 88664 6137507840 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 INFO 2025-08-20 19:49:56,110 basehttp 88664 6137507840 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 19:49:56,240 basehttp 88664 6137507840 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 INFO 2025-08-20 19:50:26,246 basehttp 88664 6137507840 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 ERROR 2025-08-20 19:50:39,849 log 88664 6137507840 Internal Server Error: /en/inpatients/discharge/335/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 2179, in discharge_patient summary_form = DischargeSummaryForm( ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/forms.py", line 324, in __init__ super().__init__(*args, **kwargs) TypeError: BaseModelForm.__init__() got an unexpected keyword argument 'admission' ERROR 2025-08-20 19:50:39,851 basehttp 88664 6137507840 "GET /en/inpatients/discharge/335/ HTTP/1.1" 500 78436 WARNING 2025-08-20 19:50:39,870 log 88664 6137507840 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:50:39,870 basehttp 88664 6137507840 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:54:23,134 autoreload 88664 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 19:54:23,622 autoreload 91187 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 19:54:25,316 basehttp 91187 6164770816 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35327 WARNING 2025-08-20 19:54:25,334 log 91187 6164770816 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:54:25,334 basehttp 91187 6164770816 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:54:25,372 basehttp 91187 6164770816 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 WARNING 2025-08-20 19:55:10,634 log 91187 6198423552 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:55:10,635 basehttp 91187 6198423552 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:55:10,636 basehttp 91187 6164770816 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 WARNING 2025-08-20 19:55:10,680 log 91187 6164770816 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:55:10,680 basehttp 91187 6164770816 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:55:10,741 basehttp 91187 6181597184 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 INFO 2025-08-20 19:55:12,803 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35327 WARNING 2025-08-20 19:55:12,821 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:55:12,821 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:55:12,863 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 19:56:12,867 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 19:57:03,985 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35287 WARNING 2025-08-20 19:57:03,998 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:57:03,998 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:57:04,041 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 19:57:20,718 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35287 WARNING 2025-08-20 19:57:20,730 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:57:20,730 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:57:20,774 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 19:57:29,632 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35302 WARNING 2025-08-20 19:57:29,644 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:57:29,644 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:57:29,690 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 19:57:49,977 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35321 WARNING 2025-08-20 19:57:49,988 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:57:49,988 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:57:50,030 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 19:58:23,170 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35349 WARNING 2025-08-20 19:58:23,187 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:58:23,187 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:58:23,223 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 19:58:51,600 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35359 WARNING 2025-08-20 19:58:51,612 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 19:58:51,612 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 19:58:51,655 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 19:59:51,680 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 20:00:33,859 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35348 WARNING 2025-08-20 20:00:33,872 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 20:00:33,873 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 20:00:33,914 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 20:01:33,917 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 20:01:35,008 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35348 WARNING 2025-08-20 20:01:35,023 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 20:01:35,023 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 20:01:35,064 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 20:01:48,328 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35344 WARNING 2025-08-20 20:01:48,340 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 20:01:48,340 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 20:01:48,382 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4695 INFO 2025-08-20 20:02:21,032 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35357 WARNING 2025-08-20 20:02:21,043 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 20:02:21,044 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 20:02:21,085 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:03:21,100 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:03:45,964 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35362 WARNING 2025-08-20 20:03:45,975 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 20:03:45,975 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 20:03:46,009 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:04:06,770 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35336 WARNING 2025-08-20 20:04:06,782 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 20:04:06,782 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 20:04:06,825 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:04:14,420 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35340 WARNING 2025-08-20 20:04:14,433 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 20:04:14,433 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 20:04:14,479 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:05:14,482 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:05:16,712 basehttp 91187 6181597184 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 35374 WARNING 2025-08-20 20:05:16,725 log 91187 6181597184 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 20:05:16,725 basehttp 91187 6181597184 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 20:05:16,766 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:06:16,780 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:07:16,810 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:08:16,818 basehttp 91187 6181597184 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:08:38,370 autoreload 91187 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 20:08:38,769 autoreload 97464 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 20:08:40,030 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 WARNING 2025-08-20 20:08:40,052 log 97464 6201421824 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 20:08:40,052 basehttp 97464 6201421824 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 20:08:40,171 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:08:40,289 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 INFO 2025-08-20 20:08:46,408 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40376 WARNING 2025-08-20 20:08:46,426 log 97464 6201421824 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 20:08:46,427 basehttp 97464 6201421824 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 20:08:46,466 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:09:46,483 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:10:46,486 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:11:46,482 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:12:46,497 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:13:46,497 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:14:46,497 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:15:46,498 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:16:46,505 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:17:46,503 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:18:46,521 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:19:47,441 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:20:49,451 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 20:26:13,249 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 21:50:40,363 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:12:47,178 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:14:30,871 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:15:30,881 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:16:30,883 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:16:36,227 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 INFO 2025-08-20 22:17:06,220 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 INFO 2025-08-20 22:17:36,093 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:17:36,211 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 INFO 2025-08-20 22:18:06,210 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 INFO 2025-08-20 22:18:36,111 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:18:36,219 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 INFO 2025-08-20 22:19:06,234 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 INFO 2025-08-20 22:19:36,096 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:19:36,206 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2104063 INFO 2025-08-20 22:19:39,903 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2106667 INFO 2025-08-20 22:19:40,018 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:19:40,134 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2106667 INFO 2025-08-20 22:19:52,351 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109899 INFO 2025-08-20 22:19:52,437 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:19:52,553 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109899 INFO 2025-08-20 22:20:22,553 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109899 INFO 2025-08-20 22:20:52,440 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:20:52,551 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109899 INFO 2025-08-20 22:21:22,559 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109899 INFO 2025-08-20 22:21:29,119 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109899 INFO 2025-08-20 22:21:29,212 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:21:29,354 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109899 INFO 2025-08-20 22:21:58,934 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40376 INFO 2025-08-20 22:21:58,973 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:22:51,615 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40393 INFO 2025-08-20 22:22:51,643 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:23:27,005 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40376 INFO 2025-08-20 22:23:27,035 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:24:10,687 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40370 INFO 2025-08-20 22:24:10,720 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:24:41,401 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40404 INFO 2025-08-20 22:24:41,439 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:24:59,586 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40404 INFO 2025-08-20 22:24:59,619 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:25:59,629 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:26:37,906 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40413 INFO 2025-08-20 22:26:37,934 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:27:12,786 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40408 INFO 2025-08-20 22:27:12,822 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:27:26,919 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40412 INFO 2025-08-20 22:27:26,957 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:27:33,051 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40413 INFO 2025-08-20 22:27:33,091 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:28:33,092 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:29:12,648 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40447 INFO 2025-08-20 22:29:12,679 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:29:26,959 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40433 INFO 2025-08-20 22:29:26,986 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:30:27,002 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:31:27,001 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:31:52,094 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40513 INFO 2025-08-20 22:31:52,129 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:32:42,169 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40510 INFO 2025-08-20 22:32:42,212 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:33:25,848 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40510 INFO 2025-08-20 22:33:25,886 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:33:29,579 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109899 INFO 2025-08-20 22:33:38,253 basehttp 97464 6201421824 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 2110493 INFO 2025-08-20 22:33:38,364 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:33:38,482 basehttp 97464 6201421824 "GET /en/inpatients/beds/?page=2 HTTP/1.1" 200 2110493 INFO 2025-08-20 22:33:42,267 basehttp 97464 6201421824 "GET /en/inpatients/discharge/359/ HTTP/1.1" 302 0 INFO 2025-08-20 22:33:42,289 basehttp 97464 6201421824 "GET /en/inpatients/admissions/359/ HTTP/1.1" 200 26973 INFO 2025-08-20 22:33:42,321 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:34:01,489 basehttp 97464 6201421824 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109899 INFO 2025-08-20 22:34:05,161 basehttp 97464 6201421824 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40510 INFO 2025-08-20 22:34:05,196 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:35:05,205 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:36:05,211 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:37:05,211 basehttp 97464 6201421824 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:37:24,557 autoreload 97464 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 22:37:24,989 autoreload 16279 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 22:37:29,067 basehttp 16279 6197145600 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:37:29,123 basehttp 16279 6213971968 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109899 INFO 2025-08-20 22:37:39,593 basehttp 16279 6213971968 "GET /en/inpatients/ HTTP/1.1" 200 42937 INFO 2025-08-20 22:37:39,634 basehttp 16279 6197145600 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-20 22:37:39,646 basehttp 16279 6213971968 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:37:39,672 basehttp 16279 6230798336 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611361 ERROR 2025-08-20 22:37:44,692 log 16279 6230798336 Internal Server Error: /en/inpatients/transfers/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'reject_transfer' not found. 'reject_transfer' is not a valid view function or pattern name. ERROR 2025-08-20 22:37:44,694 basehttp 16279 6230798336 "GET /en/inpatients/transfers/ HTTP/1.1" 500 262747 ERROR 2025-08-20 22:39:46,557 log 16279 6230798336 Internal Server Error: /en/inpatients/transfers/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'execute_transfer' not found. 'execute_transfer' is not a valid view function or pattern name. ERROR 2025-08-20 22:39:46,558 basehttp 16279 6230798336 "GET /en/inpatients/transfers/ HTTP/1.1" 500 262364 INFO 2025-08-20 22:40:05,201 basehttp 16279 6230798336 "GET /en/inpatients/transfers/ HTTP/1.1" 200 88653 INFO 2025-08-20 22:40:05,235 basehttp 16279 6230798336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 22:40:17,425 log 16279 6230798336 Forbidden (CSRF token missing.): /en/inpatients/transfer/95/approve/ WARNING 2025-08-20 22:40:17,425 basehttp 16279 6230798336 "POST /en/inpatients/transfer/95/approve/ HTTP/1.1" 403 2491 WARNING 2025-08-20 22:40:20,753 log 16279 6230798336 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 22:40:20,754 basehttp 16279 6230798336 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 22:41:05,248 basehttp 16279 6230798336 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:41:54,438 autoreload 16279 8601149632 /Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py changed, reloading. INFO 2025-08-20 22:41:54,779 autoreload 18321 8601149632 Watching for file changes with StatReloader INFO 2025-08-20 22:41:56,807 basehttp 18321 6138425344 "GET /en/inpatients/transfers/ HTTP/1.1" 200 88653 WARNING 2025-08-20 22:41:56,824 log 18321 6138425344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 22:41:56,824 basehttp 18321 6138425344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 22:41:56,916 basehttp 18321 6138425344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 WARNING 2025-08-20 22:42:00,549 log 18321 6138425344 Forbidden (CSRF token missing.): /en/inpatients/transfer/95/approve/ WARNING 2025-08-20 22:42:00,549 basehttp 18321 6138425344 "POST /en/inpatients/transfer/95/approve/ HTTP/1.1" 403 2491 INFO 2025-08-20 22:42:56,930 basehttp 18321 6138425344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:42:58,155 basehttp 18321 6138425344 "GET /en/inpatients/transfers/ HTTP/1.1" 200 88653 WARNING 2025-08-20 22:42:58,172 log 18321 6138425344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 22:42:58,172 basehttp 18321 6138425344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 22:42:58,271 basehttp 18321 6138425344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 INFO 2025-08-20 22:43:55,396 basehttp 18321 6138425344 "GET /en/inpatients/transfers/ HTTP/1.1" 200 87470 WARNING 2025-08-20 22:43:55,410 log 18321 6138425344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 22:43:55,410 basehttp 18321 6138425344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 22:43:55,508 basehttp 18321 6138425344 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4700 ERROR 2025-08-20 22:43:57,278 log 18321 6138425344 Internal Server Error: /en/inpatients/transfer/77/approve/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/inpatients/views.py", line 1033, in approve_transfer return render(request, 'inpatients/partials/approve_transfer_form.html', context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/shortcuts.py", line 25, in render content = loader.render_to_string(template_name, context, request, using=using) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader.py", line 62, in render_to_string return template.render(context, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'reject_transfer' not found. 'reject_transfer' is not a valid view function or pattern name. ERROR 2025-08-20 22:43:57,280 basehttp 18321 6138425344 "GET /en/inpatients/transfer/77/approve/ HTTP/1.1" 500 129700 WARNING 2025-08-20 22:43:57,300 log 18321 6138425344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 22:43:57,300 basehttp 18321 6138425344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-20 22:44:50,623 basehttp 18321 6138425344 "GET /en/inpatients/transfer/77/approve/ HTTP/1.1" 200 9421 WARNING 2025-08-20 22:44:50,644 log 18321 6138425344 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-20 22:44:50,644 basehttp 18321 6138425344 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-21 13:30:43,818 autoreload 3283 8601149632 Watching for file changes with StatReloader INFO 2025-08-21 13:30:47,270 basehttp 3283 6198046720 "GET / HTTP/1.1" 302 0 INFO 2025-08-21 13:30:47,319 basehttp 3283 6214873088 "GET /en/ HTTP/1.1" 200 47239 INFO 2025-08-21 13:30:47,376 basehttp 3283 6214873088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 13:30:47,380 basehttp 3283 6248525824 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1043 INFO 2025-08-21 13:30:47,382 basehttp 3283 6231699456 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 13:30:47,383 basehttp 3283 6198046720 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 13:30:55,954 basehttp 3283 6198046720 "GET /en/admin HTTP/1.1" 301 0 INFO 2025-08-21 13:30:56,035 basehttp 3283 6231699456 "GET /en/admin/ HTTP/1.1" 200 88075 INFO 2025-08-21 13:30:56,043 basehttp 3283 6231699456 "GET /static/admin/css/dashboard.css HTTP/1.1" 200 441 INFO 2025-08-21 13:30:59,577 basehttp 3283 6231699456 "GET /en/inpatients/ HTTP/1.1" 200 41712 INFO 2025-08-21 13:30:59,636 basehttp 3283 6231699456 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 13:30:59,638 basehttp 3283 6248525824 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-21 13:30:59,658 basehttp 3283 6214873088 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611361 INFO 2025-08-21 13:31:05,147 basehttp 3283 6214873088 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 13:31:05,261 basehttp 3283 6214873088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 13:31:05,369 basehttp 3283 6214873088 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 13:31:35,391 basehttp 3283 6214873088 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 13:32:05,276 basehttp 3283 6214873088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 13:32:05,381 basehttp 3283 6214873088 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 13:32:35,396 basehttp 3283 6214873088 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 13:32:39,877 basehttp 3283 6214873088 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40510 INFO 2025-08-21 13:32:39,909 basehttp 3283 6214873088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 13:33:40,092 basehttp 3283 6214873088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 13:34:41,100 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 13:39:01,561 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 13:40:02,560 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 13:41:03,557 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:03:05,832 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:07:08,018 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:08:09,011 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:09:11,017 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:10:43,221 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:11:44,012 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:12:46,012 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:13:53,442 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:14:53,444 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:15:53,445 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:15:59,988 basehttp 3283 6198046720 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 14:24:07,266 basehttp 3283 6198046720 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 14:24:37,173 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:24:37,242 basehttp 3283 6214873088 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 14:25:07,224 basehttp 3283 6214873088 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 14:25:37,167 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:25:37,232 basehttp 3283 6214873088 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 14:41:08,972 basehttp 3283 6198046720 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 14:41:39,821 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:41:45,888 basehttp 3283 6198046720 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 14:57:47,024 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 14:57:52,097 basehttp 3283 6198046720 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 15:14:13,411 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 15:14:17,437 basehttp 3283 6198046720 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 15:15:14,365 basehttp 3283 6198046720 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 15:15:17,436 basehttp 3283 6198046720 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 15:22:55,957 basehttp 3283 6214873088 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 15:22:56,025 basehttp 3283 6198046720 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109881 INFO 2025-08-21 15:53:21,003 autoreload 18499 8466948288 Watching for file changes with StatReloader INFO 2025-08-21 15:53:26,252 basehttp 18499 6189674496 "GET / HTTP/1.1" 302 0 INFO 2025-08-21 15:53:26,312 basehttp 18499 6206500864 "GET /en/ HTTP/1.1" 200 47250 INFO 2025-08-21 15:53:26,363 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 15:53:26,364 basehttp 18499 6240153600 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1043 INFO 2025-08-21 15:53:26,366 basehttp 18499 6223327232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 15:53:26,367 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 WARNING 2025-08-21 15:53:26,380 log 18499 6189674496 Not Found: /favicon.ico WARNING 2025-08-21 15:53:26,381 basehttp 18499 6189674496 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-21 15:53:56,413 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 15:54:26,420 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 15:54:26,420 basehttp 18499 6223327232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 15:54:27,408 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 15:54:58,416 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 15:55:27,423 basehttp 18499 6223327232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 15:55:27,423 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 15:55:29,413 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 15:56:00,414 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 15:56:28,422 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 15:56:28,423 basehttp 18499 6223327232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 15:56:31,399 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 15:57:12,402 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 15:57:29,421 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 15:57:29,422 basehttp 18499 6223327232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 15:58:12,411 basehttp 18499 6223327232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 15:58:30,409 basehttp 18499 6223327232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 15:58:30,409 basehttp 18499 6189674496 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 15:59:12,416 basehttp 18499 6223327232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 15:59:31,423 basehttp 18499 6189674496 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 15:59:31,423 basehttp 18499 6223327232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:00:12,409 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:01:12,433 basehttp 18499 6206500864 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 16:01:12,433 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:01:12,435 basehttp 18499 6223327232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:02:12,419 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:02:12,420 basehttp 18499 6223327232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:03:12,421 basehttp 18499 6189674496 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 16:03:12,423 basehttp 18499 6223327232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:04:12,427 basehttp 18499 6223327232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:04:12,429 basehttp 18499 6206500864 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 16:04:12,430 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:05:12,399 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:06:12,429 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:06:12,431 basehttp 18499 6206500864 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 16:06:12,434 basehttp 18499 6223327232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:07:12,408 basehttp 18499 6223327232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:08:12,433 basehttp 18499 6223327232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:08:12,434 basehttp 18499 6206500864 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 16:08:12,435 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:09:12,435 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:09:12,437 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:10:12,419 basehttp 18499 6189674496 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 16:10:12,420 basehttp 18499 6206500864 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:11:12,432 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:11:12,433 basehttp 18499 6223327232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 16:11:12,434 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:12:12,409 basehttp 18499 6189674496 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:13:12,434 basehttp 18499 6223327232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 16:13:12,434 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:13:12,436 basehttp 18499 6206500864 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:14:12,431 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:14:12,431 basehttp 18499 6223327232 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 16:14:12,433 basehttp 18499 6206500864 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:15:12,503 basehttp 18499 6206500864 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:16:12,525 basehttp 18499 6189674496 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-21 16:16:12,525 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:16:12,527 basehttp 18499 6223327232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-21 16:16:43,488 basehttp 18499 6223327232 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 WARNING 2025-08-21 16:16:48,492 log 18499 6223327232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-21 16:16:48,492 basehttp 18499 6223327232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-21 16:16:57,675 basehttp 18499 6223327232 "GET /en/inpatients/ HTTP/1.1" 200 41712 WARNING 2025-08-21 16:16:57,689 log 18499 6223327232 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-21 16:16:57,689 basehttp 18499 6223327232 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-21 16:16:57,782 basehttp 18499 6223327232 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:16:57,782 basehttp 18499 6206500864 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-21 16:16:57,802 basehttp 18499 6189674496 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611361 INFO 2025-08-21 16:17:27,769 basehttp 18499 6189674496 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-21 16:17:57,800 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:17:57,802 basehttp 18499 6223327232 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-21 16:17:57,825 basehttp 18499 6206500864 "GET /en/inpatients/bed-grid/ HTTP/1.1" 200 611361 INFO 2025-08-21 16:18:27,785 basehttp 18499 6206500864 "GET /en/inpatients/stats/ HTTP/1.1" 200 3000 INFO 2025-08-21 16:18:42,188 basehttp 18499 6206500864 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109882 INFO 2025-08-21 16:18:42,334 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:18:42,456 basehttp 18499 6206500864 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109882 INFO 2025-08-21 16:18:57,512 basehttp 18499 6206500864 "GET /en/inpatients/discharge/335/ HTTP/1.1" 200 40510 INFO 2025-08-21 16:18:57,548 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:19:57,563 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:20:57,564 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:21:57,570 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:22:57,569 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:23:57,580 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:24:57,586 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:25:57,580 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:26:57,593 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:27:57,597 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:28:57,601 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:29:58,509 basehttp 18499 6206500864 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:31:00,488 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:32:12,504 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:34:12,495 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:36:12,496 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:37:12,498 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:39:12,493 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:41:12,493 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:42:12,506 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:44:12,495 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:45:12,534 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:47:12,550 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:48:12,553 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:50:12,557 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:51:12,557 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:53:12,554 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:54:12,561 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:56:12,553 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:57:12,562 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 16:58:12,566 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:00:12,573 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:01:12,581 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:03:12,580 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:04:12,583 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:05:12,582 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:07:12,586 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:09:12,584 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:10:12,592 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:12:12,604 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:13:12,595 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:15:12,515 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:16:12,520 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:18:12,527 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:19:12,522 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:21:12,513 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:22:12,532 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:23:12,530 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:25:12,523 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:27:12,524 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:28:12,527 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:30:12,539 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:31:12,552 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:33:12,557 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:35:12,560 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:36:12,552 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:38:12,565 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:40:12,554 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:42:12,558 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:44:12,561 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:45:12,555 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:46:12,465 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:48:12,464 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:49:12,473 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:51:12,470 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:52:12,463 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:54:25,216 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:55:25,225 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:57:25,225 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 17:58:25,227 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:00:25,217 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:01:25,226 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:03:25,220 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:04:26,213 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:05:28,218 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:07:25,219 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:08:25,223 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:10:25,219 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:11:25,485 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:13:25,483 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:15:25,319 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:17:25,329 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:19:25,196 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:21:25,275 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:23:25,227 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:25:25,283 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:27:25,192 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:29:25,190 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:31:25,222 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:32:26,453 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:34:25,226 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:36:25,233 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:38:25,242 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:40:25,399 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:42:25,284 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:44:25,272 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 18:58:03,425 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 20:34:17,794 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 20:54:37,752 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 20:56:37,809 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 20:58:37,794 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 20:59:37,832 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:01:37,792 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:03:37,787 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:05:37,796 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:06:37,795 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:08:37,802 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:10:37,797 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:12:37,793 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:14:37,783 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:15:37,784 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:17:37,774 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:18:37,790 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:20:37,885 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:21:37,897 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:23:37,884 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:25:37,894 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:27:37,883 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:29:37,895 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:31:37,881 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:32:37,881 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:34:37,882 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:35:37,873 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:36:37,879 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:38:37,872 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:39:37,875 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:41:37,868 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:43:37,867 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:44:37,871 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:45:37,871 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:47:37,870 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:48:37,866 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:50:37,867 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:51:37,945 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:53:37,953 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:54:37,949 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:56:37,943 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:57:37,951 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:58:37,945 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 21:59:37,950 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:01:37,945 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:02:37,954 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:04:37,949 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:05:37,947 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:07:37,955 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:08:37,957 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:10:37,948 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:11:37,951 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:13:37,956 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:14:37,954 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:16:37,951 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:17:37,957 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:18:37,955 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:20:37,955 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:21:37,956 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:23:37,962 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:24:37,961 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:26:37,964 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:27:37,960 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:29:37,962 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:30:37,964 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:32:37,964 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:33:37,968 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:35:37,963 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:37:37,969 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:39:37,963 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:40:37,965 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:42:37,967 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:43:37,970 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:45:37,965 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:46:37,963 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:47:37,969 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:49:37,964 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:50:37,968 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4675 INFO 2025-08-21 22:52:37,965 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 22:53:37,977 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 22:54:37,971 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 22:56:37,968 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 22:57:37,967 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 22:59:37,984 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:01:37,969 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:02:37,970 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:04:37,972 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:05:37,970 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:07:37,968 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:08:37,942 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:10:37,939 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:11:37,949 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:13:37,936 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:14:37,943 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:16:37,938 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:17:37,944 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:19:37,936 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:20:37,950 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:22:37,939 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:23:37,772 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:25:37,769 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:27:37,764 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:28:37,769 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:30:37,761 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:31:37,756 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:32:37,758 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:34:37,753 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:35:37,757 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:37:37,749 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:38:37,803 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:39:37,818 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:41:37,811 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:42:37,818 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:44:37,811 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:45:37,816 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:47:37,811 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:48:37,806 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:49:37,804 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:51:37,802 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4625 INFO 2025-08-21 23:52:37,808 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4670 INFO 2025-08-21 23:53:37,803 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4670 INFO 2025-08-21 23:55:37,878 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4670 INFO 2025-08-21 23:56:37,878 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4670 INFO 2025-08-21 23:58:37,885 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4670 INFO 2025-08-21 23:59:37,880 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4670 INFO 2025-08-22 00:01:37,869 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4670 INFO 2025-08-22 00:02:37,880 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4670 INFO 2025-08-22 00:03:37,882 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4670 INFO 2025-08-22 00:05:37,876 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4670 INFO 2025-08-22 00:06:37,876 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4670 INFO 2025-08-22 00:07:37,881 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4670 WARNING 2025-08-24 11:37:55,117 log 18499 6189674496 Not Found: /favicon.ico WARNING 2025-08-24 11:37:55,117 basehttp 18499 6189674496 "GET /favicon.ico HTTP/1.1" 404 2557 INFO 2025-08-24 11:38:47,947 basehttp 18499 6189674496 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109911 INFO 2025-08-24 11:38:56,928 basehttp 18499 6189674496 "GET /en/inpatients/admissions/create/ HTTP/1.1" 200 51178 INFO 2025-08-24 11:38:56,936 basehttp 18499 6189674496 "GET /static/js/app.min.js HTTP/1.1" 304 0 INFO 2025-08-24 11:38:56,965 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:39:17,952 basehttp 18499 6189674496 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109911 INFO 2025-08-24 11:39:47,814 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:39:47,929 basehttp 18499 6189674496 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109911 INFO 2025-08-24 11:40:17,950 basehttp 18499 6189674496 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109911 INFO 2025-08-24 11:40:47,811 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:40:47,922 basehttp 18499 6189674496 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109911 INFO 2025-08-24 11:41:17,958 basehttp 18499 6189674496 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109911 INFO 2025-08-24 11:41:47,820 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:41:47,921 basehttp 18499 6189674496 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109911 INFO 2025-08-24 11:42:17,949 basehttp 18499 6189674496 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109911 INFO 2025-08-24 11:42:25,920 basehttp 18499 6189674496 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109911 INFO 2025-08-24 11:42:26,014 basehttp 18499 6189674496 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:42:26,131 basehttp 18499 6189674496 "GET /en/inpatients/beds/ HTTP/1.1" 200 2109911 INFO 2025-08-24 11:42:39,816 basehttp 18499 6189674496 "GET /en/accounts/login/ HTTP/1.1" 302 0 INFO 2025-08-24 11:42:39,824 basehttp 18499 6189674496 "GET /accounts/profile/ HTTP/1.1" 302 0 ERROR 2025-08-24 11:42:39,856 log 18499 6206500864 Internal Server Error: /en/accounts/profile/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() ^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 163, in _render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 480, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/base.py", line 98, in reverse resolved_url = resolver._reverse_with_prefix(view, prefix, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/urls/resolvers.py", line 831, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'upload_avatar' not found. 'upload_avatar' is not a valid view function or pattern name. ERROR 2025-08-24 11:42:39,859 basehttp 18499 6206500864 "GET /en/accounts/profile/ HTTP/1.1" 500 167228 INFO 2025-08-24 11:53:14,673 autoreload 18499 8466948288 /Users/marwanalwali/manus_project/hospital_management_system_v4/accounts/models.py changed, reloading. INFO 2025-08-24 11:53:15,183 autoreload 49588 8466948288 Watching for file changes with StatReloader INFO 2025-08-24 11:53:17,415 basehttp 49588 6123925504 "GET /en/accounts/profile/ HTTP/1.1" 200 31087 INFO 2025-08-24 11:53:17,463 basehttp 49588 6123925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:53:36,267 basehttp 49588 6123925504 "GET /en/accounts/htmx/two-factor-setup/ HTTP/1.1" 200 5963 ERROR 2025-08-24 11:53:52,738 log 49588 6123925504 Internal Server Error: /en/accounts/htmx/profile-update/ Traceback (most recent call last): File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 59, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/accounts/views.py", line 1038, in user_profile_update user.timezone = request.POST.get('timezone', user.timezone) ^^^^^^^^^^^^^ File "/Users/marwanalwali/manus_project/hospital_management_system_v4/.venv/lib/python3.12/site-packages/django/utils/functional.py", line 253, in inner return func(_wrapped, *args) ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'User' object has no attribute 'timezone' ERROR 2025-08-24 11:53:52,740 basehttp 49588 6123925504 "POST /en/accounts/htmx/profile-update/ HTTP/1.1" 500 78506 INFO 2025-08-24 11:54:17,475 basehttp 49588 6123925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:54:43,845 basehttp 49588 6123925504 "GET /en/billing/bills/create/ HTTP/1.1" 200 109253 INFO 2025-08-24 11:54:43,883 basehttp 49588 6123925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:54:50,088 basehttp 49588 6123925504 "GET /en/ HTTP/1.1" 200 47227 INFO 2025-08-24 11:54:50,145 basehttp 49588 6123925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:54:50,149 basehttp 49588 13035925504 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1043 INFO 2025-08-24 11:54:50,151 basehttp 49588 6157578240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-24 11:54:50,152 basehttp 49588 6140751872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-24 11:55:06,523 basehttp 49588 6140751872 "GET /en/laboratory/orders/create/ HTTP/1.1" 200 36888 INFO 2025-08-24 11:55:06,555 basehttp 49588 6140751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:55:40,566 basehttp 49588 6140751872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-24 11:55:43,752 basehttp 49588 6140751872 "GET /en/appointments/create/ HTTP/1.1" 200 36449 INFO 2025-08-24 11:55:43,783 basehttp 49588 6140751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:55:50,151 basehttp 49588 6140751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:55:50,151 basehttp 49588 6157578240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-24 11:56:10,571 basehttp 49588 6140751872 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-24 11:56:17,196 basehttp 49588 6140751872 "GET /en/ HTTP/1.1" 200 47227 INFO 2025-08-24 11:56:17,262 basehttp 49588 6140751872 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:56:17,262 basehttp 49588 6123925504 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1043 INFO 2025-08-24 11:56:17,263 basehttp 49588 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-24 11:56:17,265 basehttp 49588 6157578240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-24 11:56:47,243 basehttp 49588 6157578240 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-24 11:57:17,260 basehttp 49588 6157578240 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:57:17,260 basehttp 49588 13035925504 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-24 11:57:17,261 basehttp 49588 6123925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-24 11:57:47,251 basehttp 49588 6123925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-24 11:58:17,275 basehttp 49588 6123925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:58:17,276 basehttp 49588 6157578240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-24 11:58:17,278 basehttp 49588 13035925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 INFO 2025-08-24 11:58:24,045 basehttp 49588 13035925504 "GET /en/audit-log/ HTTP/1.1" 200 228027 INFO 2025-08-24 11:58:24,086 basehttp 49588 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 WARNING 2025-08-24 11:59:00,571 log 49588 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-24 11:59:00,571 basehttp 49588 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-24 11:59:08,659 basehttp 49588 13035925504 "GET /en/ HTTP/1.1" 200 47227 WARNING 2025-08-24 11:59:08,678 log 49588 13035925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-24 11:59:08,678 basehttp 49588 13035925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-24 11:59:08,796 basehttp 49588 6157578240 "GET /en/htmx/system-health/ HTTP/1.1" 200 1359 INFO 2025-08-24 11:59:08,797 basehttp 49588 6140751872 "GET /en/htmx/tenant-info/ HTTP/1.1" 200 1043 INFO 2025-08-24 11:59:08,797 basehttp 49588 13035925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680 INFO 2025-08-24 11:59:08,799 basehttp 49588 6123925504 "GET /en/htmx/dashboard-stats/ HTTP/1.1" 200 2094 WARNING 2025-08-24 11:59:21,187 log 49588 6123925504 Not Found: /calendar WARNING 2025-08-24 11:59:21,187 basehttp 49588 6123925504 "GET /calendar HTTP/1.1" 404 2548 WARNING 2025-08-24 11:59:21,209 log 49588 6123925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-24 11:59:21,209 basehttp 49588 6123925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-24 11:59:23,950 log 49588 6123925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-24 11:59:23,951 basehttp 49588 6123925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 WARNING 2025-08-24 11:59:23,961 log 49588 6123925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-24 11:59:23,961 basehttp 49588 6123925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-24 11:59:28,121 basehttp 49588 6123925504 "GET /en/patients/register/ HTTP/1.1" 200 27698 WARNING 2025-08-24 11:59:28,139 log 49588 6123925504 Not Found: /.well-known/appspecific/com.chrome.devtools.json WARNING 2025-08-24 11:59:28,139 basehttp 49588 6123925504 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 2668 INFO 2025-08-24 11:59:28,232 basehttp 49588 6123925504 "GET /en/htmx/system-notifications/ HTTP/1.1" 200 4680