#33357: SuccessMessageMixin doesn't work with LoginView
-------------------------------------+-------------------------------------
Reporter: Cihat Ertem | Owner: Baptiste
| Mispelon
Type: Bug | Status: closed
Component: contrib.messages | Version: 4.0
Severity: Normal | Resolution: fixed
Keywords: LoginView, | Triage Stage: Accepted
messages, SuccessMessageMixin |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Cihat Ertem):
* resolution: needsinfo => fixed
Comment:
Ok, I found my fault!
I changed urlpattern order from this:
...
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('django.contrib.auth.urls')),
path('', include('base.urls')),
]
to this:
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('base.urls')),
path('', include('django.contrib.auth.urls')),
]
Thanks for your replies. Maybe a note should be add for order priority to
doc. section.
--
Ticket URL: <https://code.djangoproject.com/ticket/33357#comment:3>
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/064.eb3eaacd1db042cae0638f09bf35130a%40djangoproject.com.