Creation of instances broken #180

Closed
opened 2025-09-05 13:54:10 +00:00 by tobru · 2 comments
Owner

Description

Cannot create new instances anymore:

This is on the staging environment. I can't see any errors in the logs, except:

/app/.venv/lib/python3.13/site-packages/django/db/models/base.py:368: RuntimeWarning: Model 'crd_models.vshnforgejo' was already registered. Reloading models is not advised as it can lead to inconsistencies, most notably with related models.
  new_class._meta.apps.register_model(new_class._meta.app_label, new_class)
## Description Cannot create new instances anymore: <video src="/attachments/b4fa325e-69a9-4834-876c-391aeaff1a82" title="Screencast_20250905_155327.webm" controls></video> This is on the staging environment. I can't see any errors in the logs, except: ``` /app/.venv/lib/python3.13/site-packages/django/db/models/base.py:368: RuntimeWarning: Model 'crd_models.vshnforgejo' was already registered. Reloading models is not advised as it can lead to inconsistencies, most notably with related models. new_class._meta.apps.register_model(new_class._meta.app_label, new_class) ```
tobru added the
bug
label 2025-09-05 13:54:10 +00:00
tobru added this to the Development Planning project 2025-09-05 13:54:10 +00:00
Member

Hopefully closed in #181.

Hopefully closed in #181.
Author
Owner

And it works again

And it works again
tobru closed this issue 2025-09-08 07:01:39 +00:00
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: servala/servala-portal#180
No description provided.