add call for sponsors and call for speakers placeholder text

This commit is contained in:
Thomas Steen Rasmussen 2016-06-06 18:48:55 +02:00
parent 3e5a56f322
commit 12862a2466
3 changed files with 32 additions and 1 deletions

View file

@ -0,0 +1,9 @@
{% extends 'base.html' %}
{% block content %}
<h2>Speaking at BornHack</h2>
<p>Call for speakers goes here</p>
{% endblock %}

View file

@ -0,0 +1,9 @@
{% extends 'base.html' %}
{% block content %}
<h2>Become a sponsor</h2>
<p>Call for sponsors goes here</p>
{% endblock %}

View file

@ -8,7 +8,7 @@ from allauth.account.views import (
) )
from django.conf.urls import include, url from django.conf.urls import include, url
from django.contrib import admin from django.contrib import admin
from django.views.generic import TemplateView from django.views.generic import TemplateView, RedirectView
urlpatterns = [ urlpatterns = [
url( url(
@ -31,6 +31,18 @@ urlpatterns = [
TemplateView.as_view(template_name='coc.html'), TemplateView.as_view(template_name='coc.html'),
name='conduct' name='conduct'
), ),
url(
r'call-for-sponsors/',
TemplateView.as_view(template_name='sponsors.html'),
name='call-for-sponsors'
),
url(r'^sponsors/$', RedirectView.as_view(url=reverse_lazy('call-for-sponsors'), permanent=True)),
url(
r'call-for-speakers/',
TemplateView.as_view(template_name='speakers.html'),
name='call-for-speakers'
),
url(r'^speakers/$', RedirectView.as_view(url=reverse_lazy('call-for-speakers'), permanent=True)),
url( url(
r'^login/$', r'^login/$',
LoginView.as_view(), LoginView.as_view(),
@ -65,4 +77,5 @@ urlpatterns = [
), ),
url(r'^accounts/', include('allauth.urls')), url(r'^accounts/', include('allauth.urls')),
url(r'^admin/', include(admin.site.urls)), url(r'^admin/', include(admin.site.urls)),
] ]