zulip/humbug
Leo Franchi 0846ebd4b5 Revert use of rest_dispatch for beanstalk
For beanstalk we need to provide a decorator that converts %40 to @ in the
http basic auth part of the URL. However, if we put our own wrapper around
rest_dispatch, the Django CSRF protection jumps in. This requires us to put
@csrf_exempt on our extra dispatch function, at which point we might as well
have avoided rest_dispatch in the first place and put a @csrf_exempt decorator
on our api_beanstalk_webhook.

(imported from commit b1f459aad26a5b80cce93f6c859240a53c11cc22)
2013-05-20 23:37:58 -04:00
..
__init__.py Initial Django commit: basic account, zephyr stream, narrowing, etc. 2012-08-28 12:44:51 -04:00
authhack.py Fix logging in with email addresses long than 30 characters. 2013-01-16 17:02:06 -05:00
backends.py [manual] Authenticate using a user_profile as request.user. 2013-04-02 12:07:08 -04:00
ratelimit.py settings: Add docs on how to properly test our email handler. 2013-03-15 14:53:17 -04:00
settings.py Add a tab bar at the top of the Message list to aid navigation 2013-05-20 23:37:57 -04:00
test_settings.py Fix logging configuration for Django 1.5. 2013-03-28 07:36:10 -04:00
urls.py Revert use of rest_dispatch for beanstalk 2013-05-20 23:37:58 -04:00
wsgi.py Remove more commented out example code 2012-10-29 23:21:00 -04:00