aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2023-03-25 22:53:58 +0000
committerGravatar GitHub <[email protected]>2023-03-25 22:53:58 +0000
commit8ccf1e6694da3c88f92e9f19b6a86714288cbae8 (patch)
tree4283b966e4ce127538ba2a88f4ef2cd941ee9cdf
parentMerge pull request #914 from python-discord/drop-pyfakefs (diff)
parentMerge branch 'main' into events-app-readme (diff)
Merge pull request #913 from python-discord/events-app-readme
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).