aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2023-03-21 23:13:55 +0100
committerGravatar Johannes Christ <[email protected]>2023-03-21 23:13:55 +0100
commit71208aa5ccd9606033227a91ee08a39148258ceb (patch)
treef530f43d51237e94cbcc98707534a0dad6c1a89e
parentMerge pull request #912 from python-discord/update-partners-mention (diff)
Add a README for the events app
-rw-r--r--pydis_site/apps/events/README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/pydis_site/apps/events/README.md b/pydis_site/apps/events/README.md
new file mode 100644
index 00000000..f0d20510
--- /dev/null
+++ b/pydis_site/apps/events/README.md
@@ -0,0 +1,19 @@
+# The "events" app
+
+This application serves mostly static pages that showcase events we run on our
+community. You most likely want to look at the [templates
+directory](../../templates/events) for this app if you want to change anything.
+
+## Directory structure
+
+This app has a relatively minimal structure:
+
+- `migrations` is empty as we don't work with any models here.
+
+- `tests` contains a few tests to make sure that serving our events pages works.
+
+- `views` contains Django views that concern themselves with looking up the
+ matching Django template.
+
+The actual content lives in the [templates directory two layers
+up](../../templates/events).