Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
80 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 3.0.2 on 2020-02-15 17:26 | ||
|
||
import django.contrib.postgres.fields.jsonb | ||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('osmcal', '0014_auto_20200201_1440'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='participationquestion', | ||
name='quota', | ||
), | ||
migrations.AddField( | ||
model_name='eventparticipation', | ||
name='answers', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block title %} | ||
{{ event.name }} Questionnaire | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<h1>Attend ”{{ event.name }}”</h1> | ||
<div class="text">The event organiser wants you to answer you some questions for sign-up. Answers are publicly visible.</div> | ||
|
||
<form method="POST"> | ||
<input hidden name="signup-answers" value="1"> | ||
{{ form }} | ||
{% csrf_token %} | ||
|
||
<button>Sign up</button> | ||
</form> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters