Ticket #13108: forms.diff
File forms.diff, 700 bytes (added by , 15 years ago) |
---|
-
django/contrib/auth/tests/forms.py
221 221 222 222 # bug #5605, preserve the case of the user name (before the @ in the email address) 223 223 # when creating a user. 224 >>> user = User.objects.create_user(' test2', 'tesT@EXAMple.com', 'test')224 >>> user = User.objects.create_user('forms_test2', 'tesT@EXAMple.com', 'test') 225 225 >>> user.email 226 226 'tesT@example.com' 227 >>> user = User.objects.create_user(' test3', 'tesT', 'test')227 >>> user = User.objects.create_user('forms_test3', 'tesT', 'test') 228 228 >>> user.email 229 229 'tesT' 230 230