Skip to content

Instantly share code, notes, and snippets.

@hanjae-jea
Created July 30, 2018 07:38
Show Gist options
  • Save hanjae-jea/3ecf41876471d723848afa91409a6a83 to your computer and use it in GitHub Desktop.
Save hanjae-jea/3ecf41876471d723848afa91409a6a83 to your computer and use it in GitHub Desktop.
nonmame
from django.conf.urls import include, url
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^bookmark/', include('bookmark.urls', namespace='bookmark')),
url(r'^blog/', include('blog.urls', namespace='blog')),
]
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment