Adding placeholder text in the presentation proposal form #1
2
.gitignore
vendored
2
.gitignore
vendored
@ -6,5 +6,5 @@
|
||||
*.sock
|
||||
*.pid
|
||||
*.python-version
|
||||
|
||||
/conference/settings.py.backup
|
||||
99_vault.yaml
|
||||
|
@ -29,6 +29,10 @@ INSTALLED_APPS.append('storages')
|
||||
|
||||
SITE_ID = int(os.environ.get('SITE_ID'))
|
||||
|
||||
INSTALLED_APPS.append('storages')
|
||||
|
||||
SITE_ID = 2
|
||||
|
||||
BLENDER_ID = {
|
||||
# MUST end in a slash:
|
||||
'BASE_URL': os.environ.get('BASE_URL'),
|
||||
|
@ -37,7 +37,11 @@ class PresentationForm(forms.ModelForm):
|
||||
|
||||
|
||||
class MessageForm(forms.Form):
|
||||
message = forms.CharField(widget=forms.Textarea)
|
||||
message = forms.CharField(widget=forms.Textarea(
|
||||
attrs={'placeholder': '''
|
||||
(Main Stage, 20 minutes)\n\nThis totally awesome talk is going to be about...
|
||||
'''
|
||||
))
|
||||
|
||||
|
||||
class FestivalEntryForm(forms.ModelForm):
|
||||
|
@ -10,4 +10,9 @@ a.whoosh.whoosh-page(href="{% url 'admin:flatpages_flatpage_change' flatpage.id
|
||||
| {% block content_main %}
|
||||
.flatpage
|
||||
| {{ flatpage.content }}
|
||||
|
||||
| {% endblock content_main %}
|
||||
|
||||
| {% block site_footer %}
|
||||
| {% include "conference_main/components/sponsors.pug" %}
|
||||
| {% endblock site_footer %}
|
||||
|
@ -1,4 +1,5 @@
|
||||
import logging
|
||||
from datetime import datetime
|
||||
|
||||
from django import urls
|
||||
from django.contrib import messages
|
||||
|
Loading…
Reference in New Issue
Block a user