Django startapp

This commit is contained in:
Ludovic Stephan 2020-11-19 17:29:43 +01:00
parent 5c742d5004
commit e62178f508
7 changed files with 17 additions and 0 deletions

0
votes/__init__.py Normal file
View file

3
votes/admin.py Normal file
View file

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

5
votes/apps.py Normal file
View file

@ -0,0 +1,5 @@
from django.apps import AppConfig
class VotesConfig(AppConfig):
name = 'votes'

View file

3
votes/models.py Normal file
View file

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
votes/tests.py Normal file
View file

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
votes/views.py Normal file
View file

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.