you can write only
-- path(' ', views.show, name='index')
On Sunday, May 26, 2019 at 4:44:18 AM UTC+5:30, Saeed Pooladzadeh wrote:
On Sunday, May 26, 2019 at 4:44:18 AM UTC+5:30, Saeed Pooladzadeh wrote:
HelloWich of them is the right method for url mapping:path('', views.show, name='index'),orpath('index', views.show),Regards,Saeed
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1e37749c-052a-47ba-b082-7c338e153a63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment