-
Notifications
You must be signed in to change notification settings - Fork 30
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
chore: upgrade django simple history package #527
Conversation
sed 's/edx-drf-extensions<7.0.0//g' requirements/common_constraints.txt > requirements/common_constraints.tmp | ||
mv requirements/common_constraints.tmp requirements/common_constraints.txt | ||
sed 's/drf-jwt<1.19.1//g' requirements/common_constraints.txt > requirements/common_constraints.tmp | ||
sed 's/django-simple-history==3.0.0//g' requirements/common_constraints.txt > requirements/common_constraints.tmp |
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.
Override the common constraint to upgrade the package to latest version.
license_manager/apps/subscriptions/migrations/0061_auto_20230927_1110.py
Outdated
Show resolved
Hide resolved
74b64cc
to
4832562
Compare
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('subscriptions', '0060_historicalsubscriptionlicensesource'), |
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.
new migration created with the latest version of django-simple-history package.
@@ -435,3 +435,6 @@ | |||
|
|||
# Django Admin Settings | |||
VALIDATE_FORM_EXTERNAL_FIELDS = True | |||
|
|||
# disable indexing on history_date | |||
SIMPLE_HISTORY_DATE_INDEX = False |
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.
Added setting to avoid db_index change in migrations due to updated simple-history package.
Description
Django-simple-history
package forDjango 4.2
support.django-simple-history==3.4.0
.