We've tried to articulate the reason for having a code of conduct here: https://www.djangoproject.com/conduct/faq/#why-do-we-need
Basically the alternative to writing a code of conduct isn't not to have one, it's for it to be implicit and undocumented. Put another way: we've been moderating #django and other forums for a while, it's not fair that the rules for that were in our heads, and not on paper (bytes).