sync-tabellio: comment translation

This commit is contained in:
Frédéric Péters 2013-09-10 09:35:02 +02:00
parent cecd8c30d3
commit 89a8a7e9d7
1 changed files with 2 additions and 2 deletions

View File

@ -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)])