mirror of
https://github.com/django/django.git
synced 2025-03-29 02:30:48 +00:00
Slightly more informative message to user
This commit is contained in:
parent
aa8c36118c
commit
fcc3f31388
@ -1937,7 +1937,9 @@ class ModelAdmin(BaseModelAdmin):
|
||||
return SimpleTemplateResponse(
|
||||
"admin/invalid_setup.html",
|
||||
{
|
||||
"title": _("Database error"),
|
||||
"title": _(
|
||||
"Database error/IncorrectLookupParameters in query string"
|
||||
),
|
||||
},
|
||||
)
|
||||
return HttpResponseRedirect(request.path + "?" + ERROR_FLAG + "=1")
|
||||
|
Loading…
x
Reference in New Issue
Block a user