Skip to content
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

Remove code for unsupported django.VERSION < (3, 2) #718

Closed

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Jan 22, 2024

% django-upgrade --target version=5.0 **/*.py

https://github.com/adamchainz/django-upgrade/blob/main/README.rst

--

- import django

- if django.VERSION < (3, 2):
-     default_app_config = 'django_celery_beat.apps.BeatConfig'

@bukacdan
Copy link

bukacdan commented Feb 1, 2024

What's the status on this? We want to move to Django 5 and we want to keep celery-beat in.

.pre-commit-config.yaml Outdated Show resolved Hide resolved
.pre-commit-config.yaml Outdated Show resolved Hide resolved
.pre-commit-config.yaml Outdated Show resolved Hide resolved
.pre-commit-config.yaml Outdated Show resolved Hide resolved
@cclauss cclauss force-pushed the django-upgrade_--target-version=5.0 branch from fda2ed9 to 090a04b Compare February 12, 2024 06:51
@cclauss cclauss changed the title django-upgrade --target-version=5.0 **/*.py Remove code for unsupported django.VERSION < (3, 2) Feb 12, 2024
@cclauss cclauss requested a review from ulgens February 12, 2024 06:52
@cclauss cclauss closed this Feb 12, 2024
@cclauss cclauss deleted the django-upgrade_--target-version=5.0 branch February 12, 2024 07:30
@cclauss
Copy link
Contributor Author

cclauss commented Feb 12, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants