---
title: "Comment by Aditi Tiwari on \"Make Your First Project with User Authentication in Django\" | Hashnode"
description: "login_required is not working please help me with it."
url: "https://hashnode.com/posts/make-your-first-project-with-user-authentication-in-django/651903e4653af04c79246530/comment/651a63072638ec86a763135c"
---

[Discussion](https://hashnode.com/posts/make-your-first-project-with-user-authentication-in-django/651903e4653af04c79246530)

Comment [Make Your First Project with User Authentication in Django](https://hashnode.com/posts/make-your-first-project-with-user-authentication-in-django/651903e4653af04c79246530)

[Aditi Tiwari](https://hashnode.com/@aditi332)

[Oct 2, 2023](https://hashnode.com/posts/make-your-first-project-with-user-authentication-in-django/651903e4653af04c79246530/comment/651a63072638ec86a763135c)

login\_required is not working please help me with it.

[Mayank Aggarwal](https://hashnode.com/@mayank0407)

[Oct 2, 2023](https://hashnode.com/posts/make-your-first-project-with-user-authentication-in-django/651903e4653af04c79246530/comment/651a63072638ec86a763135c#reply-651a667f6b3bc781290714ec)

I guess you may not have imported decorators library. Import it and even if it does not work you can use the is\_authenticated function which Django authentication provides. Use:- if user.is\_authenticated==True:
