{{{
#!div style="font-size: 80%"
Code highlighting:
{{{#!python
RANDOM_STRING_CHARS =
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
}}}
}}}
To
{{{
#!div style="font-size: 80%"
Code highlighting:
{{{#!python
RANDOM_STRING_CHARS = string.ascii_letters + string.digits
}}}
}}}
It looks more clean with string module than writing all characters.
--
Ticket URL: <https://code.djangoproject.com/ticket/33063>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => wontfix
Comment:
The length of alphabet is important in few places, that's why I would
prefer the current form. I don't think it's worth changing.
--
Ticket URL: <https://code.djangoproject.com/ticket/33063#comment:1>