On Jun 24, 7:19 pm, mehdi ait oufkir <me...@punchtab.com> wrote:
>
>     def cleanup_request(request):
>         """
>         Removes `oauth_` keys from various dicts on the
>         request object, and returns the sanitized version.
>         """
>         for method_type in ('GET', 'PUT', 'POST', 'DELETE'):

              if method_type == "POST":
                   import pdb; pdb.set_trace()

>             block = getattr(request, method_type, { })


Then you start the dev server, send a POST request with an empty body,
and step thru the code until you find out  what's happening.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to