From a20417af0b5ac65d2ed28ce18df53656894be9a1 Mon Sep 17 00:00:00 2001 From: James Turk Date: Fri, 23 Mar 2012 16:21:02 -0400 Subject: [PATCH] fix travis settings --- .travis.yml | 2 +- example/settings.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ae461de..fd5f888 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ env: - DJANGO_VERSION=1.3 - DJANGO_VERSION=1.4 install: pip install Django==$DJANGO_VERSION django-markupfield markdown docutils --use-mirrors -script: django-admin.py test --settings=markupfield.tests.settings --pythonpath=. +script: django-admin.py test --settings=example.settings --pythonpath=. markupwiki notifications: email: - james.p.turk@gmail.com diff --git a/example/settings.py b/example/settings.py index 15ec1e9..1b82a80 100644 --- a/example/settings.py +++ b/example/settings.py @@ -1,3 +1,5 @@ +import os + DEBUG = True TEMPLATE_DEBUG = DEBUG @@ -27,7 +29,7 @@ MIDDLEWARE_CLASSES = ( ROOT_URLCONF = 'example.urls' -TEMPLATE_DIRS = ( 'templates', ) +TEMPLATE_DIRS = ( os.path.join(os.path.dirname(__file__), 'templates'), ) INSTALLED_APPS = ( 'django.contrib.auth',