Completely re-structured the project from scratch, wrote a better bootstrap script, changed configuration format to yaml, improved Caddyfile, and more. #15 #16 #20
This commit is contained in:
parent
0012214f9b
commit
5572fec9c1
91 changed files with 739 additions and 1345 deletions
|
@ -1,16 +0,0 @@
|
|||
from django.conf import settings
|
||||
|
||||
from .models import Global
|
||||
|
||||
def app_version(request):
|
||||
|
||||
try:
|
||||
global_message = Global.objects.get(pk="global_message").value_string
|
||||
except Global.DoesNotExist:
|
||||
global_message = ""
|
||||
|
||||
return {
|
||||
"app_version": settings.APP_VERSION,
|
||||
"currency_suffix": settings.CURRENCY_SUFFIX,
|
||||
"global_message": global_message
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue