Fork this repo to modify it
Go to file
Pierre-antoine Comby 6ed6551459 flush db is not enough 2020-04-10 23:06:12 +02:00
management use fixture as references and display status 2020-04-10 18:13:26 +02:00
shell flush db is not enough 2020-04-10 23:06:12 +02:00
.gitignore Initial commit 2020-02-24 14:19:40 +01:00
README.md add README.md 2020-04-10 23:05:36 +02:00
__init__.py Initial commit 2020-02-24 14:19:40 +01:00

README.md

Script de la NoteKfet 2020

Commandes Django

les commandes sont documentées: ./manage.py command --help

  • import_nk15 : Importe un dump de la NoteKfet 2015.

  • make_su: rend superutilisateur les pseudos renseignés

Shell

  • Tabula rasa:
sudo -u postgres sh -c "dropdb note_db && psql -c 'CREATE DATABASE note_db OWNER note;'"