From 0efd7e11ea8aa664197f17685e9748cee4455f2d Mon Sep 17 00:00:00 2001 From: "holger.trampe" Date: Fri, 13 Dec 2019 10:07:29 +0100 Subject: [PATCH] isch hab comitted --- firstrun.py | 14 ++++++++------ users/__pycache__/models.cpython-38.pyc | Bin 3785 -> 3781 bytes users/__pycache__/signals.cpython-38.pyc | Bin 1135 -> 1135 bytes 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/firstrun.py b/firstrun.py index 2c83922..3c0f463 100644 --- a/firstrun.py +++ b/firstrun.py @@ -4,14 +4,16 @@ from users.models import Profile,Agency import random import string -def randomStringwithDigitsAndSymbols(stringLength=10): - """Generate a random string of letters, digits and special characters """ - - password_characters = string.ascii_letters + string.digits + string.punctuation - return ''.join(random.choice(password_characters) for i in range(stringLength)) +password_characters = string.ascii_letters + string.digits + string.punctuation username = "root" -password = randomStringwithDigitsAndSymbols(20) +password = "" + +i = 0 +while(i < 20): + password += random.choice(password_characters) + i++ + print("USERNAME: " + username) print("PASSWORD: " + password) ag=Agency() diff --git a/users/__pycache__/models.cpython-38.pyc b/users/__pycache__/models.cpython-38.pyc index afba010a706cea51c87ceb142e69bede2618439a..f9dbfd59293f0717bc37db881bfd67da7169af16 100644 GIT binary patch delta 205 zcmX>pdsLP;l$V!_0SF9^eTvoF$a{>no-Ktvg`<}>iaV7hizkIMg)N1vmnn)Dg~tct zr81{*r|_ik_A*ED1Noe(0zi^0g%zk;5Xcfr;Y;BM>J|XX3xm|d%@RowOc82fh!RZ^ zP7wjpV(koRj47fiVl5m|;wq^UDdH&-Eey?!QIhTqDUvBtEet7A%}h~J?F=joQPRN- Zn$nZY*h(kAVUuEE$t%s-%*(!q9RRzXF+>0W delta 210 zcmX>qds3D+l$V!_0SM+F{S<4sk@pyDJ$njA3TH2C6n8317EcOS3R?sN#RZ5>t&AO2l6>n1%M=13M){xAdn@L!k;1l)GY{<7Y3<^n diff --git a/users/__pycache__/signals.cpython-38.pyc b/users/__pycache__/signals.cpython-38.pyc index 614f74ede9c908f60704933066fdfcf7e2812cf3..b6b447c7fdcf5486c1669ea1472ee6e33d532989 100644 GIT binary patch delta 19 ZcmaFQ@t%V#l$V!_0SH2lZRAR20RS^J1h4=A delta 19 ZcmaFQ@t%V#l$V!_0SFS0Zsba30RS_71iSzM