Source

django-accounts / tests / testsite / urls.py

Diff from to

tests/testsite/urls.py

 from django.conf.urls import patterns, include, url
+from .views import HomePageView
 
 # Uncomment the next two lines to enable the admin:
 # from django.contrib import admin
 
 urlpatterns = patterns('',
     # Examples:
-    # url(r'^$', 'testsite.views.home', name='home'),
+    url(r'^$', HomePageView.as_view(), name='home'),
     # url(r'^testsite/', include('testsite.foo.urls')),
+    url(r'^accounts/', include('accounts.urls')),
 
     # Uncomment the admin/doc line below to enable admin documentation:
     # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),