Fixed some dependency version issues.

This commit is contained in:
tomtom5152
2015-01-27 16:43:12 +00:00
parent ea9803f70a
commit 47e67e4c94
3 changed files with 4 additions and 3 deletions

View File

@@ -138,4 +138,4 @@ TEMPLATE_DIRS = (
os.path.join(BASE_DIR, 'templates'),
)
TERMS_OF_HIRE_URL = "http://www.nottinghamtec.co.uk/pdf/terms.pdf"
TERMS_OF_HIRE_URL = "http://dev.nottinghamtec.co.uk/wp-content/uploads/2014/11/terms.pdf"

View File

@@ -63,7 +63,7 @@ def import_people(delete=False):
resp = cursor.fetchall()
for row in resp:
email = row[3]
if email is not "" and "@" not in email:
if (email is not None) and ("@" not in email):
email += "@nottingham.ac.uk"
notes = ""

View File

@@ -6,6 +6,7 @@ django-reversion==1.8.5
sqlparse==0.1.13
simplejson==3.6.5
lxml==3.4.1
pil==1.1.7
pillow==2.7.0
reportlab==2.7
z3c.rml==2.7.2
pyPDF2==1.23