Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
B
bookshare
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • SRCT
  • bookshare
  • Issues
  • #30

Closed
Open
Opened Feb 08, 2015 by Daniel W Bond@dbond2Maintainer

submit on forms requires manual user specification

https://git.gmu.edu/srct/bookshare/blob/master/bookshare/trades/forms.py https://git.gmu.edu/srct/bookshare/blob/master/bookshare/trades/models.py

(this is also the same for the lookout forms)

when you add 'owner' to the fields in the form, you can submit the form, but you have to manually select the user from the dropdown

this despite the field for the model being owner = models.ForeignKey(settings.AUTH_USER_MODEL), which would seem to auto-select the user currently creating the model

fix the forms so that the 'owner' field is autopopulated as intended and hidden from the user interface

Assignee
Assign to
Beta
Milestone
Beta (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: srct/bookshare#30