I'm running a Django site via apache2 + mod_python. I'm not using any
Django related authentication mechanism, just apache digest
authentication against a flat file.
I need to know what user is currently authenticated by apache. Some
people on #django have had point me to PythonAuthHandler but I
I'm using Django trunk r7047. This is my code
prj/validators.py
===
from django.core.validators import ValidationError
class StringLengthIs(object):
def __init__(self, length, error_message=''):
self.length = length
if not error_message:
self.error_message
2 matches
Mail list logo