I wanted to customize some views and looking up the forum found out that theme directory serves exactly this purpose. However (maybe because I did not install the docker instance, but created a simple local installation) the theme folder did not exist. Anyway, I created it and added this directory to the TEMPLATES setting, like this:
...
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [os.path.join(os.path.join(os.path.join(os.path.dirname(BASE_DIR), 'misago'), 'theme'), 'templates')],
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [
...
So Django finds the templates in theme.
Is this the right way to do it in Misago, or am I missing something?
Thx!