e 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?
>>
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
;>
>> 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
>>&
y, 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),
>>
>&
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
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
6 matches
Mail list logo