Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • R roomlist
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • SRCT
  • roomlist
  • Issues
  • #114

Closed
Open
Created Jun 16, 2017 by Daniel W Bond@dbond2Developer

don't increment room changes if debug is true

To prevent students from circumventing privacy controls, they are limited as to the number of times they can change their room per semester. However, this restriction is cumbersome if you are testing out forms. Therefore, in the form_valid method of the UpdateStudent view, modify times_changed_room to only increment if DEBUG in the Django settings is False.

Assignee
Assign to
Time tracking