informatica:linux:django
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
informatica:linux:django [2017/11/07 09:44] – [The password is too similar to the username.] javi | informatica:linux:django [2019/05/19 16:41] – [The password is too similar to the username.] javi | ||
---|---|---|---|
Line 863: | Line 863: | ||
2. Iniciar shell | 2. Iniciar shell | ||
- | cd / | + | cd / |
| | ||
3. Cambiar la contraseña de ese usuario, en este ejemplo " | 3. Cambiar la contraseña de ese usuario, en este ejemplo " | ||
Line 872: | Line 872: | ||
user.set_password(' | user.set_password(' | ||
user.save() | user.save() | ||
+ | </ | ||
+ | |||
+ | ==== Error al crear app ==== | ||
+ | |||
+ | Comando: | ||
+ | |||
+ | < | ||
+ | python manage.py startapp app1 | ||
+ | </ | ||
+ | |||
+ | Error: | ||
+ | |||
+ | < | ||
+ | File " | ||
+ | ) from exc | ||
+ | ^ | ||
+ | SyntaxError: | ||
+ | </ | ||
+ | |||
+ | Solución: | ||
+ | |||
+ | < | ||
+ | python3 manage.py startapp app1 | ||
</ | </ |
informatica/linux/django.txt · Last modified: 2019/05/19 16:55 by javi