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:42] – javi | informatica:linux:django [2019/05/19 16:41] – [The password is too similar to the username.] javi | ||
---|---|---|---|
Line 857: | Line 857: | ||
https:// | https:// | ||
- | 1. Iniciar shell | + | 1. Crear el usuario desde el admin: |
- | | + | http:// |
+ | |||
+ | 2. Iniciar shell | ||
+ | |||
+ | | ||
| | ||
- | 2. Crear los usuarios a mano, interactuando con la shell: | + | 3. Cambiar |
< | < | ||
Line 868: | 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