Skip to content

Commit

Permalink
Import views instead of using strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
timster committed Apr 4, 2014
1 parent 1d1df13 commit b9a2237
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gallery/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
from django.contrib import admin
from django.conf import settings

from stream.views import action_list

urlpatterns = patterns(
'',
url(r'^$', 'stream.views.action_list', name='home'),
url(r'^$', action_list, name='home'),
url(r'^auth/', include('accounts.urls', 'accounts')),
url(r'^admin/', include(admin.site.urls)),
url(r'^', include('photos.urls')),
Expand Down

0 comments on commit b9a2237

Please sign in to comment.