Adding CSRF Validation for schemas (#15027)

* Adding CSRF Validation for schemas

* Changing retrieve of scheme to avoid importing new library

* check if CSRF_TRUSTED_ORIGINS exists before accessing it

---------

Signed-off-by: Bruno Sanchez <brsanche@redhat.com>
This commit is contained in:
Bruno Sanchez
2024-04-24 20:47:03 +01:00
committed by GitHub
parent f5f85666c8
commit 7dc77546f4
2 changed files with 25 additions and 1 deletions

View File

@@ -4,7 +4,6 @@ from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0189_inbound_hop_nodes'),
]