Re: Reverse for 'process_data' not found. 'process_data' is not a valid view function or pattern name.

2020-06-26 Thread Ogunsanya Opeyemi
Ok good job  You can email me directly for any issue. ogunsanyaopeye...@gmail.com On Friday, June 26, 2020, ratnadeep ray wrote: > 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.

Re: Reverse for 'process_data' not found. 'process_data' is not a valid view function or pattern name.

2020-06-26 Thread ratnadeep ray
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

Re: Reverse for 'process_data' not found. 'process_data' is not a valid view function or pattern name.

2020-06-25 Thread Ogunsanya Opeyemi
Look at your index path it is not written very well in the name you wrote name=') without closing the apstorphe ' and request a url purely in your template href like this href="process_data/{{ver}}". And let me know wether it worked or not. On Thursday, June 25, 2020, ratnadeep ray wrote: > Hi

Re: Reverse for 'process_data' not found. 'process_data' is not a valid view function or pattern name.

2020-06-25 Thread ratnadeep ray
Hi Ogunsanya, Now I added the same as per your suggestion. Following is my urls.py contnent from django.urls import path from fusioncharts import views app_name = 'fusioncharts' urlpatterns = [ path('push-data/', views.push_data, name='push-data'), path('home/', views.home,

Re: Reverse for 'process_data' not found. 'process_data' is not a valid view function or pattern name.

2020-06-25 Thread Ogunsanya Opeyemi
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 wrote: > Hi Ogunsanya, > > I

Re: Reverse for 'process_data' not found. 'process_data' is not a valid view function or pattern name.

2020-06-24 Thread ratnadeep ray
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 > wrote: > >> So I need to add this also: >> >> >> >>

Re: Reverse for 'process_data' not found. 'process_data' is not a valid view function or pattern name.

2020-06-24 Thread Ogunsanya Opeyemi
Yes On Wednesday, June 24, 2020, ratnadeep ray 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

Re: Reverse for 'process_data' not found. 'process_data' is not a valid view function or pattern name.

2020-06-24 Thread ratnadeep ray
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,

Re: Reverse for 'process_data' not found. 'process_data' is not a valid view function or pattern name.

2020-06-24 Thread Ogunsanya Opeyemi
You do not have a URL for process_data that you want to access, that is why it is saying no valid view name process_data On Wednesday, June 24, 2020, ratnadeep ray wrote: > Hi all, > > Any comment on this? > > -- > You received this message because you are subscribed to the Google Groups >

Reverse for 'process_data' not found. 'process_data' is not a valid view function or pattern name.

2020-06-24 Thread ratnadeep ray
Hi all, Any comment on this? -- 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 view this discussion on the web

Reverse for 'process_data' not found. 'process_data' is not a valid view function or pattern name.

2020-06-24 Thread ratnadeep ray
Hi all, I am trying to direct the option selected from the dropdown in the index.html along with the value to the process_data method in the views.py. But now I am getting the following error when I am trying to load my index page: NoReverseMatch at /index/ Reverse for 'process_data' not