Created
June 17, 2020 05:13
-
-
Save velotiotech/e06093e8f6e3740dce464c18e1e75b1e 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 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