#33844: Possible regression with 3.2.10 and admin.ModelAdmin.change_view()
-------------------------------------+-------------------------------------
Reporter: mike dewhirst | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 4.0
Severity: Normal | Resolution: needsinfo
Keywords: stripe admin | Triage Stage:
change_view | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Carlton Gibson):
Playing further to reproduce the error:
```
object_id: '1/change/payment'
request: <WSGIRequest: GET
'/admin/polls/question/1/change/payment/change/'>
```
When trying to resolve the URL in the admin.
The question you need to answer is why the `1/change/payment` is being
generated.
This isn't something we can solve for you, but I'd advise using
`reverse()` rather than building URLs with string formatting.
Happy to look again if you can demonstrate an issue in Django.
Good luck.
--
Ticket URL: <https://code.djangoproject.com/ticket/33844#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070181fd1ca188-b468fa2f-4c86-4442-b643-78c04d9a0a97-000000%40eu-central-1.amazonses.com.