diff --git a/src/trydjango19/urls.py b/src/trydjango19/urls.py index c023786..d88519b 100644 --- a/src/trydjango19/urls.py +++ b/src/trydjango19/urls.py @@ -20,11 +20,13 @@ from django.contrib import admin urlpatterns = [ + # this will go to admin page url(r'^admin/', admin.site.urls), + # this will go to posts page url(r'^posts/', include("posts.urls", namespace='posts')), #url(r'^posts/$', ".views."), ] if settings.DEBUG: urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) - urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) \ No newline at end of file + urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)