Skip to content

Commit

Permalink
Better more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
goinnn committed Oct 13, 2014
1 parent e40b580 commit 9285b72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/example/settings.py
Expand Up @@ -199,7 +199,7 @@

import django

if django.VERSION[0] >= 1 and django.VERSION[1] >= 4:
if django.VERSION[0] == 1 and django.VERSION[1] >= 4:
TEMPLATE_CONTEXT_PROCESSORS += ('django.core.context_processors.tz',)
LOGGING['filters'] = {
'require_debug_false': {
Expand Down
2 changes: 1 addition & 1 deletion example/run_tests.py
Expand Up @@ -31,7 +31,7 @@
else:
os.environ[ENVIRONMENT_VARIABLE] = sys.argv[1]

if django.VERSION[0] >= 1 and django.VERSION[1] >= 7:
if django.VERSION[0] == 1 and django.VERSION[1] >= 7:
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()

Expand Down

0 comments on commit 9285b72

Please sign in to comment.