Groundkeeping
This commit is contained in:
parent
049b672c00
commit
86d0a300ae
@ -11,7 +11,7 @@ class ExplorerCreationForm(UserCreationForm):
|
|||||||
class Meta:
|
class Meta:
|
||||||
model = Explorer
|
model = Explorer
|
||||||
fields = ('username', 'email')
|
fields = ('username', 'email')
|
||||||
voucher = forms.CharField(max_length=10)
|
voucher = forms.CharField(max_length=10, help_text='The Voucher you got from an administrator')
|
||||||
|
|
||||||
def is_valid(self):
|
def is_valid(self):
|
||||||
super().is_valid()
|
super().is_valid()
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 3.0.9 on 2020-08-03 16:36
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('lostplaces_app', '0008_auto_20200801_1044'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='place',
|
||||||
|
name='submitted_when',
|
||||||
|
field=models.DateTimeField(auto_now_add=True, null=True),
|
||||||
|
),
|
||||||
|
]
|
@ -0,0 +1,20 @@
|
|||||||
|
# Generated by Django 3.0.9 on 2020-08-03 17:07
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
import easy_thumbnails.fields
|
||||||
|
import lostplaces_app.models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('lostplaces_app', '0009_place_submitted_when'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='placeimage',
|
||||||
|
name='filename',
|
||||||
|
field=easy_thumbnails.fields.ThumbnailerImageField(upload_to=lostplaces_app.models.generate_image_upload_path),
|
||||||
|
),
|
||||||
|
]
|
@ -1,11 +1,3 @@
|
|||||||
@font-face {
|
|
||||||
font-family: Crimson;
|
|
||||||
src: url("fonts/Crimson/CrimsonText-Regular.ttf"), url("fonts/Crimson/CrimsonText-Bold.ttf"), url("fonts/Crimson/CrimsonText-Italic.ttf"); }
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: Montserrat;
|
|
||||||
src: url("fonts/Montserrat/Montserrat-Regular.otf"), url("fonts/Montserrat/Montserrat-Bold.otf"), url("fonts/Montserrat/Montserrat-Italic.otf"); }
|
|
||||||
|
|
||||||
.LP-Link {
|
.LP-Link {
|
||||||
color: #565656;
|
color: #565656;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@ -420,6 +412,9 @@
|
|||||||
.LP-HorizontalLine {
|
.LP-HorizontalLine {
|
||||||
color: #565656; }
|
color: #565656; }
|
||||||
|
|
||||||
|
.LP-Section {
|
||||||
|
clear: both; }
|
||||||
|
|
||||||
@media (max-width: 650px) {
|
@media (max-width: 650px) {
|
||||||
.LP-MainContainer {
|
.LP-MainContainer {
|
||||||
width: 100%; } }
|
width: 100%; } }
|
||||||
|
@ -29,6 +29,11 @@
|
|||||||
{% include 'partials/form/inputField.html' with field=form.password2 %}
|
{% include 'partials/form/inputField.html' with field=form.password2 %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="LP-Form__Composition">
|
||||||
|
<div class="LP-Form__Field">
|
||||||
|
{% include 'partials/form/inputField.html' with field=form.voucher %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="LP-Form__Composition">
|
<div class="LP-Form__Composition">
|
||||||
<input type="submit" class="LP-Button" value="Registrieren"/>
|
<input type="submit" class="LP-Button" value="Registrieren"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user