Skip to content

Commit

Permalink
Ch05: Route root to blog with include.
Browse files Browse the repository at this point in the history
  • Loading branch information
jambonrose committed Jul 30, 2015
1 parent 3ddb5f3 commit 4dc1d03
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions suorganizer/urls.py
Expand Up @@ -17,12 +17,10 @@
from django.contrib import admin

from blog import urls as blog_urls
from blog.views import PostList
from organizer import urls as organizer_urls

urlpatterns = [
url(r'^$',
PostList.as_view()),
url(r'^$', include(blog_urls)),
url(r'^admin/', include(admin.site.urls)),
url(r'^blog/', include(blog_urls)),
url(r'^', include(organizer_urls)),
Expand Down

0 comments on commit 4dc1d03

Please sign in to comment.