TC-4, Saeed Pooladzadeh wrote:
>>
>> 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.i
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'),
&g
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:
&g
day, 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',
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('',
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 unsubs
6 matches
Mail list logo