# conquerblocks/conquerblocks-django-inicial architecture

> Architecture diagram of the GitHub repository conquerblocks/conquerblocks-django-inicial, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/conquerblocks/conquerblocks-django-inicial
- Repository: https://github.com/conquerblocks/conquerblocks-django-inicial

## Overview

The tree contains four separate Django teaching applications: a library catalogue, a courses/blog site, a family-and-people manager, and an Instagram-style social app. Their user-facing workflows are handled by Django views, with models holding domain data; the Instagram app additionally supports profiles, follows, posts, comments, and likes. The README describes the repository as course material rather than one deployed product. Several routes and subsystems are unsampled, so the graph keeps those capabilities visible but avoids asserting unverified wiring.

Main entry points: [`02_code/conquerblocks_project/core/views.py`](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquerblocks_project/core/views.py) (Site pages and contact), [`02_code/instagram/instagram/views.py`](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/instagram/views.py) (Social workflows), [`02_code/biblioteca/books/views/editoriales_views.py`](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/biblioteca/books/views/editoriales_views.py) (Editorial workflows), [`02_code/biblioteca/books/models`](https://github.com/conquerblocks/conquerblocks-django-inicial/tree/main/02_code/biblioteca/books/models) (Catalogue records)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_biblioteca["Library catalogue"]
  node_library_editorial_views["Editorial workflows"]
  node_library_author_views["Author workflows<br/>[autores_views.py]"]
  node_library_book_views["Book workflows<br/>[libros_views.py]"]
  node_library_forms["Editorial forms<br/>[editorial_forms.py]"]
  node_library_models[("Catalogue records")]
  node_library_stats["Catalogue statistics"]
end

subgraph group_conquerblocks["Courses and blog"]
  node_site_views["Site pages and contact<br/>[views.py]"]
  node_site_forms["Account and contact forms<br/>[forms.py]"]
  node_site_core_data[("Contact records<br/>[models.py]")]
  node_course_data[("Course catalogue<br/>[models.py]")]
  node_blog_data[("Blog posts<br/>[models.py]")]
end

subgraph group_manager["Family manager"]
  node_manager_views["Manager views<br/>[views.py]"]
  node_manager_data[("Family and people<br/>[models.py]")]
  node_manager_seed["Sample-data creation<br/>[create_data.py]"]
end

subgraph group_instagram["Social app"]
  node_social_views["Social workflows<br/>[views.py]"]
  node_social_forms["Account forms<br/>[forms.py]"]
  node_profile_forms["Follow forms<br/>[forms.py]"]
  node_profile_data[("Profiles and follows<br/>[models.py]")]
  node_post_views["Post workflows<br/>[views.py]"]
  node_post_forms["Post and comment forms<br/>[forms.py]"]
  node_post_data[("Posts and comments<br/>[models.py]")]
  node_notifications["Notifications app"]
end

node_library_user(("Library user"))
node_site_visitor(("Site visitor"))
node_mail_service["Email service"]
node_manager_user(("Manager user"))
node_social_user(("Social user"))

node_library_editorial_views -->|"uses forms"| node_library_forms
node_library_editorial_views -->|"reads and writes"| node_library_models
node_library_forms -->|"models form"| node_library_models
node_library_stats -->|"counts records"| node_library_models
node_library_user -.->|"requests"| node_library_editorial_views
node_library_user -.->|"requests"| node_library_author_views
node_library_user -.->|"requests"| node_library_book_views
node_site_views -->|"validates input"| node_site_forms
node_site_views -->|"stores contacts"| node_site_core_data
node_site_views -->|"reads courses"| node_course_data
node_site_views -->|"reads posts"| node_blog_data
node_site_views -->|"sends email"| node_mail_service
node_site_visitor -.->|"requests"| node_site_views
node_manager_seed -->|"creates records"| node_manager_data
node_manager_user -.->|"requests"| node_manager_views
node_social_views -->|"uses forms"| node_social_forms
node_social_views -->|"uses forms"| node_profile_forms
node_social_views -->|"reads and updates"| node_profile_data
node_social_views -->|"reads posts"| node_post_data
node_post_views -->|"uses forms"| node_post_forms
node_post_views -->|"reads and writes"| node_post_data
node_social_user -.->|"requests"| node_social_views

click node_library_editorial_views "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/biblioteca/books/views/editoriales_views.py"
click node_library_author_views "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/biblioteca/books/views/autores_views.py"
click node_library_book_views "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/biblioteca/books/views/libros_views.py"
click node_library_forms "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/biblioteca/books/forms/editorial_forms.py"
click node_library_models "https://github.com/conquerblocks/conquerblocks-django-inicial/tree/main/02_code/biblioteca/books/models"
click node_library_stats "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/biblioteca/biblioteca/context_processor.py"
click node_site_views "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquerblocks_project/core/views.py"
click node_site_forms "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquerblocks_project/core/forms.py"
click node_site_core_data "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquerblocks_project/core/models.py"
click node_course_data "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquerblocks_project/courses/models.py"
click node_blog_data "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquerblocks_project/blog/models.py"
click node_manager_views "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquermanager/todos/views.py"
click node_manager_data "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquermanager/todos/models.py"
click node_manager_seed "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquermanager/create_data.py"
click node_social_views "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/instagram/views.py"
click node_social_forms "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/instagram/forms.py"
click node_profile_forms "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/profiles/forms.py"
click node_profile_data "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/profiles/models.py"
click node_post_views "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/posts/views.py"
click node_post_forms "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/posts/forms.py"
click node_post_data "https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/posts/models.py"
click node_notifications "https://github.com/conquerblocks/conquerblocks-django-inicial/tree/main/02_code/instagram/notifications"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_library_editorial_views,node_library_author_views,node_library_book_views,node_library_forms,node_library_models,node_library_stats,node_library_user,node_manager_user,node_social_user toneBlue
class node_site_views,node_site_forms,node_site_core_data,node_course_data,node_blog_data toneAmber
class node_manager_views,node_manager_data,node_manager_seed toneMint
class node_social_views,node_social_forms,node_profile_forms,node_profile_data,node_post_views,node_post_forms,node_post_data,node_notifications toneRose
class node_site_visitor,node_mail_service toneIndigo
```

## Components

### Library catalogue

- [Editorial workflows](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/biblioteca/books/views/editoriales_views.py): `02_code/biblioteca/books/views/editoriales_views.py`
- [Author workflows](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/biblioteca/books/views/autores_views.py): `02_code/biblioteca/books/views/autores_views.py`
- [Book workflows](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/biblioteca/books/views/libros_views.py): `02_code/biblioteca/books/views/libros_views.py`
- [Editorial forms](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/biblioteca/books/forms/editorial_forms.py): `02_code/biblioteca/books/forms/editorial_forms.py`
- [Catalogue records](https://github.com/conquerblocks/conquerblocks-django-inicial/tree/main/02_code/biblioteca/books/models): `02_code/biblioteca/books/models`
- [Catalogue statistics](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/biblioteca/biblioteca/context_processor.py): `02_code/biblioteca/biblioteca/context_processor.py`

### Courses and blog

- [Site pages and contact](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquerblocks_project/core/views.py): `02_code/conquerblocks_project/core/views.py`
- [Account and contact forms](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquerblocks_project/core/forms.py): `02_code/conquerblocks_project/core/forms.py`
- [Contact records](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquerblocks_project/core/models.py): `02_code/conquerblocks_project/core/models.py`
- [Course catalogue](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquerblocks_project/courses/models.py): `02_code/conquerblocks_project/courses/models.py`
- [Blog posts](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquerblocks_project/blog/models.py): `02_code/conquerblocks_project/blog/models.py`

### Family manager

- [Manager views](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquermanager/todos/views.py): `02_code/conquermanager/todos/views.py`
- [Family and people](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquermanager/todos/models.py): `02_code/conquermanager/todos/models.py`
- [Sample-data creation](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/conquermanager/create_data.py): `02_code/conquermanager/create_data.py`

### Social app

- [Social workflows](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/instagram/views.py): `02_code/instagram/instagram/views.py`
- [Account forms](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/instagram/forms.py): `02_code/instagram/instagram/forms.py`
- [Follow forms](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/profiles/forms.py): `02_code/instagram/profiles/forms.py`
- [Profiles and follows](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/profiles/models.py): `02_code/instagram/profiles/models.py`
- [Post workflows](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/posts/views.py): `02_code/instagram/posts/views.py`
- [Post and comment forms](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/posts/forms.py): `02_code/instagram/posts/forms.py`
- [Posts and comments](https://github.com/conquerblocks/conquerblocks-django-inicial/blob/main/02_code/instagram/posts/models.py): `02_code/instagram/posts/models.py`
- [Notifications app](https://github.com/conquerblocks/conquerblocks-django-inicial/tree/main/02_code/instagram/notifications): `02_code/instagram/notifications`

### Other components

- **Library user**
- **Site visitor**
- **Email service**
- **Manager user**
- **Social user**

## Connections

- Editorial workflows → Editorial forms: uses forms (evidence: `02_code/biblioteca/books/views/editoriales_views.py`)
- Editorial workflows → Catalogue records: reads and writes (evidence: `02_code/biblioteca/books/views/editoriales_views.py`)
- Editorial forms → Catalogue records: models form (evidence: `02_code/biblioteca/books/forms/editorial_forms.py`)
- Catalogue statistics → Catalogue records: counts records (evidence: `02_code/biblioteca/biblioteca/context_processor.py`)
- Library user → Editorial workflows: requests
- Library user → Author workflows: requests
- Library user → Book workflows: requests
- Site pages and contact → Account and contact forms: validates input (evidence: `02_code/conquerblocks_project/core/views.py`)
- Site pages and contact → Contact records: stores contacts (evidence: `02_code/conquerblocks_project/core/views.py`)
- Site pages and contact → Course catalogue: reads courses (evidence: `02_code/conquerblocks_project/core/views.py`)
- Site pages and contact → Blog posts: reads posts (evidence: `02_code/conquerblocks_project/core/views.py`)
- Site pages and contact → Email service: sends email (evidence: `02_code/conquerblocks_project/core/views.py`)
- Site visitor → Site pages and contact: requests
- Sample-data creation → Family and people: creates records (evidence: `02_code/conquermanager/create_data.py`)
- Manager user → Manager views: requests
- Social workflows → Account forms: uses forms (evidence: `02_code/instagram/instagram/views.py`)
- Social workflows → Follow forms: uses forms (evidence: `02_code/instagram/instagram/views.py`)
- Social workflows → Profiles and follows: reads and updates (evidence: `02_code/instagram/instagram/views.py`)
- Social workflows → Posts and comments: reads posts (evidence: `02_code/instagram/instagram/views.py`)
- Post workflows → Post and comment forms: uses forms (evidence: `02_code/instagram/posts/views.py`)
- Post workflows → Posts and comments: reads and writes (evidence: `02_code/instagram/posts/views.py`)
- Social user → Social workflows: requests
