Retrieve data from database by taking user input data.
17 views
Skip to first unread message
Surajeet Das
unread,
Feb 1, 2019, 2:05:28 PM2/1/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
I have been trying to write a query to retrieve data from database by taking input from user . But the problem I am facing is after the input is given , the page does not get refreshed to another page, rather it refreshes to the same page again. Help me on this.
Derek
unread,
Feb 2, 2019, 8:52:51 AM2/2/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Using the `render` method or, failing that `redirect`, after the data from the results of your query have been collated.
Without actual code , its hard to help you further.