title: What is the difference between @login_required and @method_decorator(login_required) in django
body: <p>I am new to django and  i am confused What is the difference  between  <code>@login_required</code> and <code>@method_decorator(login_required)</code> in Django, which one  we should use. Thanks in advance.</p>