Django startapp
This commit is contained in:
parent
5c742d5004
commit
e62178f508
7 changed files with 17 additions and 0 deletions
0
votes/__init__.py
Normal file
0
votes/__init__.py
Normal file
3
votes/admin.py
Normal file
3
votes/admin.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
from django.contrib import admin
|
||||||
|
|
||||||
|
# Register your models here.
|
5
votes/apps.py
Normal file
5
votes/apps.py
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
|
class VotesConfig(AppConfig):
|
||||||
|
name = 'votes'
|
0
votes/migrations/__init__.py
Normal file
0
votes/migrations/__init__.py
Normal file
3
votes/models.py
Normal file
3
votes/models.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
from django.db import models
|
||||||
|
|
||||||
|
# Create your models here.
|
3
votes/tests.py
Normal file
3
votes/tests.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
from django.test import TestCase
|
||||||
|
|
||||||
|
# Create your tests here.
|
3
votes/views.py
Normal file
3
votes/views.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
from django.shortcuts import render
|
||||||
|
|
||||||
|
# Create your views here.
|
Loading…
Reference in a new issue