--- a/web/hdabo/management/commands/importcsv.py Sat Jun 11 03:21:09 2011 +0200
+++ b/web/hdabo/management/commands/importcsv.py Sat Jun 11 03:30:18 2011 +0200
@@ -9,7 +9,7 @@
from django.core.management.base import BaseCommand, CommandError
from django.db import transaction
-from hdabo.models import (Author, Datasheet, DocumentFormat, Domain, Organisation,
+from hdabo.models import (Author, Datasheet, DocumentFormat, Domain, Organisation,
Tag, TaggedSheet, TimePeriod, Location)
from optparse import make_option
import csv
--- a/web/hdabo/modwsgi.wsgi Sat Jun 11 03:21:09 2011 +0200
+++ b/web/hdabo/modwsgi.wsgi Sat Jun 11 03:30:18 2011 +0200
@@ -15,7 +15,7 @@
sys.path.append(environ['PROJECT_PATH'])
for path in environ.get('PYTHON_PATH', "").split(os.pathsep):
if path:
- site.addsitedir(path)
+ site.addsitedir(path) #@UndefinedVariable
new_sys_path = []
for item in list(sys.path):
--- a/web/hdabo/views.py Sat Jun 11 03:21:09 2011 +0200
+++ b/web/hdabo/views.py Sat Jun 11 03:30:18 2011 +0200
@@ -77,7 +77,7 @@
#@login_required
def TagUpDown(request):
ds_id = request.POST["datasheet_id"]
- tag_id = request.POST["tag_id"]
+ #tag_id = request.POST["tag_id"]
# tag_pos indicates the position (from 0) of the tag in the list. NB : it is different from the TagSheet.order in the database.
tag_pos = int(request.POST["tag_pos"])
# move can be "u" or "d", for up and down