Wednesday, October 28, 2020

Re: Fetching data from database

You have go through the django docs,
In django request.method.POST is used to inser data
And Model.objecs.all() this is the way how you fetch data,
You need to study docs

On Thu 29 Oct, 2020, 00:13 Kiran Bangde, <kiranb0218@gmail.com> wrote:
Hi everyone,

Iam stuck at a point ...I want to fetch a data from a database , where data should be insert manually , plz help me how to do that how to fire a queries in DB and how to use primary key and foreign key over here. 
Please help me ,Iam new to Django . 

Thanks in advance

--
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/CAH3w0pg60HpYHzta5hjHTw7NaiBbuh7Q1uOfG%2BkZnRAGgQLOYA%40mail.gmail.com.

--
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/CAGDmY67kC6HnvvgE_2xEQVEum7oR%2BRyP9_TNvXEF5i0eOqXa0w%40mail.gmail.com.

No comments:

Post a Comment