mirror of https://github.com/jumpserver/jumpserver
修改中文显示报错
parent
6d34bd45d2
commit
b1add204b6
|
@ -1,8 +1,8 @@
|
||||||
sphinx-me
|
sphinx-me
|
||||||
django==1.6
|
django==1.6
|
||||||
python-ldap
|
python-ldap
|
||||||
|
pycrypto==2.6.1
|
||||||
paramiko
|
paramiko
|
||||||
pycrypto
|
|
||||||
ecdsa>=0.11
|
ecdsa>=0.11
|
||||||
MySQL-python
|
MySQL-python
|
||||||
django-uuidfield
|
django-uuidfield
|
||||||
|
|
|
@ -182,7 +182,7 @@ def pages(posts, r):
|
||||||
return contact_list, p, contacts, page_range, current_page, show_first, show_end
|
return contact_list, p, contacts, page_range, current_page, show_first, show_end
|
||||||
|
|
||||||
|
|
||||||
def is_latest(request):
|
def is_latest():
|
||||||
node = uuid.getnode()
|
node = uuid.getnode()
|
||||||
jsn = uuid.UUID(int=node).hex[-12:]
|
jsn = uuid.UUID(int=node).hex[-12:]
|
||||||
with open(os.path.join(BASE_DIR, 'version')) as f:
|
with open(os.path.join(BASE_DIR, 'version')) as f:
|
||||||
|
|
Loading鈥
Reference in New Issue