修改 mytags位置

pull/2/head
guanghongwei 10 years ago
parent 5bc67ebad9
commit b52420708e

@ -2,7 +2,7 @@
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<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" />
</component>
</module>

@ -48,6 +48,7 @@ INSTALLED_APPS = (
'django.contrib.staticfiles',
'UserManage',
'Assets',
'AutoSa',
#'RunCommand',
)

@ -7,6 +7,6 @@ register = template.Library()
@register.filter(name='stamp2str')
def stamp2str(value):
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:
return '0000/00/00 00:00:00'
Loading…
Cancel
Save