User Tools

Site Tools


informatica:linux:django

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
informatica:linux:django [2017/11/07 09:44] – [The password is too similar to the username.] javiinformatica: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 /path/django && pythom manage.py shell+  cd /path/django && python manage.py shell
      
 3. Cambiar la contraseña de ese usuario, en este ejemplo "your_user": 3. Cambiar la contraseña de ese usuario, en este ejemplo "your_user":
Line 872: Line 872:
 user.set_password('simple') user.set_password('simple')
 user.save() user.save()
 +</code>
 +
 +====  Error al crear app ====
 +
 +Comando:
 +
 +<code>
 +python manage.py startapp app1
 +</code>
 +
 +Error:
 +
 +<code>
 +  File "manage.py", line 16
 +    ) from exc
 +         ^
 +SyntaxError: invalid syntax
 +</code>
 +
 +Solución:
 +
 +<code>
 +python3 manage.py startapp app1
 </code> </code>
informatica/linux/django.txt · Last modified: 2019/05/19 16:55 by javi