created template for member registy app

This commit is contained in:
okalintu
2016-05-30 19:23:00 +03:00
parent 33f87ff87b
commit 16fc5bd58a
10 changed files with 28 additions and 0 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 MembersConfig(AppConfig):
name = 'members'
View File
+14
View File
@@ -0,0 +1,14 @@
from django.db import models
class Member(models.Model):
'''
Member model represets one member on the registry
'''
first_name = models.CharField(max_length=127)
last_name = models.CharField(max_length=127)
email = models.EmailField()
AYY = models.BooleanField()
jas = models.BooleanField()
POR = models.BooleanField() # place of residence
View File
View File
View File
+3
View File
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+3
View File
@@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.