Created
March 30, 2019 18:50
-
-
Save pranavcode/4ebe309eb2ac7e270635a4701310d28e to your computer and use it in GitHub Desktop.
Velotio - HashiCorp Consul Part 2 - Django URLs or routes on the project level for our example application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib import admin | |
from django.urls import path, include | |
from django.conf import settings | |
from django.conf.urls.static import static | |
urlpatterns = [ | |
path('admin/', admin.site.urls), | |
path('web', include('tweetapp.urls')), | |
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment