| Age | Commit message (Collapse) | Author |
|
This is a security fix. Disclosure and advisory coming shortly.
|
|
Backport of 3fc43c964e from master.
|
|
Thanks dibrovsd@gmail.com for the report.
Backport of d11038acb2 from master.
|
|
Backport of b9fc70141abd4c812b03df50452a0d3ed8cd62d2 from master
|
|
Thanks kujiu for the report and Aymeric Augustin for the review.
Backport of c91667338 from master.
|
|
is_valid
Thanks Simon Charette for the report and the initial patch.
Backport of 66dfcc10b from master.
|
|
Backport of 349c4c37f8 from master.
|
|
Refs #18417. Also fixed some test case classes which subclassed
the wrong parent.
Backport of a5d47415f from master.
|
|
Browsers consider the first newline in textareas as some display
artifact, not real content. Hence they are not sending it back to
the server. If we want to keep initial newlines, we have to add one
when we render the textarea.
Thanks bastih for the report and initial patch.
Backport of 78f66691ee from master.
|
|
Thanks Dan Fairs for the report and the initial patch.
Backport of be29329cc from master.
|
|
|
|
supplied error_class
Patch with tests from charettes, updated.
|
|
Refs #17867.
The address in test_email_regexp_for_performance used to take forever
(security issue), then was supposed to fail after the fix (commit 9f8287a3f).
Now we are less strict with domain validation, due to new IDN domains,
hence the validation of this address pass now.
|
|
|
|
value
|
|
|
|
Thanks gwahl at fusionbox com.
|
|
Refs #16630.
|
|
brutasse for the patch.
|
|
|
|
Validation is reasonably 'soft', as for the ipv4. False positives don't
matter too much here.
|
|
* Renamed the __unicode__ methods
* Applied the python_2_unicode_compatible decorator
* Removed the StrAndUnicode mix-in that is superseded by
python_2_unicode_compatible
* Kept the __unicode__ methods in classes that specifically
test it under Python 2
|
|
|
|
* Renamed smart_unicode to smart_text (but kept the old name under
Python 2 for backwards compatibility).
* Renamed smart_str to smart_bytes.
* Re-introduced smart_str as an alias for smart_text under Python 3
and smart_bytes under Python 2 (which is backwards compatible).
Thus smart_str always returns a str objects.
* Used the new smart_str in a few places where both Python 2 and 3
want a str.
|
|
cleaned_data is no longer deleted when form validation fails but only
contains the data that did validate.
Thanks to the various contributors to this patch (see ticket).
|
|
|
|
|
|
django.utils.unittest.* weren't touched -- they're only imported on Python 2.6.
|
|
|
|
Thanks Vinay Sajip for the support of his django3 branch and
Jannis Leidel for the review.
|
|
In previous version it used /django/forms/ which was fragile - for some
users .pyc files were not generated and this tests failed.
|
|
|
|
|
|
|
|
This is a preparation for unicode literals general usage in
Django (Python 3 compatibility).
|
|
|
|
Thanks Clueless for the initial patch.
Note that unittest has been purposely left out (external package only used by Python 2.6).
|
|
This was a regression in Django 1.4.
Thanks bronger for the report and claudep for the patch.
|
|
|
|
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
happens when you use git-svn.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17926 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
addition to regular files. Thank you to Brian Rosner, for encouraging me to first contribute to Django 4 years ago.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
The deprecation schedule was slightly accelerated because of possible security ramifications.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
the initial patch and Aymeric Augustin for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
Thanks jonash for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
SelectDateWidget has changed if it's not required. Thanks, pigletto.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
paulcollins.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17430 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
converted Django tests to use them where appropriate. Thanks Greg Müllegger.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|