fix rq-scheduler version, most of templates is now working, fix javascript issues

This commit is contained in:
Jordan Rodgers 2018-02-08 18:44:04 -05:00
parent 5fb7f66624
commit df39356c4d
11 changed files with 326 additions and 149 deletions

8
proxstar/util.py Normal file
View file

@ -0,0 +1,8 @@
import secrets
def gen_password(
length,
charset="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*"
):
return "".join([secrets.choice(charset) for _ in range(0, length)])