Skip to content

Commit ab13f51

Browse files
author
Kátia Nakamura
committed
about: add django girls info page
1 parent 09fdefc commit ab13f51

File tree

4 files changed

+78
-3
lines changed

4 files changed

+78
-3
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{% extends "base.html" %}
2+
3+
{% load static %}
4+
5+
{% block main_content %}
6+
7+
{# Django Girls #}
8+
9+
<h1 class="title title--yellow mb-xs-20" href="https://djangogirls.org/pyconbalkan/">Django Girls PyCon Balkan</h1>
10+
11+
<hr class="line line--blue line--short line--spaced">
12+
13+
<h2 centered title title--white title--medium title--uppercase mt-xs-20 mb-xs-80>Free programming workshop for women Build your first website at Django Girls PyCon Balkan!</h2>
14+
15+
</br>
16+
<p>
17+
We believe the IT industry will greatly benefit from bringing more women into technology. We want to give you an opportunity to learn how to program and become one of us – women programmers!
18+
19+
Workshops are free of charge and if you cannot afford coming to Belgrade but are very motivated to learn and then share your knowledge with others, we may have some funds to help you out with your travel costs and accommodation. The applications will be oppened soon! Stay tuned!
20+
</p>
21+
<div class="card">
22+
<a class="menu__list__link menu__list__link--featured" href="https://djangogirls.org/pyconbalkan/"
23+
target="_blank" role="button">Django Girls PyCon Balkan Website</a>
24+
</div>
25+
26+
<hr class="line long">
27+
28+
<h2 title title--white title--medium title--uppercase mt-xs-20 mb-xs-80>Applications are now open ❤</h2>
29+
<p>
30+
Application process closes on <b>October 16th</b> and you'll be informed about acceptance or rejection by the end of October(or sooner)!
31+
</p>
32+
33+
<div class="card">
34+
<a class="menu__list__link menu__list__link--featured" href="https://djangogirls.org/pyconbalkan/apply/"
35+
target="_blank" role="button">Apply here!</a>
36+
</div>
37+
38+
<hr class="line long">
39+
40+
<h2 title title--white title--medium title--uppercase mt-xs-20 mb-xs-80>Be a Mentor</h2>
41+
42+
<p>
43+
We would be delighted if you would like to join us as a mentor! Fill the form below if you're interested.
44+
</p>
45+
<div class="card">
46+
<a class="menu__list__link menu__list__link--featured" href="https://docs.google.com/forms/d/e/1FAIpQLSebbvAdGGy1XhBcQPcdyejwjfGBBk3GU144b7_ZJJJgfOxPfw/viewform"
47+
target="_blank" role="button">I want to be a Coach!</a>
48+
</div>
49+
50+
<hr class="line long">
51+
52+
<h2 title title--white title--medium title--uppercase mt-xs-20 mb-xs-80>Call For Sponsors</h2>
53+
54+
<p>
55+
We couldn't be here without the support from amazing people and organizations who donated money, knowledge and time to help us make this a reality. If you want to contribute and support our goal, please send us an email to [email protected]
56+
</p>
57+
58+
<div class="card">
59+
<a class="menu__list__link menu__list__link--featured" href="https://speakerdeck.com/katiayn/django-girls-pycon-balkan-call-for-sponsors"
60+
target="_blank" role="button">Call for Sponsors!</a>
61+
</div>
62+
63+
64+
65+
66+
67+
68+
69+
{% endblock %}

pyconbalkan/about/views.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
from pyconbalkan.about.models import About
55
from pyconbalkan.about.serializers import AboutSerializer
6-
from pyconbalkan.coc.views import coc_view
7-
from pyconbalkan.organizers.views import organizers_list
86

97

108
class AboutViewSet(viewsets.ModelViewSet):
@@ -18,3 +16,7 @@ def about_view(request):
1816
'about': about.first() if about else None,
1917
}
2018
return render(request, 'about.html', context)
19+
20+
21+
def djangogirls_view(request):
22+
return render(request, 'djangogirls.html', {})

pyconbalkan/core/templates/includes/header.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
<a class="menu__list__link {% if request.path == '/timetable' %}active{% endif %}" href="{% url 'timetable' %}" role="button">Timetable</a>
2828
{% endif %}
2929
</li>
30+
<li class="menu__list__item">
31+
<a class="menu__list__link {% if request.path == '/djangogirls' %}active{% endif %}" href="/djangogirls" role="button">Django Girls Blkn</a>
32+
</li>
3033
<li class="menu__list__item">
3134
<a class="menu__list__link {% if request.path == '/info' %}active{% endif %}" href="/info" role="button">Info</a>
3235
</li>

pyconbalkan/urls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from markdownx import urls as markdownx
66

77
from pyconbalkan.about.api_urls import router as about
8-
from pyconbalkan.about.views import about_view
8+
from pyconbalkan.about.views import about_view, djangogirls_view
99
from pyconbalkan.cfp.api_urls import router as cfp
1010
from pyconbalkan.cfp.views import cfp_detail, cfp_list, cfp_view
1111
from pyconbalkan.coc.api_urls import router as coc
@@ -54,6 +54,7 @@
5454
path('volunteers/create/', volunteers_createview, name='volunteers_create'),
5555
path('organizers', organizers_list, name='organizers'),
5656
path('about', about_view, name='about'),
57+
path('djangogirls', djangogirls_view, name='djangogirls'),
5758
path('contact', contact_view, name='contact'),
5859
path('cfp', cfp_view, name='cfp'),
5960
path('cfps', cfp_list, name='cfp_list'),

0 commit comments

Comments
 (0)