#128 Fix #72 Inventaire : pouvoir indiquer un matos déployé mais pas chez un adhérent

Merged
daimrod merged 1 commits from Sim/deloyed_status_for_hardware into FFDN/master 7 years ago
Sim commented 7 years ago

Cette PR ajoute un champ booléen 'deployed' pour un item de l'inventaire. La seule modification induite par le déploiement d'un objet est qu'il est rendu indisponible (qu'il soit emprunté ou non).

Cette PR ajoute un champ booléen 'deployed' pour un item de l'inventaire. La seule modification induite par le déploiement d'un objet est qu'il est rendu indisponible (qu'il soit emprunté ou non).
opi commented 7 years ago
Owner

LGTM

LGTM
daimrod commented 7 years ago
Collaborator

The migration file is missing.

You need to run ./manage.py makemigrations and then commit the migration file.

Basically, every time you update a */models.py you should run makemigrations and commit the files.

Otherwise the code works. Thank you.

The migration file is missing. You need to run `./manage.py makemigrations` and then commit the migration file. Basically, every time you update a `*/models.py` you should run `makemigrations` and commit the files. Otherwise the code works. Thank you.
Sim commented 7 years ago
Collaborator

Fichier de migration ajouté

Fichier de migration ajouté
daimrod commented 7 years ago
Collaborator

Nice, thank you.

Nice, thank you.
This pull request has been merged successfully!
Sign in to join this conversation.
No Milestone
No assignee
3 Participants
Loading...
Cancel
Save
There is no content yet.