Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • concrexit concrexit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 70
    • Issues 70
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • thaliathalia
  • concrexitconcrexit
  • Merge requests
  • !1373

Show registration allowed in events api

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Gijs Hendriksen requested to merge show-registration-allowed-in-events-api into master Oct 09, 2019
  • Overview 0
  • Commits 2
  • Changes 2

Needed for ThaliApp#90.

Short description

Adds the registration_allowed field to the events API.

Also makes sure that the registration_allowed field in the Events model and the registered field in the EventListSerializer can no longer be None.

Steps to use this feature

  1. Visit /api/v1/events/.
  2. Notice each event has a boolean field registration_allowed that indicates whether registrations for this event are open.
  3. Notice that the field registered is true or false only, and no longer null.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: show-registration-allowed-in-events-api