Commit b5242070 authored by guanghongwei's avatar guanghongwei

修改 mytags位置

parent 5bc67eba
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<module type="PYTHON_MODULE" version="4"> <module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager"> <component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" /> <content url="file://$MODULE_DIR$" />
<orderEntry type="jdk" jdkName="Python 2.7.8 (C:\Python27\python.exe)" jdkType="Python SDK" /> <orderEntry type="jdk" jdkName="Python 2.7.6 (C:/Python27/python.exe)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
</component> </component>
</module> </module>
......
...@@ -48,6 +48,7 @@ INSTALLED_APPS = ( ...@@ -48,6 +48,7 @@ INSTALLED_APPS = (
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'UserManage', 'UserManage',
'Assets', 'Assets',
'AutoSa',
#'RunCommand', #'RunCommand',
) )
......
...@@ -7,6 +7,6 @@ register = template.Library() ...@@ -7,6 +7,6 @@ register = template.Library()
@register.filter(name='stamp2str') @register.filter(name='stamp2str')
def stamp2str(value): def stamp2str(value):
try: try:
return time.strftime('%Y/%m/%d %H:%M:%S',time.localtime(value)) return time.strftime('%Y/%m/%d %H:%M:%S', time.localtime(value))
except AttributeError: except AttributeError:
return '0000/00/00 00:00:00' return '0000/00/00 00:00:00'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment