create templates

This commit is contained in:
2017-01-09 20:42:59 +01:00
parent eaa7a210ce
commit be8e072675
5 changed files with 65 additions and 1 deletions

View File

@@ -15,9 +15,11 @@ Including another URLconf
"""
from django.conf.urls import url, include
from django.contrib import admin
from django.views.generic import RedirectView
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
url(r'^billard/', include('billard.urls')),
url(r'^.*$', RedirectView.as_view(url='billard/', permanent=False), name='index')
]