This should allow cascading course deletion over notes, but might lose cache sync
[oweals/karmaworld.git] / karmaworld / secret / drive.py.example
index ee87d220ff0dd8248dc350a90c9b5d72b4b2c7d1..43c87ec78e23671ffdc6cd7ab97432783f9d4591 100644 (file)
@@ -1,6 +1,20 @@
 #!/usr/bin/env python
 # -*- coding:utf8 -*-
 # Copyright (C) 2012  FinalsClub Foundation
-""" DO NOT check this file into source control """
+"""
+DO NOT modify this file directly, instead copy it to drive.py and modify
+that file.
+DO NOT check drive.py into source control.
+"""
 
-GOOGLE_USER = 'GDRIVE_ACCOUNT'
+import os
+
+from django.conf import settings
+
+
+CLIENT_SECRET = os.path.join(settings.DJANGO_ROOT, \
+                             'path/to/client_secrets.json')
+
+SERVICE_KEY = os.path.join(settings.DJANGO_ROOT, 'path/to/some.p12')
+
+GOOGLE_USER = 'GOOGLE_APPS_EMAIL_ADDRESS'