sync-tabellio: comment translation
This commit is contained in:
parent
cecd8c30d3
commit
89a8a7e9d7
|
@ -11,8 +11,8 @@ from django.template.defaultfilters import slugify
|
|||
from docbow_project.docbow.models import MailingList, DocbowProfile
|
||||
|
||||
|
||||
# Utilise seulement des majuscules et des chiffres, sauf i,l et 1, O et 0
|
||||
__pwd_alphabet = 'ABCDEFGHJKMNPQRSTUVWXYZ23456789'
|
||||
# Generate passwords using capitals and numbers, but no 1 or I, O or 0
|
||||
__pwd_alphabet = 'ABCDEFGHJKLMNPQRSTUVWXYZ23456789'
|
||||
def create_password(pwd_length=8):
|
||||
password = ''.join([random.choice(__pwd_alphabet)
|
||||
for x in range(pwd_length)])
|
||||
|
|
Loading…
Reference in New Issue