Remove ilmotunkki
This commit is contained in:
@@ -1,49 +0,0 @@
|
|||||||
# Ilmotunkki
|
|
||||||
|
|
||||||
## Terms
|
|
||||||
- Signup, Form with collection of questions
|
|
||||||
- Response, One answer to some signup
|
|
||||||
- Quota, Amount of people allowed to respond with some option selected.
|
|
||||||
- In generic case there is no option and quota is just max number of people.
|
|
||||||
|
|
||||||
## Requirements
|
|
||||||
|
|
||||||
- Officials may generate signups forms
|
|
||||||
- Officials may see results from signups
|
|
||||||
- Officials may see some stats from their signups
|
|
||||||
- for example distributions of multiple choice answers
|
|
||||||
- Officials should be able to edit signups wherever possible
|
|
||||||
- Propably not possible to edit after first response
|
|
||||||
- Officials should be able to delete responses
|
|
||||||
- Officials should be able to embed payment information to the signup?
|
|
||||||
- TODO: is there need for unique reference numbers for every response?
|
|
||||||
- Officials should be able to save a signup to a reusable template.
|
|
||||||
- Possibility to save templates?
|
|
||||||
|
|
||||||
- Signup may be attached to an event
|
|
||||||
- Multiple signups to a single event should be possible (FTMK uses for museum visits? Erna asked if it was possible in old web)
|
|
||||||
- Possibility for external service (Google Form, URL will suffice)
|
|
||||||
|
|
||||||
- Signup should support custom quotas
|
|
||||||
- Atleast quotas from multiple choices and checkboxes
|
|
||||||
- Text quotas are risky (typos everywhere!!)
|
|
||||||
- Signup should have start and end times
|
|
||||||
- Signup should support atleast following questiontypes
|
|
||||||
- Text
|
|
||||||
- multiple choice (select one)
|
|
||||||
- checkbox (boolean yes/no)
|
|
||||||
|
|
||||||
- Signup should support reserve slots.
|
|
||||||
- TODO: quota based reserves or generic? or both?
|
|
||||||
|
|
||||||
- Responding should send confirm email
|
|
||||||
- Response should be editable by responder and only by the responder until the closing of the signup
|
|
||||||
- TODO: is there need to custom edit period or disable?
|
|
||||||
|
|
||||||
- Responders should see amount of quotas left.
|
|
||||||
- Responders should see some information about other responses
|
|
||||||
- TODO: names? should this be editable by officials?
|
|
||||||
- Or superadmin can edit and the one signing up within edit period
|
|
||||||
- NOTE: Quota related info is exposed if any info is printed
|
|
||||||
- When quotas need to be hidden? PoTa?
|
|
||||||
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
from django.contrib import admin
|
|
||||||
|
|
||||||
# Register your models here.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
from django.apps import AppConfig
|
|
||||||
|
|
||||||
|
|
||||||
class IlmotunkkiConfig(AppConfig):
|
|
||||||
name = 'ilmotunkki'
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
from django.db import models
|
|
||||||
from django.utils import timezone
|
|
||||||
|
|
||||||
|
|
||||||
class Signup(models.Model):
|
|
||||||
start = models.DateTimeField()
|
|
||||||
end = models.DateTimeField()
|
|
||||||
|
|
||||||
|
|
||||||
class Question(models.Model):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class Answer(models.Model):
|
|
||||||
signup = models.ForeignKey(Signup, on_delete=models.CASCADE)
|
|
||||||
question = models.ForeignKey(Question, on_delete=models.PROTECT)
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
from django.test import TestCase
|
|
||||||
|
|
||||||
# Create your tests here.
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
from django.shortcuts import render
|
|
||||||
|
|
||||||
# Create your views here.
|
|
||||||
Reference in New Issue
Block a user