M
M
maxclax2017-09-28 09:59:34
Django
maxclax, 2017-09-28 09:59:34

How to hide the DJANGo framework (csrfmiddlewaretoken)?

Tell me how to hide from the qualifiers that you are using Django.

<input type='hidden' name='csrfmiddlewaretoken' value='***' />

How to rename csrfmiddlewaretoken? With a standard name, framework qualifiers determine that you are on django.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PrAw, 2017-09-28
@maxclax

https://github.com/django/django/blob/master/djang... I
suspect that you can
1. brazenly patch the file
2. spawn a child class in which the token is named as it should and use this implementation already
3. start monkeypatching
search more in the templates {% csrf_token %} and redefine the necessary templates.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question