Skip to content

Commit

Permalink
add Pres Search URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
macloo committed Apr 11, 2024
1 parent 4c48765 commit b325ff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/flask_forms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Here is a live form page shown beside the rendered source code for choices.
:alt: Live form page shown beside rendered source code for choices


* `Live app <https://presidents-search.onrender.com/search>`_ (it will take about a minute to load)
* `Live app <https://presidents-search.onrender.com/search>`_ &mdash; Presidents Search (it will take about a minute to load)
* `Code <https://github.com/macloo/flask_pres_search2/>`_


Expand Down Expand Up @@ -217,7 +217,7 @@ Examining the route function

Before reading further, try out a `working version of this app <https://weimergeeks.com/flaskform/>`_. The complete code for the app is in the folder named `actors_app <https://github.com/macloo/python-adv-web-apps/tree/master/python_code_examples/flask/actors_app>`_.

1. You type an actor’s name into the form and submit it.
1. You type an actor’s name into the form and submit it. Try Willem Dafoe, Viola Davis, Morgan Freeman, or Kate Winslet (there are only 100 names).
2. If the actor’s name is in the data source (ACTORS), the app loads a detail page for that actor. (Photos of bears 🐻 stand in for real photos of the actors.)
3. Otherwise, you stay on the same page, the form is cleared, and a message tells you that actor is not in the database.

Expand Down

0 comments on commit b325ff4

Please sign in to comment.