Changes between Initial Version and Version 1 of Ticket #31209


Ignore:
Timestamp:
Jan 28, 2020, 2:55:30 PM (5 years ago)
Author:
Mariusz Felisiak
Comment:

In Question and Choice models we don't have custom id fields that are not primary keys, so I don't see any value in changing this. We do the same for question.id in get_object_or_404(Question, pk=question_id).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31209

    • Property Resolutioninvalid
    • Property Status newclosed
    • Property Summary Logic flaw in the tutorailLogic flaw in the tutorial 4.
  • Ticket #31209 – Description

    initial v1  
    3030}}}
    3131
    32  here the selected_choice is picked upon the primary key, which is fine in this case, but in case there is a conflict between the id and pk, this wont work.
     32here the selected_choice is picked upon the primary key, which is fine in this case, but in case there is a conflict between the id and pk, this wont work.
Back to Top