-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ca 294 refactor library management #321
Conversation
There are a lot of remaining things to do. |
It is discouraged to access the database during app initialization as the queries will run during the startup of every management command, and can fail if migrations are pending. https://docs.djangoproject.com/en/5.0/ref/applications/#django.apps.AppConfig.ready
Add unique_together constraint on urn, locale, version in LibraryMixin Use proper type hints for Path objects Return a StoredLibrary | None on library file storage methods
This prevents the annoying automatic scroll to the file input at the bottom of the libraries store page
54a8ed5
to
f3e56f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost good! But the functional tests are broken.
The len(value) does not really make sense for a framework
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Huge step forward!
No description provided.