From c1b484f66791058d4d50cc936204e28dfb0fc2c5 Mon Sep 17 00:00:00 2001 From: Mara Karagianni Date: Wed, 28 Aug 2024 14:11:12 +0100 Subject: [PATCH] Deployed 9f1f12d1 with MkDocs version: 1.6.0 --- 404.html | 2 + api/index.html | 2 + celery/index.html | 2 + ckeditor/index.html | 2 + contributing/index.html | 2 + diagrams_modules/index.html | 2 + django_shell_basics/index.html | 2 + howtomkdocs/index.html | 2 + img_saving_and_deletion/index.html | 60 ++++++++++++++++++++++----- index.html | 4 +- installation_dev/index.html | 2 + installation_prod/index.html | 2 + languages_and_translations/index.html | 2 + management_commands/index.html | 2 + project_insights/index.html | 6 ++- reference/index.html | 2 + software_architecture/index.html | 6 ++- tests/index.html | 2 + 18 files changed, 89 insertions(+), 15 deletions(-) diff --git a/404.html b/404.html index 0fff62d6f..9553ffe60 100644 --- a/404.html +++ b/404.html @@ -68,6 +68,8 @@
  • project insights
  • +
  • images +
  • architecture
  • tests diff --git a/api/index.html b/api/index.html index b4c73fced..e6ce4849c 100644 --- a/api/index.html +++ b/api/index.html @@ -117,6 +117,8 @@
  • project insights
  • +
  • images +
  • architecture
  • tests diff --git a/celery/index.html b/celery/index.html index 9595e0713..0ddab282f 100644 --- a/celery/index.html +++ b/celery/index.html @@ -77,6 +77,8 @@
  • project insights
  • +
  • images +
  • architecture
  • tests diff --git a/ckeditor/index.html b/ckeditor/index.html index 535156d76..f888944e6 100644 --- a/ckeditor/index.html +++ b/ckeditor/index.html @@ -77,6 +77,8 @@
  • project insights
  • +
  • images +
  • architecture
  • tests diff --git a/contributing/index.html b/contributing/index.html index 4223af429..4ace733cc 100644 --- a/contributing/index.html +++ b/contributing/index.html @@ -75,6 +75,8 @@
  • project insights
  • +
  • images +
  • architecture
  • tests diff --git a/diagrams_modules/index.html b/diagrams_modules/index.html index 2f23490f2..6af8feb19 100644 --- a/diagrams_modules/index.html +++ b/diagrams_modules/index.html @@ -91,6 +91,8 @@
  • project insights
  • +
  • images +
  • architecture
  • tests diff --git a/django_shell_basics/index.html b/django_shell_basics/index.html index 6d93d5a63..6f0c43cc5 100644 --- a/django_shell_basics/index.html +++ b/django_shell_basics/index.html @@ -83,6 +83,8 @@
  • project insights
  • +
  • images +
  • architecture
  • tests diff --git a/howtomkdocs/index.html b/howtomkdocs/index.html index 616863d5b..90453801c 100644 --- a/howtomkdocs/index.html +++ b/howtomkdocs/index.html @@ -77,6 +77,8 @@
  • project insights
  • +
  • images +
  • architecture
  • tests diff --git a/img_saving_and_deletion/index.html b/img_saving_and_deletion/index.html index 4b014f512..2fffed9f8 100644 --- a/img_saving_and_deletion/index.html +++ b/img_saving_and_deletion/index.html @@ -112,6 +112,46 @@
  • project insights +
  • +
  • images +
  • architecture
  • @@ -177,9 +217,9 @@

    Users

    account_deletion # the namespace defined in the accounts.urls.py

    Project

    -

    project's two images are saved under:

    -
           "media/projects/backgrounds"  # decorative background image
    -       "media/projects/tiles"       # project's tile image
    +

    Image storage for projects is categorised by date, and a project's two images are saved under:

    +
           "media/projects/backgrounds/YYYY/MM/DD"  # decorative background image
    +       "media/projects/tiles/YYYY/MM/DD"       # project's tile image
     

    project images are deleted when its organisation is deleted, and when the project is deleted via the user dashboard in the browser, which calls the endpoint:

    projects.views.ProjectDeleteView
    @@ -194,8 +234,8 @@ 

    Organisation

    When an organisation is deleted, all its related projects with their modules get deleted too.

    Modules

    Idea

    -

    idea's image is saved under:

    -
           "media/ideas/images"
    +

    Image storage for ideas is categorised by date, and an idea's image is saved under:

    +
           "media/ideas/images/YYYY/MM/DD"
     

    idea image gets deleted when an idea is deleted via its idea detail page in the browser, which calls the endpoint:

    
    @@ -207,7 +247,7 @@ 

    Idea

    Budgeting, MapIdea, Topicrio

    for those modules, images are deleted when the module is deleted either via the module page or the user dashboard. Their deletion inherits from the AbstractIdeaDeleteView and their images are also uploaded to:

    -
           "media/ideas/images"
    +
           "media/ideas/images/YYYY/MM/DD"
     

    Budgeting

    Module is defined as Proposal and inherits from AbstractMapIdea, thus upload path is defined in the Parent class. @@ -250,8 +290,8 @@

    Map