修改中文显示报错

pull/6/head
ibuler 2015-04-28 15:08:28 +08:00
parent 6d34bd45d2
commit b1add204b6
3 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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: