Browse Source

修改中文显示报错

pull/6/head
ibuler 10 years ago
parent
commit
b1add204b6
  1. 2
      docs/requirements.txt
  2. 0
      docs/zzjumpserver.sh
  3. 2
      jumpserver/views.py

2
docs/requirements.txt

@ -1,8 +1,8 @@
sphinx-me
django==1.6
python-ldap
pycrypto==2.6.1
paramiko
pycrypto
ecdsa>=0.11
MySQL-python
django-uuidfield

0
docs/jumpserver.sh → docs/zzjumpserver.sh

2
jumpserver/views.py

@ -182,7 +182,7 @@ def pages(posts, r):
return contact_list, p, contacts, page_range, current_page, show_first, show_end
def is_latest(request):
def is_latest():
node = uuid.getnode()
jsn = uuid.UUID(int=node).hex[-12:]
with open(os.path.join(BASE_DIR, 'version')) as f:

Loading鈥
Cancel
Save