Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed obsolete hack to run template tests.

  • Loading branch information...
commit 3a34f71d4dcadae3d8e6c1c603b47e603f0dada3 1 parent 06615d0
@aaugustin aaugustin authored
Showing with 1 addition and 7 deletions.
  1. +1 −7 tests/template_tests/tests.py
View
8 tests/template_tests/tests.py
@@ -1,13 +1,6 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
-from django.conf import settings
-
-if __name__ == '__main__':
- # When running this file in isolation, we need to set up the configuration
- # before importing 'template'.
- settings.configure()
-
from datetime import date, datetime
import os
import sys
@@ -16,6 +9,7 @@
import warnings
from django import template
+from django.conf import settings
from django.core import urlresolvers
from django.template import (base as template_base, loader, Context,
RequestContext, Template, TemplateSyntaxError)
Please sign in to comment.
Something went wrong with that request. Please try again.