diff options
author | 2021-04-14 23:45:24 +0800 | |
---|---|---|
committer | 2021-04-14 23:45:24 +0800 | |
commit | 10e1727c703d3cb91321e9ef51f54a0117efed19 (patch) | |
tree | f22468f5a455e48f3b5ab44814e612736f408f54 /pydis_site/apps/content/tests | |
parent | Add contributing guides assets. (diff) |
Avoid duplicate entries for page and category.
We have to add another check since `subarticles` is actually a list of
dictionaries and not a dictionary, so key overriding does not work.
We want the categories to take precedence over the pages in case of
future feature expansion involving showing sub-sub-articles.
Diffstat (limited to 'pydis_site/apps/content/tests')
0 files changed, 0 insertions, 0 deletions