Add CSRF option to extra.py
This commit is contained in:
parent
df41020cb8
commit
993c93b34a
1 changed files with 4 additions and 0 deletions
|
@ -53,3 +53,7 @@
|
||||||
# from datetime import datetime
|
# from datetime import datetime
|
||||||
# now = datetime.now().strftime("%d/%m/%Y %H:%M:%S")
|
# now = datetime.now().strftime("%d/%m/%Y %H:%M:%S")
|
||||||
# BANNER_TOP = f'<marquee width="200px">This instance started on {now}.</marquee>'
|
# BANNER_TOP = f'<marquee width="200px">This instance started on {now}.</marquee>'
|
||||||
|
|
||||||
|
# Allow CSRF trusted origins, e.g:
|
||||||
|
# CSRF_TRUSTED_ORIGINS = ['http://netbox.example.com']
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue