Started with google calendar coupling

This commit is contained in:
Martin Bauer
2014-03-08 22:36:25 +01:00
parent 5a3d739a9b
commit ee37a5ddcb
8 changed files with 205 additions and 0 deletions

View File

@@ -158,6 +158,7 @@ INSTALLED_APPS = (
'website', # Blechreiz Website in general
'musicians', # User Management
'eventplanner', # Event Management
'eventplanner_gcal', # Event Management Sync with Google Calendar
'simpleforum', # Messages ( Forum )
'location_field', # custom location field used in Event Management
'scoremanager', # manager of scores, repertoire etc.
@@ -176,6 +177,15 @@ REST_FRAMEWORK = {
}
GCAL_COUPLING = {
'eventPrefix' : 'Blechreiz: ',
'developerKey' : 'blechreiz-homepage',
'clientId' : '34462582242-4kpdvvbi27ajt4u22uitqurpve9o8ipj.apps.googleusercontent.com',
'client_secret' : 'y4t9XBrJdCODPTO5UvtONWWn',
'credentials_file' : PROJECT_PATH + '/calendarCredentials.dat',
}
CRISPY_TEMPLATE_PACK = 'bootstrap'
# A sample logging configuration. The only tangible logging

View File

@@ -10,6 +10,8 @@ import musicians.urls
import website.urls
import scoremanager.urls
from eventplanner_gcal.views import *
import settings
from django.conf.urls.static import static
@@ -24,4 +26,5 @@ urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls) ),
url(r'^location_field/', include('location_field.urls')),
#url(r'^gallery/', include(imagestore.urls, namespace='imagestore') ),
url(r'^eventSync/', runSync )
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)