From 72bfc94da33a2b7babaa4f943f07fbfe408a545c Mon Sep 17 00:00:00 2001 From: cactode Date: Thu, 5 Aug 2021 11:22:28 +0300 Subject: [PATCH] Clarifying syntax Making sure students don't confuse variable routes with template substitution. --- 0.8 Flask Forms/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0.8 Flask Forms/README.md b/0.8 Flask Forms/README.md index 54446d33c..a87d83d75 100644 --- a/0.8 Flask Forms/README.md +++ b/0.8 Flask Forms/README.md @@ -39,7 +39,7 @@ It should look something like this: - **If not**, you should keep the user on `login` page. 3. Now, after you're done with setting up the `login` and `signup` features, let's add an `edit_account` route! - - You should create a new route, that looks something like this: `/edit/{{user_id}}`, for example - `/edit/3` would allow us to edit the account information that belongs to user with the id -> 3. + - You should create a new variable route, that looks something like this: `/edit/`, for example - `/edit/3` would allow us to edit the account information that belongs to user with the id -> 3. - The `edit_account` HTML page should have a form just like `signup.html`, so our users can have the possibility of changing/editing any piece of information they'd like! IT should look something like this: