Project

General

Profile

Development #57670

api agenda : pouvoir préciser la catégorie de l'agenda lors de sa création

Added by Nicolas Roche about 2 months ago. Updated about 1 month ago.

Status:
Solution déployée
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
07 Oct 2021
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

Description

Oublié dans l'API de création d'un agenda (#57103).


Files

Associated revisions

Revision 7284c908 (diff)
Added by Nicolas Roche about 2 months ago

tests: test api to add agenda with only required parameters (#57670)

Revision 60aea84f (diff)
Added by Nicolas Roche about 2 months ago

api: set max lenght on roles parameters for add agenda endpoint (#57670)

Revision 0660f76e (diff)
Added by Nicolas Roche about 2 months ago

api: display category on agenda details (#57670)

Revision 5d139022 (diff)
Added by Nicolas Roche about 2 months ago

api: add category parameter on add agenda endpoint (#57670)

Revision a7757b7a (diff)
Added by Nicolas Roche about 2 months ago

api: prefetch roles on agenda display (#57670)

History

#1

Updated by Nicolas Roche about 2 months ago

  • Assignee set to Nicolas Roche
  • Description updated (diff)
#2

Updated by Nicolas Roche about 2 months ago

0001 ajout d'un test pour valider les champs optionnels
0002 ajout d'une taille max sur les champs rôles (oubli)
0003 ajoute la catégorie dans le json de l'agenda du GET
0004 ajoute la catégorie dans les champs du POST
0005 ajoute le prefetch pour les rôles (oubli)

#3

Updated by Lauréline Guerin about 2 months ago

mets plutôt category dans select_related, c'est une FK et non une M2M

#5

Updated by Valentin Deniaud about 2 months ago

  • Status changed from Solution proposée to Solution validée

Nickel, juste un changement de ligne dans 0001 sur min_booking_datetime à retirer

#6

Updated by Nicolas Roche about 2 months ago

Merci !

commit a7757b7a2274afff5678180b70cddbcb5a43a957
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Fri Oct 8 10:12:30 2021 +0200

    api: prefetch roles on agenda display (#57670)

commit 5d1390223e39ddcdfda023a69c72f7377123f735
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Fri Oct 8 09:19:54 2021 +0200

    api: add category parameter on add agenda endpoint (#57670)

commit 0660f76ee7e964012fd94e1ef18d483942741367
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Fri Oct 8 09:47:52 2021 +0200

    api: display category on agenda details (#57670)

commit 60aea84fb38175138e92f931ae88e6b9233cb850
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Fri Oct 8 09:09:33 2021 +0200

    api: set max lenght on roles parameters for add agenda endpoint (#57670)

commit 7284c9084c323dc4bb431e53b9f0b2012740d410
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Fri Oct 8 09:30:09 2021 +0200

    tests: test api to add agenda with only required parameters (#57670)

#7

Updated by Frédéric Péters about 1 month ago

  • Status changed from Solution validée to Solution déployée

Also available in: Atom PDF