Hi Ogunasya, 

I tried that but still that's not working. After some research and 
analysis, I realized the issue is not with the urls but with the html file. 
When I am trying to direct to the url in the href via drop-down only, the 
error is coming. But if we I am trying to access the same url via table, it 
is working fine. 

So to summarize: 
*Working: *
<tr><td><a href="{% url 'process_data' ver1 %}">{{ver}}</a></td></tr>


*Non-working: *
<option value={{ver}} href="{% url 'process_data' ver %}">{{ver}}</option>

Can you please suggest what is going wrong ? How can we reach the method 
'process_data' using dropdown ? 

On Thursday, 25 June 2020 12:08:12 UTC+5:30, Ogunsanya Opeyemi wrote:
>
> Also include in your URL before your urlpatterns 
>
> app_name=yourappname
>
>
> And in your template URL  write
> {% url 'yourappname:process_data' ver %}
>
>
>
> And if you still have issues send the update you made and let me check.
>
> On Thursday, June 25, 2020, ratnadeep ray <[email protected] 
> <javascript:>> wrote:
>
>> Hi Ogunsanya, 
>>
>> I have added that line of code but still getting the same error. 
>>
>> So what can be done next ? 
>>
>> On Thursday, 25 June 2020 00:25:17 UTC+5:30, Ogunsanya Opeyemi wrote:
>>>
>>>
>>> Yes
>>> On Wednesday, June 24, 2020, ratnadeep ray <[email protected]> wrote:
>>>
>>>> So I need to add this also:
>>>>
>>>>
>>>>
>>>> urlpatterns = [
>>>>     ...
>>>>     ...
>>>>     path('process_data/', views.process_data, name='process_data'),
>>>>
>>>> -- 
>>>> 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 [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/django-users/5c62826f-a652-43c3-a89e-29cf1855a9f8o%40googlegroups.com
>>>> .
>>>>
>>>
>>>
>>> -- 
>>> OGUNSANYA OPEYEMI
>>>
>>> -- 
>> 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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/bb999e9e-5fd9-45ec-9a59-86e3ed9b6454o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/bb999e9e-5fd9-45ec-9a59-86e3ed9b6454o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> OGUNSANYA OPEYEMI
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/db746050-5807-4b00-847f-3c3077faccb2o%40googlegroups.com.

Reply via email to