luanfonceca/speakerfight

Not accept proposals before the `accept_proposals_at` date.

Open

#306 创建于 2017年10月9日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Python (135 fork)github user discovery
enhancementhacktoberfestnormal

仓库指标

Star
 (342 star)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南