Fork this repo to modify it
Go to file
Pierre-antoine Comby 11e8b66a5d use Note Parent Polymorphic id for consistency 2020-04-18 16:02:49 +02:00
management use Note Parent Polymorphic id for consistency 2020-04-18 16:02:49 +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;'"