Wednesday, June 24, 2020

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

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 <ratnadeep9@gmail.com> 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 <ratna...@gmail.com> 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 django...@googlegroups.com.
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 django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bb999e9e-5fd9-45ec-9a59-86e3ed9b6454o%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 django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABJxPrGsZfvjER6zE%2BjARn_9Z971Kxru5e4f-Mx8%2BY%3D4UWhxng%40mail.gmail.com.

No comments:

Post a Comment