Skip to content

Django 5 upgrade#404

Open
duckduckgrayduck wants to merge 46 commits into
masterfrom
django_5_upgrade
Open

Django 5 upgrade#404
duckduckgrayduck wants to merge 46 commits into
masterfrom
django_5_upgrade

Conversation

@duckduckgrayduck

@duckduckgrayduck duckduckgrayduck commented May 27, 2026

Copy link
Copy Markdown
Contributor

@duckduckgrayduck duckduckgrayduck force-pushed the django_5_upgrade branch 2 times, most recently from 3401e7e to ac30f13 Compare May 28, 2026 01:01
Comment thread .github/workflows/lambda.yml Outdated
Comment thread config/settings/base.py Outdated
Comment thread config/settings/production.py Outdated
duckduckgrayduck and others added 3 commits May 28, 2026 14:56
Co-authored-by: Chris Amico <eyeseast@gmail.com>
Co-authored-by: Chris Amico <eyeseast@gmail.com>
Comment thread documentcloud/addons/models.py Outdated
@eyeseast

Copy link
Copy Markdown
Contributor

I've looked at every file. The only thing blocking is the data field is duplicated in AddOnRun. Everything else is just cleanup.

Comment thread requirements/base.in
# Django REST Framework
djangorestframework
rest-social-auth
social-auth-core[openidconnect]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was openidconnect dropped here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was dropped as an extra. No extras are needed anymore. See:
python-social-auth/social-docs#274
&
nautobot/nautobot#5565

from djchoices import ChoiceItem, DjangoChoices

class Event(models.IntegerChoices):
def __new__(cls, value, label=None, api=False):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This __new__ method is duplicated in every choices model. It could be turned into a mixin instead. Not blocking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants