aboutsummaryrefslogtreecommitdiff
path: root/apps/core/views.py
diff options
context:
space:
mode:
authorBobby <[email protected]>2024-10-15 18:18:42 -0400
committerBobby <[email protected]>2024-10-15 18:18:42 -0400
commit226d3a1112e52073f8557d396cd80533ed8bce53 (patch)
tree80dbf0a90789429d28e4c28cd4e2617cc43b4475 /apps/core/views.py
parenta010777be6b23f8875f175f78af09b7539709b2d (diff)
downloadthatcomputerscientist-226d3a1112e52073f8557d396cd80533ed8bce53.tar.xz
thatcomputerscientist-226d3a1112e52073f8557d396cd80533ed8bce53.zip
starting something fresh
Diffstat (limited to 'apps/core/views.py')
-rw-r--r--apps/core/views.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/core/views.py b/apps/core/views.py
new file mode 100644
index 00000000..359a1c86
--- /dev/null
+++ b/apps/core/views.py
@@ -0,0 +1,8 @@
+from django.shortcuts import render
+from thatcomputerscientist.utils import i18npatterns
+
+
+def home(request):
+ LANGUAGE_CODE = i18npatterns(request.LANGUAGE_CODE)
+
+ return render(request, f"{LANGUAGE_CODE}/core/home.html")