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

Placeholder for Django 5.0 db_default support #302

Closed
sparrowt opened this issue Sep 18, 2023 · 1 comment · Fixed by #313
Closed

Placeholder for Django 5.0 db_default support #302

sparrowt opened this issue Sep 18, 2023 · 1 comment · Fixed by #313

Comments

@sparrowt
Copy link
Contributor

This is currently a bit light on detail but I wanted to put in a ticket early so that this is tracked.

Since this ticket was fixed in May 2023 https://code.djangoproject.com/ticket/470#comment:69 there is now an option db_default coming in Django 5.0 https://docs.djangoproject.com/en/dev/releases/5.0/#database-computed-default-values

If the description in this open PR is still correct michiya/django-pyodbc-azure#38 then we may need to port those (or similar) changes to this repo, in order to drop the DEFAULT constraint so that removing a field with such a constraint does not fail.

@mShan0
Copy link
Contributor

mShan0 commented Sep 18, 2023

Thanks for the heads up!

@dauinsight dauinsight linked a pull request Nov 7, 2023 that will close this issue
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 a pull request may close this issue.

3 participants