From 5bc67ebad929f2e44c364c52ee8b35daa9f8374c Mon Sep 17 00:00:00 2001 From: ibuler Date: Sun, 2 Nov 2014 23:50:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webroot/AutoSa/{ => UserManage}/templatetags/__init__.py | 0 webroot/AutoSa/{ => UserManage}/templatetags/mytags.py | 2 +- webroot/__init__.py | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) rename webroot/AutoSa/{ => UserManage}/templatetags/__init__.py (100%) rename webroot/AutoSa/{ => UserManage}/templatetags/mytags.py (89%) create mode 100644 webroot/__init__.py diff --git a/webroot/AutoSa/templatetags/__init__.py b/webroot/AutoSa/UserManage/templatetags/__init__.py similarity index 100% rename from webroot/AutoSa/templatetags/__init__.py rename to webroot/AutoSa/UserManage/templatetags/__init__.py diff --git a/webroot/AutoSa/templatetags/mytags.py b/webroot/AutoSa/UserManage/templatetags/mytags.py similarity index 89% rename from webroot/AutoSa/templatetags/mytags.py rename to webroot/AutoSa/UserManage/templatetags/mytags.py index 49581a9a8..155c26ae9 100644 --- a/webroot/AutoSa/templatetags/mytags.py +++ b/webroot/AutoSa/UserManage/templatetags/mytags.py @@ -1,7 +1,7 @@ import time from django import template -register = template.Library +register = template.Library() @register.filter(name='stamp2str') diff --git a/webroot/__init__.py b/webroot/__init__.py new file mode 100644 index 000000000..bfd53d39f --- /dev/null +++ b/webroot/__init__.py @@ -0,0 +1 @@ +__author__ = 'Hudie'