Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 40 lines (32 sloc) 1.508 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
from django.conf.urls.defaults import *
from django.conf import settings

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

#from twitterauth.views import twitter_signin, twitter_return
#from feed.views import twitter_feed

from feed.views import friendfeed_vote, friendfeed_results, friendfeed_do_vote

from views import start

urlpatterns = patterns('',
    # Example:
    # (r'^doubleblind/', include('doubleblind.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/(.*)', admin.site.root),

    url(r'^$', start, name='start'),
url(r'^start/$', start, name='start'),
url(r'^login/$','doubleblind.ffauth.views.login',name='login'),
url(r'^logout/$','doubleblind.ffauth.views.logout',name='logout'),
# url('^login/$', twitter_signin, name='login'),
# url('^return/$', twitter_return, name='return'),
# url('^feed/([^/]+)$', twitter_feed, name='feed'),
    url('^vote/$', friendfeed_vote, name='vote'),
    url('^vote/(?P<rating>[^\/]+)$', friendfeed_do_vote, name='vote'),
    url('^results/', friendfeed_results, name='results'),
)
if settings.DEBUG:
    urlpatterns += patterns('',
        (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
    )
Something went wrong with that request. Please try again.