summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-03-20 04:07:45 -0700
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-03-20 04:07:45 -0700
commit4edb9fa0cdba7d5f43167086dcba7f8141e9aad6 (patch)
tree60d3c9bd8d71701367aa21608b175a865a5872f1
parent87987fe55edda34b882912a2662ef36c730b8a98 (diff)
downloadpystache-4edb9fa0cdba7d5f43167086dcba7f8141e9aad6.tar.gz
Renamed view module to custom_template.
-rw-r--r--pystache/custom_template.py (renamed from pystache/view.py)0
-rw-r--r--pystache/init.py4
-rw-r--r--tests/data/views.py2
-rw-r--r--tests/test_view.py4
4 files changed, 5 insertions, 5 deletions
diff --git a/pystache/view.py b/pystache/custom_template.py
index 9befa93..9befa93 100644
--- a/pystache/view.py
+++ b/pystache/custom_template.py
diff --git a/pystache/init.py b/pystache/init.py
index 3054129..75c34a5 100644
--- a/pystache/init.py
+++ b/pystache/init.py
@@ -5,9 +5,9 @@ This module contains the initialization logic called by __init__.py.
"""
+from .custom_template import View
+from .custom_template import CustomizedTemplate
from .renderer import Renderer
-from .view import View
-from .view import CustomizedTemplate
__all__ = ['render', 'Renderer', 'View', 'CustomizedTemplate']
diff --git a/tests/data/views.py b/tests/data/views.py
index c082abe..57b5a7d 100644
--- a/tests/data/views.py
+++ b/tests/data/views.py
@@ -1,6 +1,6 @@
# coding: utf-8
-from pystache.view import View
+from pystache import View
class SayHello(object):
diff --git a/tests/test_view.py b/tests/test_view.py
index 3888b24..e5c8144 100644
--- a/tests/test_view.py
+++ b/tests/test_view.py
@@ -13,9 +13,9 @@ from examples.complex_view import ComplexView
from examples.lambdas import Lambdas
from examples.inverted import Inverted, InvertedLists
from pystache import Renderer
+from pystache import View
from pystache.reader import Reader
-from pystache.view import View
-from pystache.view import Locator as ViewLocator
+from pystache.custom_template import Locator as ViewLocator
from .common import AssertIsMixin
from .common import DATA_DIR
from .data.views import SampleView