luanfonceca/speakerfight

Not accept proposals before the `accept_proposals_at` date.

Open

#306 geöffnet am 9. Okt. 2017

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Python (135 Forks)github user discovery
enhancementhacktoberfestnormal

Repository-Metriken

Stars
 (342 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

This issues depends on #304.

if some event has defined the accept_proposals_at field, we can only accept proposals after that time, this should create some changes on the Models, Views and tests.

Tasks:

  • Check if the accept_proposals_at date has passed.
  • Restrict the cases that the proposal cant be created and return a Message for the user.
  • Add tests to assert that the a proposal cannot be created after the date.

Contributor Guide