Opened 12 years ago

Closed 12 years ago

#2903 closed enhancement (wontfix)

A very little patch in django.contrib.auth.handlers.modpython

Reported by: mario__ Owned by: Adrian Holovaty
Component: Contrib apps Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Hi to all, I'm very intrested to help in django code. Right now I'm playing with modpython from django.contrib.auth.handlers cause I'd like to serve private static files when my users are authentified only, that's way I started to see how these module works. So, I figured out when DJANGO_SETTINGS_MODULE is not enabled I've got an 'Internal Server Error'. IMVHO this is a mistake, I'd like to show you my very small patch.

PS: sorry my English :(

Attachments (1)

modpython.patch (448 bytes) - added by mario__ 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by mario__

Attachment: modpython.patch added

comment:1 Changed 12 years ago by jkocherhans

Resolution: wontfix
Status: newclosed

I see your point, but this patch hides what is actually a configuration error, and doesn't even write anything to a log. Applying this patch would make things very hard to debug. All authorization attempts would just silently fail.

Note: See TracTickets for help on using tickets.
Back to Top