Skip to content
Snippets Groups Projects
Commit 347521f4 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

make runserver works

parent f8b7f96b
No related tags found
No related merge requests found
Pipeline #10850 passed
...@@ -26,7 +26,7 @@ SECRET_KEY = '110qzc77+t2o8cp&ijk!mpxb=*)7v*!xs2pj^t5=#=n*seo$i!' ...@@ -26,7 +26,7 @@ SECRET_KEY = '110qzc77+t2o8cp&ijk!mpxb=*)7v*!xs2pj^t5=#=n*seo$i!'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
ALLOWED_HOSTS = [] ALLOWED_HOSTS = ['*']
# Application definition # Application definition
......
from django.http import HttpResponse from django.http import HttpResponse
from django.urls import path, include from django.urls import path, include
from django.views.generic import TemplateView
def blabla(request): def blabla(request):
...@@ -7,6 +8,6 @@ def blabla(request): ...@@ -7,6 +8,6 @@ def blabla(request):
urlpatterns = [ urlpatterns = [
path('', blabla, name='home'), path('', TemplateView.as_view(template_name='basetheme_bootstrap/base4.html'), name='home'),
path('', include('basetheme_bootstrap.urls')), path('', include('basetheme_bootstrap.urls')),
] ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment