Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added requirements and apache configuration.

  • Loading branch information...
commit ef8c4f697cb49c2c7bc5bf7193fc417023b3650a 1 parent d566211
Johan authored
Showing with 24 additions and 5 deletions.
  1. +14 −0 apache/django.wsgi
  2. +0 −5 apps/log/views.py
  3. +10 −0 requirements.txt
View
14 apache/django.wsgi
@@ -0,0 +1,14 @@
+import os
+import sys
+import site
+
+site.addsitedir('/home/johan/.virtualenvs/IllutronDashboard/lib/python2.7/site-packages')
+
+sys.path.append('/home/johan/srv/')
+sys.path.append('/home/johan/srv/IllutronDashboard/')
+
+os.environ['DJANGO_SETTINGS_MODULE'] = 'IllutronDashboard.settings'
+
+import django.core.handlers.wsgi
+
+application = django.core.handlers.wsgi.WSGIHandler()
View
5 apps/log/views.py
@@ -1,9 +1,5 @@
-from django.core import serializers
-
from django.utils import simplejson
-
from django.http import HttpResponse
-from models import Entry
from django.contrib.auth.models import User
def latest(request):
@@ -48,4 +44,3 @@ def latest(request):
return HttpResponse(simplejson.dumps(data), mimetype='application/json')
-
View
10 requirements.txt
@@ -0,0 +1,10 @@
+Django==1.3.1
+PIL==1.1.7
+South==0.7.3
+google-api-python-client==1.0beta4
+httplib2==0.7.1
+oauth2client==1.0beta4
+python-gflags==1.6
+simplejson==2.2.1
+sorl-thumbnail==11.09
+wsgiref==0.1.2
Please sign in to comment.
Something went wrong with that request. Please try again.