Skip to content

Instantly share code, notes, and snippets.

@RedGhoul
Created December 9, 2017 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RedGhoul/893fd985792da98df918557d8c29ff88 to your computer and use it in GitHub Desktop.
Save RedGhoul/893fd985792da98df918557d8c29ff88 to your computer and use it in GitHub Desktop.
from django.conf.urls import url
from django.contrib import admin
from django.conf.urls import include
from first_app import views
urlpatterns = [
url(r'^$',views.index,name='index'),
url(r'^admin/', admin.site.urls),
url(r'^first_app/',include('first_app.urls')),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment