summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2012-08-07[py3] Ported django.utils.regex_helper.Aymeric Augustin
2012-08-07[py3] Ported django.utils.functional.Aymeric Augustin
2012-08-07[py3] Ported django.utils.feedgenerator.Aymeric Augustin
2012-08-07[py3] Ported django.utils.crypto.Aymeric Augustin
2012-08-07[py3] Minor cleanup in django.utils.archive.Aymeric Augustin
2012-08-07[py3] Ported django.test.doctest.Aymeric Augustin
Based on Vinay Sajip's branch.
2012-08-07[py3] Applied minor fixes so the test suite startsAymeric Augustin
2012-08-07[py3] Ported django.utils.encoding.Aymeric Augustin
* 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.
2012-08-07[py3] Fixed access to dict keys/values/items.Aymeric Augustin
2012-08-06Fixed #15754 -- avoid recursively computing the tree of media widgets more ↵Alex Gaynor
times than is necessary for a wiget
2012-08-06Fixed #18724 -- Fixed IntegerField validation with value 0Brendan MacDonell
2012-08-04Fixed testing on SpatiaLite 2.4, which has support for `InitSpatialMetaData`.Justin Bronn
2012-08-04Fixed a mistake in function documentation 'django.utils.functional.partition'Tim Graham
Thanks Raman Barkholenka for the patch.
2012-08-04Fixed #7833 -- Improved UserCreationForm password validationClaude Paroz
Make UserCreationForm password validation similar to SetPasswordForm and AdminPasswordChangeForm, so as the match check is only done when both passwords are supplied. Thanks Mitar for the suggestion.
2012-08-04Fixed #5524 -- Do not remove cleaned_data when a form fails validationClaude Paroz
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).
2012-08-04Fixed #18700 -- Added URL reversal for i18n set_language view.Simon Meers
2012-08-03[py3] Removed uses of sys.maxint under Python 3.Aymeric Augustin
Also fixed #18706: improved exceptions raised by int_to_base36.
2012-08-03Remove a temporary variable deletion, it's not a big deal and it doesn't ↵Alex Gaynor
exist on python3.
2012-08-03Replaced some byte strings by str() callsClaude Paroz
This is a useful trick when Python 2 awaits byte strings and Python 3 Unicode (regular) strings.
2012-08-03Removed some pre-1.3.0 postgis compatibility codeClaude Paroz
2012-08-03Reorganized geoapp gis testsClaude Paroz
Removed the numbering of tests and moved lookup/geoqueryset tests in their own test class.
2012-08-03Fixed #18363 -- Improved Galician date and time format stringsClaude Paroz
Thanks Guttorm Flatabø for the report and the initial patch, and Fran Dieguez for the review.
2012-08-03Fixed #18684 -- Added Finnish DATETIME_FORMATClaude Paroz
Thanks Guttorm Flatabø for the report and the initial patch.
2012-08-02Add M2M tests and some unique supportAndrew Godwin
2012-07-30Fixed a security issue in http redirects. Disclosure and new release ↵Florian Apolloner
forthcoming.
2012-07-30Fixed second security issue in image uploading. Disclosure and release ↵Florian Apolloner
forthcoming.
2012-07-30Fixed a security issue in image uploading. Disclosure and release forthcoming.Florian Apolloner
2012-07-29Merge pull request #225 from dekkers/remove-double-isinstance-checkAlex Gaynor
Remove double isinstance check in force_unicode
2012-07-26Merge branch 'master' of github.com:django/django into schema-alterationAndrew Godwin
Conflicts: django/db/backends/postgresql_psycopg2/base.py
2012-07-25[py3] Updated dict-like data structures for Python 3.Aymeric Augustin
The keys/items/values methods return iterators in Python 3, and the iterkeys/items/values methods don't exist in Python 3. The behavior under Python 2 is unchanged.
2012-07-25Fixed error message in detail generic view.Florian Apolloner
Thanks go to mitar for the report and the patch.
2012-07-25Fixed #18634 -- Don't escape variables in the context for startproject/startapp.Marc Tamlyn
The & symbols which can come up in the secret key were being escaped to &.
2012-07-25Merge pull request #216 from ljosa/ticket_18644Florian Apolloner
Fixed #18644 -- Made urlize trim trailing period followed by parenthesis
2012-07-25Merge pull request #230 from pjdelport/cleanupAlex Gaynor
Cleanup
2012-07-25Fixed QueryDict.setlistdefault.Aymeric Augustin
It was broken by a seemingly innocuous change in MultiValueDict. Document the pitfall for now. This is fragile and should be considered for refactoring.
2012-07-25Rolled back a unnecessary change in 8f002867b2.Aymeric Augustin
This keeps the implementation of setdefault and setlistdefault consistent. Also it's marginally faster than looking up the value again.
2012-07-24Fixed #18666 -- when upgrading a user's password to a new algorithm only ↵Alex Gaynor
save the password field to the databaes.
2012-07-25it's -> itsPiet Delport
2012-07-24Fixed #18271 -- Changed stage at which TransactionTestCase flushes DB tables.Ramiro Morales
Previously, the flush was done before the test case execution and now it is performed after it. Other changes to the testing infrastructure include: * TransactionTestCase now doesn't reset autoincrement sequences either (previous behavior can achieved by using `reset_sequences`.) With this, no implicit such reset is performed by any of the provided TestCase classes. * New ordering of test cases: All unittest tes cases are run first and doctests are run at the end. THse changes could be backward-incompatible with test cases that relied on some kind of state being preserved between tests. Please read the relevant sections of the release notes and testing documentation for further details. Thanks Andreas Pelme for the initial patch. Karen Tracey and Anssi Kääriäinen for the feedback and Anssi for reviewing. This also fixes #12408.
2012-07-24Added tests for deprecation warnings and fixed the argument order for the ↵Alex Gaynor
warnings.
2012-07-24Remove double isinstance check in force_unicodeJeroen Dekkers
2012-07-23Removed a Python 3-compatibility hack.Aymeric Augustin
Thanks Preston Holmes for the patch.
2012-07-22Used a Python 3-compatible syntax for building a translation tableClaude Paroz
2012-07-22[py3] Added Python 3 compatibility for xrange.Aymeric Augustin
2012-07-22[py3] Switched to Python 3-compatible imports.Aymeric Augustin
xrange/range will be dealt with in a separate commit due to the huge number of changes.
2012-07-22[py3] Updated urllib/urllib2/urlparse imports.Aymeric Augustin
Lots of functions were moved. Use explicit imports in all cases to keey it easy to identify where the functions come from.
2012-07-22[py3] Replaced unicode/str by six.text_type/bytes.Aymeric Augustin
2012-07-22[py3] Replaced basestring by six.string_types.Aymeric Augustin
2012-07-22[py3] Fixed remaining Python 3 syntax errors.Aymeric Augustin
django.utils.unittest.* weren't touched -- they're only imported on Python 2.6.
2012-07-22[py3] Removed longs.Aymeric Augustin