Skip to content

Commit a22fa20

Browse files
committed
update5318
1 parent 1f3875f commit a22fa20

File tree

73 files changed

+41
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+41
-79
lines changed
-23 Bytes
Binary file not shown.
64 Bytes
Binary file not shown.

PyConGhana/settings.py

+22-27
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/
2222

2323

24-
DEBUG = True
24+
DEBUG = False
2525

2626
LOGIN_REDIRECT_URL = '/profile'
2727
SIGNUP_REDIRECT_URL = '/profile'
@@ -90,42 +90,37 @@
9090

9191
ROOT_URLCONF = 'PyConGhana.urls'
9292

93+
# URL prefix for static files.
94+
# Example: "http://media.lawrence.com/static/"
95+
STATIC_URL = "/static/"
96+
97+
# Absolute path to the directory static files should be collected to.
98+
# Don't put anything in this directory yourself; store your static files
99+
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
100+
# Example: "/home/media/media.lawrence.com/static/"
101+
STATIC_ROOT = os.path.join(PROJECT_ROOT, STATIC_URL.strip("/"))
93102

94-
# Absolute filesystem path to the directory that will hold user-uploaded files.
95-
# Example: "/home/media/media.lawrence.com/media/"
96103

97-
#MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
104+
# List of finder classes that know how to find static files in
105+
# various locations.
106+
STATICFILES_FINDERS = (
107+
'django.contrib.staticfiles.finders.FileSystemFinder',
108+
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
109+
)
110+
98111

99112
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
100113
# trailing slash.
101114
# Examples: "http://media.lawrence.com/media/", "http://example.com/media/"
102-
<<<<<<< HEAD
103-
#MEDIA_URL = 'home/pyconghana/pyconghana2018/media/'
104-
#MEDIA_ROOT = 'home/pyconghana/pyconghana2018/media'
105-
MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')
106-
#MEDIA_ROOT = os.path.join(BASE_DIR, *MEDIA_URL.strip("/").split("/"))
107-
MEDIA_URL = '/media/'
108-
=======
109-
110-
111-
#MEDIA_URL = 'home/pyconghana/pyconghana2018/media/'
112-
#MEDIA_ROOT = 'home/pyconghana/pyconghana2018/media'
113-
MEDIA_URL = '/media/'
114-
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
115+
MEDIA_URL = STATIC_URL + "media/"
115116

116-
>>>>>>> 04a3f00734f44a87e626b3c84103ba70b39063fd
117-
118-
119-
STATIC_URL = '/static/'
120-
121-
STATIC_ROOT = os.path.join(PROJECT_ROOT, STATIC_URL.strip("/static/"))
117+
# Absolute filesystem path to the directory that will hold user-uploaded files.
118+
# Example: "/home/media/media.lawrence.com/media/"
119+
MEDIA_ROOT = os.path.join(PROJECT_ROOT, *MEDIA_URL.strip("/").split("/"))
122120

123121
#STATICFILES_STORAGE = 'cloudinary_storage.storage.StaticHashedCloudinaryStorage'
124122

125123

126-
STATICFILES_DIRS = [
127-
os.path.join(BASE_DIR, "static"),
128-
]
129124

130125

131126
TEMPLATES = [
@@ -255,6 +250,6 @@
255250
NEWSLETTER_BATCH_SIZE = 100
256251

257252
# Sets the default site
258-
SITE_ID = 3
253+
SITE_ID = 1
259254

260255
AVATAR_MAX_AVATARS_PER_USER = 5
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.

about/__pycache__/urls.cpython-35.pyc

-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
Binary file not shown.
-23 Bytes
Binary file not shown.

coc/__pycache__/admin.cpython-35.pyc

-23 Bytes
Binary file not shown.

coc/__pycache__/models.cpython-35.pyc

-23 Bytes
Binary file not shown.

coc/__pycache__/urls.cpython-35.pyc

-23 Bytes
Binary file not shown.

coc/__pycache__/views.cpython-35.pyc

-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
Binary file not shown.
-23 Bytes
Binary file not shown.

home/__pycache__/admin.cpython-35.pyc

-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.

home/__pycache__/urls.cpython-35.pyc

-23 Bytes
Binary file not shown.

home/__pycache__/views.cpython-35.pyc

-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.

home/templates/home.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,9 @@
6262
<h1><p class="lead text-center">PyCon Ghana is organized by volunteers and python enthusiasts from the python programming community in Ghana. We expect speakers from Africa and the rest of the world. We will announce the venue soon. The two day conference will bring together students, professionals, experts and enthusiasts who wish to share their knowledge and passion about Python and related technologies. Its purpose is to increase the visibility of developers, organizations, and companies within the community and all necessary stakeholders. The conference is suited for all skill levels, from beginners to expert developers.</p></h1>
6363

6464
<div class="countdown_wrap">
65-
<br>
65+
<!-- <br>
6666
<h6 class="countdown_title text-center">EVENT WILL START IN</h6>
6767
68-
<!-- Countdown JS for the Event Date Starts here.
69-
TIP: You can change your event time below in the Same Format. -->
7068
7169
<ul id="countdown" data-event-date="10 august 2018 08:00:00">
7270
<li class="wow zoomIn" data-wow-delay="0s"> <span class="days">00</span>

newsletter/templates/newsletter/subscription_subscribe_activated.html

+1-30
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,11 @@
33
{% load i18n %}
44

55

6-
<<<<<<< HEAD
76
{% block title %}
87
{% trans "Newsletter" %} {{ newsletter.title }} {{ action }} {% trans "activate" %}
98
{% endblock title %}
109

1110

12-
{% block body %}
13-
<br><br><br><br><br><br>
14-
<section>
15-
16-
<div class="col-md-12">
17-
18-
<div class="panel panel-danger wow fadeInLeft">
19-
20-
<div class="container">
21-
22-
<div class="row ">
23-
24-
<h5 class="page-title wow fadeInDown">{{ newsletter.title }} Newsletter Activation<br></h5><br>
25-
26-
27-
<div class="col-xs-15">
28-
29-
<p>Your subscription has successfully been activated. Thanks</p><br>
30-
31-
</div>
32-
</div>
33-
</div>
34-
</div>
35-
36-
</div>
37-
</section><br><br><br><br><br>
38-
{% endblock body %}
39-
=======
4011
{% block body %}
4112
<br><br><br><br><br><br>
4213
<section>
@@ -56,4 +27,4 @@ <h5 class="page-title wow fadeInDown">{{ newsletter.title }} Newsletter Activati
5627
</section><br><br><br><br><br>
5728
{% endblock body %}
5829

59-
>>>>>>> b18953eea674049e9bcf01ae4e90bcd1fd79f2b9
30+
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

registration/templates/profiles/update.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h4> </h4>
3636
<div class="col-md-10">
3737
<h5 class="page-title wow fadeInDown">Update your Profile {% firstof user.get_short_name user.get_username %}<br></h5>
3838
<form action="" method="post" enctype="multipart/form-data">{% csrf_token %}
39-
<br><h5><a href="/avatar/change" data-toggle="modal" data-target="#avatarC-upload" class="btn warn">Change your Avatar</a></h5><br>
39+
<br><h5><a href="/avatar/change" data-toggle="modal" data-target="#avatarC-upload" class="btn warn">Click here to change your Avatar</a></h5><br>
4040
{% crispy form form.helper %}
4141
</form>
4242
</div>

registration/templates/registration/login.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@
2626
</div><strong>
2727

2828
<p>{% trans "Not Registered?" %} <a href="{% url 'registration_register' %}">{% trans "SIGNUP" %}</a>.</p></strong>
29-
<<<<<<< HEAD
29+
3030
<p><a href="{% url 'auth_password_reset' %}">{% trans "reset my password" %}</a>.</p>
31-
=======
32-
<a href="{% url 'auth_password_reset' %}">{% trans "reset my password" %}</a>.</p>
33-
>>>>>>> 04a3f00734f44a87e626b3c84103ba70b39063fd
31+
3432
</div>
3533
</div>
3634
</form>
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
Binary file not shown.

sponsors/templates/sponsors/sponsors.html

+14-14
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@
1313
<section>
1414
<div class="col-md-12">
1515
<div class="panel panel-danger wow fadeInLeft">
16-
<div class="container">
16+
<div class="container">
1717
<div class="row ">
1818
<h5 class="page-title wow fadeInDown">Our Sponsors<br><small>Sponsors and Supporters of PyCon Ghana 2018</small></h5><br>
19-
<div class="col-xs-12">
19+
<div class="col-md-12">
2020
<p>
2121
<b>Python Conference Ghana is generously sponsored by organisations that support its aim</b>
2222
</p>
2323
<p>Would you like to join them? <a href="/support_us"><b>See How to sponsor PyCon Ghana.</b></a></p><br><br>
2424

2525
{% if diamond %}
26-
26+
2727
<h3 style="color: #000; text-shadow: 2px 2px 3px #b9f2ff"><b>Diamond Sponsors</b></h3>
2828
<br><br>
2929
<div class="container-fluid">
3030
{% for sponsor in diamond %}
31-
<div class="col-xs-6">
31+
<div class="col-md-6">
3232
<p><a href="{{ sponsor.url }}" target="blank"><img src="{{ sponsor.logo.url }}" class='img-responsive'></a></p>
3333
<p><br>
3434
{{ sponsor.description }}
@@ -44,7 +44,7 @@ <h4 style="color: #000; text-shadow: 2px 2px 3px #FFD700"><b>Gold Sponsors</b></
4444
<br />
4545
<div class="container">
4646
{% for sponsor in gold %}
47-
<div class="col-xs-6">
47+
<div class="col-md-6">
4848
<a href="{{ sponsor.url }}" target="_blank"><img src="{{ sponsor.logo.url }}" class='img-responsive'></a>
4949
<p><br>
5050
{{ sponsor.description }}
@@ -55,14 +55,14 @@ <h4 style="color: #000; text-shadow: 2px 2px 3px #FFD700"><b>Gold Sponsors</b></
5555
<br><br>
5656
{% endif %}
5757

58-
58+
5959

6060
{% if silver %}
6161
<h5 style="color: #000; text-shadow: 2px 2px 3px #C0C0C0"><b>Silver Sponsors<b></h5>
6262
<br />
6363
<div class="container">
6464
{% for sponsor in silver %}
65-
<div class="col-xs-6">
65+
<div class="col-md-6">
6666
<a href="{{ sponsor.url }}" target="_blank"><img src="{{ sponsor.logo.url }}" class='img-responsive'></a>
6767
<p><br>
6868
{{ sponsor.description }}
@@ -80,7 +80,7 @@ <h6 style="color: #000; text-shadow: 2px 2px 3px #cd7f32"><b>Bronze Sponsors</b>
8080
<br />
8181
<div class="container">
8282
{% for sponsor in bronze %}
83-
<div class="col-xs-6">
83+
<div class="col-md-6">
8484
<a href="{{ sponsor.url }}" target="_blank"><img src="{{ sponsor.logo.url }}" class='img-responsive'></a>
8585
<p><br>
8686
{{ sponsor.description }}
@@ -95,11 +95,11 @@ <h6 style="color: #000; text-shadow: 2px 2px 3px #cd7012"><b>Special Sponsors</b
9595
<br />
9696
<div class="container">
9797
{% for sponsor in special %}
98-
<div class="col-xs-4">
98+
<div class="col-md-4">
9999
<a href="{{ sponsor.url }}" target="_blank"><img src="{{ sponsor.logo.url }}" class='img-responsive'></a>
100-
<p><br>
100+
<p>
101101
{{ sponsor.description }}
102-
</p>
102+
</p><br>
103103
</div>
104104
{% endfor %}
105105
</div><br><br>
@@ -112,16 +112,16 @@ <h6 style="color: #000; text-shadow: 2px 2px 3px "><b>Individual Sponsors</b></h
112112
<div class="container-fluid">
113113
<div class="row">
114114
{% for individual in individuals %}
115-
<div class="col-xs-2">
115+
<div class="col-md-2">
116116
<h6><a href="{{ individual.url }}" target="_blank">{{ individual.name }}</a></h6>
117117
</div>
118118
{% endfor %}
119-
119+
120120
</div>
121121
</div>
122122
{% endif %}
123123
<br><br>
124-
124+
125125
</div>
126126

127127
</div>

static/avatar.png

7.37 KB

static/video/avatar.png

7.37 KB
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.

talks/__pycache__/urls.cpython-35.pyc

-23 Bytes
Binary file not shown.
-23 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)