Re: Unicode normalization for username field

2016-05-03 Thread Rick Leir
Hi all Could there be a consensus with -default to ASCII -optionally, UTF8 with normalization -based on Claude's code -Python 3 required so we are not distracted by compatibility issues Cheers -- Rick -- You received this message because you are subscribed to the Google Groups "Django

Table Locks and bulk creating inherited models

2016-05-03 Thread Rick Leir
I feel that you are better off disabling autocommit and managing your own transactions, docs here: https://docs.djangoproject.com/en/1.9/topics/db/transactions/ But no doubt I am missing something in your plans. You would need multiple transactions or you would have performance problems due to

Re: Unicode normalization for username field

2016-04-21 Thread Rick Leir
Thanks. To summarize quickly, (corrections please) 2008 - Usernames in django.contrib.auth are restricted to ASCII alphanumerics. Allowing Unicode seems fairly simple: compile the validator's regular expression with the re.UNICODE flag. but:

Re: Enforcing a max size for form field values read into memory (review/determination of next steps needed)

2016-04-21 Thread Rick Leir
As noted in the ticket, PHP has built in limit in its config http://stackoverflow.com/questions/2364840/what-is-the-size-limit-of-a-post-request Apache can limit it "LimitRequestBody 1048576"

Unicode normalization for username field

2016-04-21 Thread Rick Leir
Hi all, We have discussed the possibility of username spoofing in the users list. https://groups.google.com/d/msg/django-users/Q0WDYqJsBsY/Sq-P0814LwAJ "It's not important until this happens: https://labs.spotify.com/2013/06/18/creative-usernames/ But my searches did not turn up anything in