Django Project with partial authentication

Hi, I have to develop a project with a public part and a restricted part. The restricted part has also two categories like user part and back-end part only for admins. What is the best approach to authenticate the urls? I looked around and found that classed based view LoginRequiredMixin is the best option, like here. What other options do I have?