20 lines
338 B
Python
20 lines
338 B
Python
# minimal django application
|
|
|
|
from django.urls import path
|
|
from django.http import HttpResponse
|
|
from django.core.wsgi import get_wsgi_application
|
|
|
|
SECRET_KEY = 'a'
|
|
ROOT_URLCONF = 'app'
|
|
|
|
|
|
def home(request):
|
|
print('coucou')
|
|
return HttpResponse('Yoohoo!')
|
|
|
|
urlpatterns = [
|
|
path('', home),
|
|
]
|
|
|
|
application = get_wsgi_application()
|