forked from shaba/openuds
Fixed admin lang change
This commit is contained in:
commit
6cf8eb3e77
@ -108,3 +108,5 @@ def extend_sqlite(connection, **kwargs):
|
||||
connection.connection.create_function("MIN", 2, min)
|
||||
connection.connection.create_function("MAX", 2, max)
|
||||
connection.connection.create_function("CEIL", 1, math.ceil)
|
||||
connection.connection.create_function("FLOOR", 1, math.floor)
|
||||
|
||||
|
@ -44,6 +44,9 @@ logger = logging.getLogger(__name__)
|
||||
CSRF_FIELD = 'csrfmiddlewaretoken'
|
||||
|
||||
|
||||
CSRF_FIELD = 'csrfmiddlewaretoken'
|
||||
|
||||
|
||||
@denyBrowsers(browsers=['ie<10'])
|
||||
@webLoginRequired(admin=True)
|
||||
def index(request):
|
||||
|
File diff suppressed because one or more lines are too long
@ -78,6 +78,7 @@
|
||||
return s;
|
||||
}
|
||||
}
|
||||
var csrf = { csrfToken: '{{ csrf_token }}', csrfField: '{{ csrf_field }}' };
|
||||
|
||||
if (window.top !== window.self) {
|
||||
window.location.href = 'https://www.udsenterprise.com';
|
||||
@ -98,7 +99,7 @@
|
||||
</svg>
|
||||
</div>
|
||||
</uds-root>
|
||||
<script src="/uds/res/admin/runtime.js?stamp=1652985115" type="module"></script><script src="/uds/res/admin/polyfills.js?stamp=1652985115" type="module"></script><script src="/uds/res/admin/main.js?stamp=1652985115" type="module"></script>
|
||||
<script src="/uds/res/admin/runtime.js?stamp=1654535153" type="module"></script><script src="/uds/res/admin/polyfills.js?stamp=1654535153" type="module"></script><script src="/uds/res/admin/main.js?stamp=1654535153" type="module"></script>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Reference in New Issue
Block a user