Opened 8 years ago

Closed 8 years ago

#2903 closed enhancement (wontfix)

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

Reported by: mario__ Owned by: adrian
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: UI/UX:

Description

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__ 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by mario__

comment:1 Changed 8 years ago by jkocherhans

  • Resolution set to wontfix
  • Status changed from new to closed

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