I am building a site that will render articles and essays. They will be
arranged by topic.
An index of topics will be rendered. Once a topic is selected, a list
of articles will be rendered as a secondary index.
I propose to control this rendering using two data structures that will
grow in size as articles and/or topics are added.
One data structure would be a list or tuple of topics. The other would
be a dictionary where topics are the keys.
As I am new to django, I am not sure where to source such data
structures? Models.py or perhaps a new, dedicated module?
python = 3.7.2
django.VERSION = (2, 2, 6, 'final', 0)
thank you
--
Tim
tj49.com