Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created Jun 17, 2020
Embed
What would you like to do?
Velotio - HashiCorp Consul Part 2 - Django URLs or routes on the project level for our example application
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