Переглянути джерело

adding comments to make sections clearer in app

main
Simon Bowie 2 роки тому
джерело
коміт
cb34922f06
3 змінених файлів з 5 додано та 5 видалено
  1. +3
    -3
      web/app/__init__.py
  2. +1
    -1
      web/app/main.py
  3. +1
    -1
      web/app/search.py

+ 3
- 3
web/app/__init__.py Переглянути файл

@@ -19,15 +19,15 @@ def create_app():

moment.init_app(app)

# blueprint for main parts of app
# blueprint for main parts of app (contents and frontmatter)
from .main import main as main_blueprint
app.register_blueprint(main_blueprint)

# blueprint for search parts of app
# blueprint for search parts of app (Section 1: Searching the archive)
from .search import search as search_blueprint
app.register_blueprint(search_blueprint)

# blueprint for interventions parts of app
# blueprint for interventions parts of app (Section 2: Search Interventions)
from .interventions import interventions as interventions_blueprint
app.register_blueprint(interventions_blueprint)


+ 1
- 1
web/app/main.py Переглянути файл

@@ -2,7 +2,7 @@
# @creation_date: 2022-09-07
# @license: The MIT License <https://opensource.org/licenses/MIT>
# @author: Simon Bowie <ad7588@coventry.ac.uk>
# @purpose: Main route for index and other pages in Section 1: Searching the archive
# @purpose: Main route for index and other miscellaneous pages
# @acknowledgements:
# https://www.digitalocean.com/community/tutorials/how-to-add-authentication-to-your-app-with-flask-login


+ 1
- 1
web/app/search.py Переглянути файл

@@ -2,7 +2,7 @@
# @creation_date: 2022-09-07
# @license: The MIT License <https://opensource.org/licenses/MIT>
# @author: Simon Bowie <ad7588@coventry.ac.uk>
# @purpose: search route for search
# @purpose: search route for Section 1: Searching the archive
# @acknowledgements:
# https://www.digitalocean.com/community/tutorials/how-to-add-authentication-to-your-app-with-flask-login


Завантаження…
Відмінити
Зберегти