Moved the view of the HTTP 500 Internal Server Error from the Mia core application to the site URL settings, to reduce coupling between the site settings and the Mia core application.

This commit is contained in:
imacat committed 2020-08-12 00:27:37 +08:00
1 parent 39efb65e2c
commit 5f18cc719c
2 files changed
+1 -12

No files matched your search

+1
View File
@@ -79,6 +79,7 @@ def cash(request, account, period):
Returns:
HttpResponse: The response.
"""
a = 3 / 0
# The accounting records
if account.code == "0":
records = list(