Review my quiz app with django

hi sir,
i am trying to implement a profile view(or profile page) in the app. The author should be able to update his content as well as see his created and attempted quizzes,where as a nonauthor (a user who is not author) shouldn’t be able to but see all the author’s content.
Jatin sir used mixins for creating profiles,but my code works fine too. Can u plz point if it is correct approach?(under users/views.py and users/templates/users/profile.html)
and if it not then plz point out the threats.

here is the link to code.

Hello @atufashireen, yes bro your code is absolutely correct but mixins is in-built functionality and some developers try to minimize the efforts and try to use as much functionality as provided by the code as because they provide the optimized way but there is nothing wrong trying your own implementations. I must say just practice as much as you can and try to learn different approaches as well, you may stick to only one approach but learning different styles will improve your skills and teach you a lot in the long run.
Happy coding :slight_smile:
Thanks :v: