-
Notifications
You must be signed in to change notification settings - Fork 173
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
build: add django42 in CI #4101
Conversation
@@ -1256,8 +1256,8 @@ class AbstractLocationRestrictionModel(TimeStampedModel): | |||
(BLOCKLIST, _('Blocklist')) | |||
) | |||
|
|||
countries = MultiSelectField(choices=COUNTRIES, null=True, blank=True) | |||
states = MultiSelectField(choices=CONTIGUOUS_STATES, null=True, blank=True) | |||
countries = MultiSelectField(choices=COUNTRIES, null=True, blank=True, max_length=len(COUNTRIES)) |
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.
@@ -0,0 +1,34 @@ | |||
# Generated by Django 3.2.20 on 2023-09-21 11:01 |
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 because model was updated to handle multiselectfield issue.
@@ -41,6 +41,11 @@ requirements.python: ## Install Python requirements for local development. | |||
|
|||
requirements: requirements.js requirements.python ## Install Python and JS requirements for local development | |||
|
|||
requirements.python_dj42: ## Install Python requirements for Django 4.2 env |
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 temporary targets to provide support for Django 4.2. These can be removed once we upgrade to Django 4.2
build: add separate requirements for django 4.2 env fix: add max_length parameter to fix IndexError in multiselectfield
Description
django 4.2
.Django 4.2
.