Re: Weird Django-admin bug

2021-02-03 Thread 'rossm6' via Django users
Sorry to hear this but there is absolutely no way anybody could help based on this information alone. On Tue, Feb 2, 2021 at 6:25 PM yes...@gmail.com wrote: > Hi > > I am having this situation where I try to have a look at an instance of a > specific model through Django-admin and the requests j

Can you do this with the Django ORM?

2020-03-21 Thread 'rossm6' via Django users
Can the django ORM do something like this? SELECT * FROM "products_maxbid" as m JOIN "products_auction" as a on m.auction_id = a.uuid WHERE m.uuid in ( SELECT m.uuid FROM "products_maxbid" as m INNER JOIN ( SELECT auction_id, Max(value) as value FROM "products_maxbid" WHERE

Re: How to do validation on a form which is opened by clicking a button

2020-02-27 Thread 'rossm6' via Django users
If the form is not valid you are creating a new form and returning this to the user. So you need to remove the line where you create this second form object within the else clause of the view and it will work. On Thu, Feb 27, 2020 at 9:10 PM Sunil BK wrote: > Hello community > > I am trying to