mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
18 lines
404 B
Python
18 lines
404 B
Python
from django.conf.urls import include, url
|
|
from django.urls import path
|
|
|
|
from django.contrib import admin
|
|
admin.autodiscover()
|
|
|
|
import hello.views
|
|
|
|
# Examples:
|
|
# url(r'^$', 'gettingstarted.views.home', name='home'),
|
|
# url(r'^blog/', include('blog.urls')),
|
|
|
|
urlpatterns = [
|
|
url(r'^$', hello.views.index, name='index'),
|
|
url(r'^db', hello.views.db, name='db'),
|
|
path('admin/', admin.site.urls),
|
|
]
|