Skip to content

Conversation

@KommuSoft
Copy link
Contributor

The view function references were not backpropagated, now these are backpropagated by checking if this is a view function, and if so thus added to the parent .reverse_dict. The approach is however a bit hacky and thus might be redesigned.

cref: https://code.djangoproject.com/ticket/35244
cref: https://stackoverflow.com/questions/78035103/in-django-is-it-possible-to-use-reverse-redirect-with-a-view-function-not-stri

Willem Van Onsem added 2 commits February 21, 2024 16:46
The view function references were *not* backpropagated, now these are backpropagated by checking if this is a view function, and if so thus added to the parent `.reverse_dict`. The approach is however a bit hacky and thus might be redesigned. Fixing #35244 cref: https://code.djangoproject.com/ticket/35244 cref: https://stackoverflow.com/questions/78035103/in-django-is-it-possible-to-use-reverse-redirect-with-a-view-function-not-stri
The view function references were *not* backpropagated, now these are backpropagated by checking if this is a view function, and if so thus added to the parent `.reverse_dict`. The approach is however a bit hacky and thus might be redesigned. Fixing #35244 cref: https://code.djangoproject.com/ticket/35244 cref: https://stackoverflow.com/questions/78035103/in-django-is-it-possible-to-use-reverse-redirect-with-a-view-function-not-stri
@felixxm
Copy link
Member

felixxm commented Feb 22, 2024

Closing per ticket.

@felixxm felixxm closed this Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants