upgrade to django 1.11.16 and python3.6

This commit is contained in:
cmile 2018-10-03 00:16:28 +02:00
parent b32465e85f
commit bc0258ea8f
17 changed files with 155 additions and 84 deletions

7
smbpasswd.py Normal file
View file

@ -0,0 +1,7 @@
import passlib.hash
def lmhash(s):
return passlib.hash.lmhash.encrypt(s).upper()
def nthash(s):
return passlib.hash.nthash.encrypt(s).upper()