Re: How to pass a set of objects in between two views?

2020-08-24 Thread vipul shinde
> Actually If the page for random set of questions is same for User NOT > Logged In and User Logged In, the data you called from database will still > showing up. > > On Mon, Aug 24, 2020 at 9:19 PM vipul shinde > wrote: > >> >> I'm building a quiz app in which I&

How to pass a set of objects in between two views?

2020-08-24 Thread vipul shinde
I'm building a quiz app in which I'm storing questions in the database by creating a model class. I am retrieving a random question set for each user from the database and then rendering them on an HTML page. The problem is after logging a user in, a random set of questions appears but that random

Any models field for accepting rating

2020-05-10 Thread vipul shinde
I'm developing an application for a feedback system and I want to accept a rating from a specific user. It could be anything from like a range from 1 to 10. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

can we create two different model classes in one application?

2020-05-10 Thread vipul shinde
I'm trying to create my own custom form instead of the UserCreationForm that we import in the third website..for which I need two different models, one for making the user and the other to accept a text from the user created through the previous model. Is this possible? -- You received th