Admin is not able to edit the debate he created.

When the admin tries to log in and edit a debate that he had previously created, he is not able to do so. An error occurs indicating that a certain variable of the name 'pk' has not been defined, in /src/apps/debate/views.py in edit_debate function (line 172).

It has been fixed by initializing pk.
=> pk = debate_id 

inside the 'edit_debate' function.