Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/utils/itercompat.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #20746 -- Removed Python 2.6 specific code/docsTim Graham2013-07-141-14/+0
|
* Removed django.utils.itercompat.product() as per ↵Ramiro Morales2013-06-291-7/+0
| | | | deprecation TL.
* Fixed #20094 - Be more careful when checking for IteratorMarc Tamlyn2013-03-221-1/+14
| | | | | Python 2.6 has some different behaviour when checking isinstance(foo, collections.Iterator).
* Advanced pending deprecation warnings.Aymeric Augustin2012-12-291-1/+1
| | | | Also added stacklevel argument, fixed #18127.
* Removed obsolete compatibility functions for old Pythons.Aymeric Augustin2012-12-291-10/+0
|
* [py3] Switched to Python 3-compatible imports.Aymeric Augustin2012-07-221-3/+3
| | | | | xrange/range will be dealt with in a separate commit due to the huge number of changes.
* Fixed #18042 -- Advanced deprecation warnings.Aymeric Augustin2012-05-031-4/+2
| | | | Thanks Ramiro for the patch.
* Fixed #17965 -- Definitely dropped support for Python ↵Claude Paroz2012-03-311-17/+7
| | | | | | 2.5. Thanks jonash for 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
* Remove the usage of deprecated function in Django. Also ↵Alex Gaynor2011-10-141-8/+3
| | | | | | simplify the fallback code. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16155 -- Removed Python 2.4 compatibility ↵Ramiro Morales2011-06-091-1/+1
| | | | | | constructs from code and mentions from docs. Thanks Aymeric Augustin for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Re-added a few compatibility modules that were removed ↵Jannis Leidel2011-03-301-0/+17
| | | | | | in r15927 to lower the impact on 3rd party apps. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Removed a bunch more Python 2.4 workarounds now that we ↵Adrian Holovaty2011-03-281-12/+0
| | | | | | don't support that version. Refs #15702 -- thanks to jonash for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fiexed #3055 -- Validate that models target of a ↵Ramiro Morales2010-11-151-0/+6
| | | | | | | | GenericRelation have a GenericForeignKey field. Thanks jason for diagnosing the problem and Marcos Moyano for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12164 -- Removed the Python 2.3 compatibility ↵Russell Keith-Magee2010-05-041-57/+1
| | | | | | imports and workarounds. Thanks to timo and claudep for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #1142 -- Added multiple database support.Russell Keith-Magee2009-12-221-0/+20
| | | | | | | | | | | | | | | | | This monster of a patch is the result of Alex Gaynor's 2009 Google Summer of Code project. Congratulations to Alex for a job well done. Big thanks also go to: * Justin Bronn for keeping GIS in line with the changes, * Karen Tracey and Jani Tiainen for their help testing Oracle support * Brett Hoerner, Jon Loyens, and Craig Kimmerer for their feedback. * Malcolm Treddinick for his guidance during the GSoC submission process. * Simon Willison for driving the original design process * Cal Henderson for complaining about ponies he wanted. ... and everyone else too numerous to mention that helped to bring this feature into fruition. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #8209: `ModelForm`s now validate unique ↵Jacob Kaplan-Moss2008-09-011-0/+1
| | | | | | constraints. Alex Gaynor did much of this work, and Brian Rosner helped as well. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #7718 -- Added a naive implementation of sorted() ↵Russell Keith-Magee2008-07-131-0/+5
| | | | | | for Python 2.3 compatibility, and modified test cases to import the function when required. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #5445: added some compatibility code for the lack ↵Jacob Kaplan-Moss2007-09-141-0/+10
| | | | | | of __iter__ in Jython 2.2. Thanks, Leo Soto. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed small bug in Python 2.3 fallback for ↵Malcolm Tredinnick2007-06-241-1/+1
| | | | | | itertools.groupby. Refs #4506. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed a Python 2.3 incompatibility I overlooked in [5516].Malcolm Tredinnick2007-06-231-0/+6
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@5517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #4506 -- Changed "regroup" template tag to use ↵Malcolm Tredinnick2007-06-171-1/+23
| | | | | | | | | __eq__ instead of repr() for grouping equality checking. Thanks, Brian Harring. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #2823 -- Fixed Python 2.3 compatibility problem ↵Malcolm Tredinnick2006-09-261-1/+1
| | | | | | pointed out by Alex Dedul. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #2265 -- Fixed problem with using iterators for ↵Malcolm Tredinnick2006-09-261-0/+31
"choices" attribute. Thanks, Alex Dedul. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3851 bcc190cf-cafb-0310-a4f2-bffc1f526a37