1. Luke Plant
  2. lukeplant_python

Commits

Luke Plant  committed b016a00

Made some fixes for modpython and magic-removal

  • Participants
  • Parent commits 8a0d6cf
  • Branches default

Comments (0)

Files changed (1)

File django/apps/validator/models.py

View file
  • Ignore whitespace
             failure = ValidationFailure(errors=errors)
             failure.path = request.path
             qs = request.META.get('QUERY_STRING','')
-            if len(qs) > 0:
+            if qs is not None and len(qs) > 0:
                 failure.path += '?' + qs
             failure.errors = errors
 
                 request._get_meta()
                 request._get_request()
                 request._get_raw_post_data()
-                request._get_user()
+                u = request.user
                 mp = request._req
                 del request._req # get rid of mp_request
                 try: