Hi folks,

I'm trying to hide the custom 404 error messages from Django.

-------------------------

Page not found (404)
Request Method: GET
Request URL: http://......./non-existent-2008020390

Using the URLconf defined in mailman_web.urls, Django tried these URL
patterns, in this order:

    mailman3/
    archives/
    ^user-profile/delete$ [name='mm_user_account_delete']
    ^user-profile/$ [name='mm_user_profile']
    accounts/
    admin/
    postorius/
    hyperkitty/

The current path, non-existent-2008020390, didn’t match any of these.

You’re seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a standard 404
page.
-----------------------------

Switching DEBUG=True (currently set in settings.py) to false does indeed
hide additional debugging output, but following pages are not accessible
anymore (Server Error).

user-profile/
accounts/logout/
hyperkitty/

Switching back to DEBUG=True brings back accessibility.

This is

Mailman Core-Version GNU Mailman 3.3.9 (Tom Sawyer)
Mailman Core API-Version 3.1
Mailman Core Python-Version 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC
11.4.0]

any help is greatly appreciated.

Thank you.

Stefan
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/TKRI2KCKFUMZPPXAVYW6HJRXHYQMWUNY/

This message sent to arch...@mail-archive.com

Reply via email to