Source

eggDiscover / followerslookup / urls.py

Full commit
from django.conf.urls.defaults import patterns, url
from views import CsvGenericListView,TwitterUserDetailView#,GenericListView
from django.views.generic import TemplateView
from models import TwitterUser, User

urlpatterns = patterns('',
    url(r'^howto/$',TemplateView.as_view(template_name="how-to.html")),
#    url(r'^twitteruser/(?P<user>\w+)/$',GenericListView.as_view(model = User, paginate_by=100)),
    url(r'^lookup/complete/(?P<user>\w+)/$',
        CsvGenericListView.as_view(model = User),
        {'complete':True}
        ),
    url(r'^lookup/(?P<user>\w+)/$',
        CsvGenericListView.as_view(model = User,paginate_by=100)),
    url(r'^lookup/$',CsvGenericListView.as_view(model = User,paginate_by=100)),

    url(r'^test/(?P<pk>\d+)/$',TwitterUserDetailView.as_view(model=TwitterUser)),
    )