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