Href="" url ‘ name’%}

Where name is the name parameter of the view in urls.py.

 

Urlpatterns=[path(“/myview”, views.myview, name=”myview”)]

 

In this case

Href="" url ‘ App_name/myview’%}

Write your app name in App name

 

Sent from Mail for Windows 10

 

From: meera gangani
Sent: 03 June 2020 12:49
To: [email protected]
Subject: Please help me out!!!!!

 

Hello Django-users

 

href is not working

here is my views.py file and my urls.py file

 

Please Help me out!!

 

Thank you in advance

-Meera

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANaPPPLbk6JV8tQjxkKUiN-H%3D_JLHjztMQfGLK6oUx9ootEojg%40mail.gmail.com.

 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/B95F9502-B7D0-49C6-8E4E-0C3B2F80EF21%40hxcore.ol.

Reply via email to