This commit is contained in:
2018-10-29 17:11:08 +01:00
parent a9c9d44d8c
commit 287d3c78f4
17 changed files with 111 additions and 2 deletions
View File
+3
View File
@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.
+5
View File
@@ -0,0 +1,5 @@
from django.apps import AppConfig
class PollsConfig(AppConfig):
name = 'polls'
View File
+3
View File
@@ -0,0 +1,3 @@
from django.db import models
# Create your models here.
+3
View File
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+6
View File
@@ -0,0 +1,6 @@
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.index, name='index'),
]
+6
View File
@@ -0,0 +1,6 @@
from django.http import HttpResponse
def index(request):
return HttpResponse('lalala')
# Create your views here.