I just want to confirm if there has been a change in Django3.x
In Django2.x i could write something like
**
where 'home' is a url pattern in one of my apps(not the main url file)
But I get NoReverseMatch when I use the same in Django3
I have to use this convention
**
Which one is correct, for D
I understand what you are trying to explain.
I have used name=“home” for home view. I’m using urls.py for my app(main
URLs.py to route me to my apps urls.py, app urls.py contains path(‘’,
HomeView.as_view(), name=‘home’)
But when I try to reference this url in templates ({% url ‘home’%})I get
Context: I'm new to Django. I've just completed the tutorial on the Docs
page. I'm trying to make a coffee ordering application. Basically a person
has to enter his details and select coffee along with number of cups.
Now a person may select 2 or 3 of the same type of coffee, or he may select
mu
I think this should solve your problem.
https://stackoverflow.com/questions/41189842/what-is-difference-between-rest-and-api
On Friday, January 3, 2020 at 8:47:02 PM UTC+5:30, Devendra reddy wrote:
>
> Hi to all,
> While creating API s is there any difference between the normal API and by
> usin
4 matches
Mail list logo