Re: Facing problem to display dynamic (name,description of places AND price)on the web page using Django

2021-06-03 Thread Michael Smith
You can't have three of the same name view either can you? On Thu, Jun 3, 2021 at 9:36 AM Nandaniya Nilesh < nileshnandaniya...@gmail.com> wrote: > hello, > I am nilesh, > i think every funtion should return something. > > return dests from index named function. > last line is not with any functi

Displaying Categories / Subcategories (Tango with Django Example)

2017-05-10 Thread Michael Smith
I'm following the latest Tango book and was experimenting with different ways of looping through categories and subcategories to create a list. I have a 'Category' and 'Page' model, where Page has a foreign key to Category's ID. To display a list with sub-bullets I simply passed all categorie