Skip to content

Instantly share code, notes, and snippets.

@nidhinp
Created August 11, 2019 11:55
Show Gist options
  • Save nidhinp/d2638f3333cc53eae999a594bb47e7c9 to your computer and use it in GitHub Desktop.
Save nidhinp/d2638f3333cc53eae999a594bb47e7c9 to your computer and use it in GitHub Desktop.
from django.conf.urls import patterns, include, url
from views import graph
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'graphs_django.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
url(r'^admin/', include(admin.site.urls)),
url(r'^$', graph),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment