Finished the merge, Disabling comments, Community bans.

This commit is contained in:
some weird guy
2023-08-12 14:55:51 -07:00
parent 46844a7cfb
commit 74ef0db34c
67 changed files with 870 additions and 759 deletions
+12
View File
@@ -0,0 +1,12 @@
try:
from closedverse.settings import brand_name
except ImportError:
# use default app name by default as brand name
from closedverse_main import apps
brand_name = apps.ClosedverseMainConfig.verbose_name
# the name of the function is merely what's imported into settings.py
def brand_name_universal(request):
# this returns what's actually newly available to the template
# so the name of the key actually dictates what you put in the tmpl
return {"brand_name": brand_name}