Skip to content
Advertisement

Inheriting name of category in Flask

I am working on budget app in Flask.

Homepage give you ability to create names of Budgets and then names are transformed to links href which transfer you to another page with budget details.

JavaScript
JavaScript

I want heading from /add_budget page to be inherit from budget name defined by user

JavaScript
JavaScript

and it works fine until I add second budget – in that case heading on specific budget page inherit both budget names. When I add three – it inherit three, and so on.

Is that away in Flask to make the heading inherit only one defined by user text?

Advertisement

Answer

I have found resolution:

JavaScript
JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement