diff options
| author | Bobby <[email protected]> | 2024-10-15 18:18:42 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-10-15 18:18:42 -0400 |
| commit | 226d3a1112e52073f8557d396cd80533ed8bce53 (patch) | |
| tree | 80dbf0a90789429d28e4c28cd4e2617cc43b4475 /apps/core/views.py | |
| parent | a010777be6b23f8875f175f78af09b7539709b2d (diff) | |
| download | thatcomputerscientist-226d3a1112e52073f8557d396cd80533ed8bce53.tar.xz thatcomputerscientist-226d3a1112e52073f8557d396cd80533ed8bce53.zip | |
starting something fresh
Diffstat (limited to 'apps/core/views.py')
| -rw-r--r-- | apps/core/views.py | 8 |
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") |
