From d8800daba32ce13b09df8ae50675f9c26b2f691e Mon Sep 17 00:00:00 2001 From: WGAVermeer <90707235+WGAVermeer@users.noreply.github.com> Date: Thu, 9 Apr 2026 10:35:28 +0200 Subject: [PATCH] created base gallery app, made start on documentation. --- FEATURE_ROADMAP.md => docs/ROADMAP.md | 0 docs/architecture/decisions.md | 0 docs/templates/template.md | 72 +++++++++++++++++++++++++++ src/gallery/__init__.py | 0 src/gallery/admin.py | 3 ++ src/gallery/apps.py | 5 ++ src/gallery/migrations/__init__.py | 0 src/gallery/models.py | 3 ++ src/gallery/tests.py | 3 ++ src/gallery/views.py | 3 ++ 10 files changed, 89 insertions(+) rename FEATURE_ROADMAP.md => docs/ROADMAP.md (100%) create mode 100644 docs/architecture/decisions.md create mode 100644 docs/templates/template.md create mode 100644 src/gallery/__init__.py create mode 100644 src/gallery/admin.py create mode 100644 src/gallery/apps.py create mode 100644 src/gallery/migrations/__init__.py create mode 100644 src/gallery/models.py create mode 100644 src/gallery/tests.py create mode 100644 src/gallery/views.py diff --git a/FEATURE_ROADMAP.md b/docs/ROADMAP.md similarity index 100% rename from FEATURE_ROADMAP.md rename to docs/ROADMAP.md diff --git a/docs/architecture/decisions.md b/docs/architecture/decisions.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/templates/template.md b/docs/templates/template.md new file mode 100644 index 0000000..aa73253 --- /dev/null +++ b/docs/templates/template.md @@ -0,0 +1,72 @@ +# Feature Name + +> One sentence description of what this feature does and who it is for. + +## Status + +`Planned` `In Progress` `In Review` `Complete` `Deferred` + +## Background + + +## Scope + + +**In scope:** +- + +**Out of scope:** +- + +## User Stories + +- As a **[member / board member / anonymous visitor]**, I want to **[action]** so that **[outcome]**. + +## Data Model + + +```python +class ExampleModel(models.Model): + pass +``` + +**Related models:** +- `User` — + +## GDPR Considerations + + +| Question | Answer | +|---|---| +| Personal data collected | | +| Legal basis | Legitimate interest / Consent / Legal obligation | +| Retention period | See `docs/gdpr/retention-policy.md` / [custom policy] | +| Erasure behaviour | Cascade delete / Anonymise / Transfer ownership | +| Visible to non-members | Yes / No | + +## Open Questions + +- [ ] + +## Decisions Log + + +| Date | Decision | Reasoning | +|---|---|---| +| YYYY-MM-DD | | | + +## Tasks + + +### Backend +- [ ] + +### Frontend +- [ ] + +### Tests +- [ ] + +## Related + +- diff --git a/src/gallery/__init__.py b/src/gallery/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/gallery/admin.py b/src/gallery/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/src/gallery/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/src/gallery/apps.py b/src/gallery/apps.py new file mode 100644 index 0000000..07f5d13 --- /dev/null +++ b/src/gallery/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class GalleryConfig(AppConfig): + name = 'gallery' diff --git a/src/gallery/migrations/__init__.py b/src/gallery/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/gallery/models.py b/src/gallery/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/src/gallery/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/src/gallery/tests.py b/src/gallery/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/src/gallery/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/src/gallery/views.py b/src/gallery/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/src/gallery/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.