largely made standalone, should now be installable as a python package and should not need to be made part of your application. You should also no longer need to modify the source to get it working by adding your keys in.
Also added parameters and settings for the callback urls.
This commit is contained in:
parent
9aa7c87d1d
commit
7fa1747b38
5 changed files with 73 additions and 31 deletions
|
|
@ -1,13 +1,13 @@
|
|||
from django.conf.urls.defaults import *
|
||||
|
||||
# your_app = name of your root djang app.
|
||||
urlpatterns = patterns('your_app.twython_django_oauth.views',
|
||||
urlpatterns = patterns('twython_django_oauth.views',
|
||||
|
||||
# First leg of the authentication journey...
|
||||
(r'^login/?$', "begin_auth"),
|
||||
|
||||
# Logout, if need be
|
||||
(r'^/logout?$', "logout"), # Calling logout and what not
|
||||
(r'^logout/?$', "logout"), # Calling logout and what not
|
||||
|
||||
# This is where they're redirected to after authorizing - we'll
|
||||
# further (silently) redirect them again here after storing tokens and such.
|
||||
|
|
|
|||
Reference in a new issue