Can you please explain. But I have seen in one of my app it works with just second one!!
در یکشنبه 26 مهٔ 2019، ساعت 3:49:59 (UTC+4:30)، Yoo نوشته: > > First one. Usually I'd have it be views.index. Otherwise, the first one is > perfectly fine. Need explanation? > > On Saturday, May 25, 2019 at 7:14:18 PM UTC-4, Saeed Pooladzadeh wrote: >> >> Hello >> >> Wich of them is the right method for url mapping: >> >> path('', views.show, name='index'), >> >> or >> >> path('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+unsubscr...@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/50da9882-884d-4dbb-8f3c-f4ee4486bf89%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.