Fork this repo to modify it
Go to file
Yohann D'ANELLO 578bd892a7 Move WEI scripts to the scripts app 2020-04-23 14:33:41 +02:00
management Move WEI scripts to the scripts app 2020-04-23 14:33:41 +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;'"