david / django-oauth (http://oauth.net/)
Support of OAuth in Django. Note that http://code.welldev.org/django-oauth-plus will use python-oauth2 if you're interested in it.
| commit 47: | aa3ed686b9d4 |
| parent 46: | a28ff5a1ae38 |
| branch: | default |
oauth_provider.views: Ensure that HttpResponseBadRequest is imported.
10 months ago
Changed (Δ31 bytes):
raw changeset »
oauth_provider/views.py (2 lines added, 1 lines removed)
Up to file-list oauth_provider/views.py:
1 |
1 |
from oauth.oauth import OAuthError |
2 |
2 |
|
3 |
3 |
from django.conf import settings |
4 |
from django.http import |
|
4 |
from django.http import ( |
|
5 |
HttpResponse, HttpResponseBadRequest, HttpResponseRedirect) |
|
5 |
6 |
from django.utils.translation import ugettext as _ |
6 |
7 |
from django.contrib.auth.decorators import login_required |
7 |
8 |
from django.core.urlresolvers import get_callable |
