Textbox warning for large queries with Django
Yes, query object has the method like this. It is simply:
   query.count()
I'm using Django to create a website for a project.  The user fills out a form, then I run some queries with this data and display the results on another page.  Currently it's a two page site.
I want to warn the user if their query result data is very large.  Say if a user ends up getting 1000 rows in the results table, I want to warn the user that queries of this size might take a long time to load.  I imagine that between the form page and the results page, I could make a popup textbox that displays the warning.  I could have this box show if the query object size is greater than 1000.
Does Django have a method for me implementing this?  How can I get this textbox to appear before the result page template is shown?