- Notifications
You must be signed in to change notification settings - Fork1
Riyadh Linux User Group django-based website.
License
osamak/rlugroup
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a collection Django-based apps that run the website of RiyadhLinux User Group (RLUG). This website, in Arabic, is used formanaging events and registering attendees. In addition, contacts andsponsoring offers are received through the website.
The RLUG website was tested using Django 1.6.5 and Python 2.7.5.Additionally, it utilized the following freely-licensed Django apps:
django-post_office
django-datetime-widget
django-bootstrap3
RLUG-required variables insettings.py
(other than the variablesrequired by DJANGO itself and the dependencies mentioned above):
DEFAULT_FROM_EMAIL
= 'info@riyadhlug.org' # The email address used for everything other than event notifications (currently: only contact emails.)CONTACT_EMAIL_RECIPIENTS
= _['EMAIL_ADDRESS']- # A list of addresses that need to receive the incoming contact emails.CONTACT_SUBJECT_INTRO
= '[RLUGroup] ' # The prefix used in the contact message subjectsEVENT_FROM_EMAIL
=EMAIL_ADDRESS # The email address used for sending event notifications (currently: only contact emails.)
RLUG-required URLS in the project'surl.py
are:
# [...]from django.views.generic import TemplateView# [...]urlpatterns = patterns('', url(r'^$', 'core.views.home', name='home'), url(r'^events/', include('events.urls', namespace='events')), url(r'^admin/', include(admin.site.urls)), url(r'^contact/$', 'core.views.contact', name='contact'), url(r'^charter/$', TemplateView.as_view(template_name='charter.html'), name='charter'), url(r'^sponsor/$', 'core.views.sponsor', name='sponsor'), url(r'^speak/$', 'core.views.speak', name='speak'), url(r'^contact/thanks/$', TemplateView.as_view(template_name='thanks.html'), name='thanks'), url(r'^about/$', TemplateView.as_view(template_name='about.html'), name='about'),)
Additionally, we have a daily scheduled script that automaticallysends reminders two days in advance of events,send_reminders.py
.The cronjob we use is:
0 0 * * * send_reminders.py >> send_reminders.log 2>&1
Copyright (C) 2014 Osama Khalid.
This program is free software: you can redistribute it and/or modifyit under the terms of the GNU Affero General Public License aspublished by the Free Software Foundation, either version 3 of theLicense, or (at your option) any later version.
This program is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNUAffero General Public License for more details.
Additionally, the templates are licensed under both the AGPLv3+ andCreative Commons Attribution-ShareAlike 4.0 International. You canchoose whatever best suits your purposes.