Hello,

I'm a complete newbie and discovering the codebase. Inspect element in
http://127.0.0.1:8000/_accounts/settings/ (when running the testproject)
shows two identical hidden input fields with name="csrfmiddlewaretoken".
They seem to be generated by two occurrences of {% csrf_token %}:
- The first is in the template
wiki/templates/wiki/accounts/account_settings.html, end of line 8
- The second is in the template wiki/templates/wiki/includes/form.html,
beginning of line 1
The second template is included in the first one ({% csrf_token %} is
immediately followed by {% wiki_form form %} on the next line).

Should/could the first occurrence above be removed? I'm guessing this would
NOT cause any actual bug either way,

Chers,
Algorobot42

PS: I tried asking on #django, but kept getting the following error with
the in browser liberia irc client: "Cannot join channel (+r) - you need to
be logged into your NickServ account"

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMJzALP1_YhMc0530sZ2ZDLC%3DxqA9affFu%3DXLUU6WR6Qk4XtrQ%40mail.gmail.com.

Reply via email to