Yes, the form value is currently hard coded.
I can't think of any particular reason that this shouldn't be configurable though. If you're looking to get into Django development, it would be a fairly easy feature to contribute - there isn't that much code required to implement the change, and the docs and tests will be pretty straightforward.
Yours,
Russ Magee %-)
On Tue, Apr 28, 2015 at 5:27 PM, Vermus <vermus.jabber@gmail.com> wrote:
--ok, i renamed cookie name,but what about rename input name "csrfmiddlewaretoken" of {% csrf_token %}?as i see it is harcoded?
вторник, 28 апреля 2015 г., 11:28:36 UTC+3 пользователь Vermus написал:Oh, I missed this setting, stupid (i think, it is new for me, i'm using django since 1.0)thank you!
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/52f0c198-fb37-4389-9da8-34ce18cb6625%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJxq84-NvvNd%3Dji-eE5L_C0Owz0MGrjCvu8Ox_X0q0%3DoiBxRFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment