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:
>
> 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/1e37749c-052a-47ba-b082-7c338e153a63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to