From 6e010e9bcf54980a055f7225b8d27b2b4ed658ed Mon Sep 17 00:00:00 2001 From: ksanu Date: Sun, 15 Dec 2019 17:49:20 +0100 Subject: [PATCH] BES-45 BES-50 BES-51 Added topics.html template, added method to use template notes.html to generate notes_by_topic_id, modified backend to work with the mentioned addtions. --- .idea/workspace.xml | 10 ++----- .../__pycache__/__init__.cpython-38.pyc | Bin 205 -> 205 bytes .../__pycache__/settings.cpython-38.pyc | Bin 2526 -> 2526 bytes .../__pycache__/urls.cpython-38.pyc | Bin 1128 -> 1128 bytes .../__pycache__/wsgi.cpython-38.pyc | Bin 626 -> 626 bytes bestnotes/__pycache__/__init__.cpython-38.pyc | Bin 198 -> 198 bytes bestnotes/__pycache__/admin.cpython-38.pyc | Bin 424 -> 424 bytes bestnotes/__pycache__/apps.cpython-38.pyc | Bin 424 -> 424 bytes bestnotes/__pycache__/models.cpython-38.pyc | Bin 1988 -> 1988 bytes bestnotes/__pycache__/urls.cpython-38.pyc | Bin 633 -> 779 bytes bestnotes/__pycache__/views.cpython-38.pyc | Bin 1504 -> 2129 bytes .../__pycache__/0001_initial.cpython-38.pyc | Bin 1054 -> 1054 bytes .../__pycache__/__init__.cpython-38.pyc | Bin 209 -> 209 bytes bestnotes/static/topics.css | 4 +++ bestnotes/templates/subjects.html | 6 ++-- bestnotes/templates/topics.html | 25 ++++++++++++++++ bestnotes/urls.py | 2 ++ bestnotes/views.py | 28 +++++++++++++++++- 18 files changed, 64 insertions(+), 11 deletions(-) create mode 100644 bestnotes/static/topics.css create mode 100644 bestnotes/templates/topics.html diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 18ebf11..205d83f 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,16 +2,12 @@ - - - - + + - - + -