summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2012-07-22[py3] Switched to Python 3-compatible introspection.Aymeric Augustin
2012-07-22[py3] Used six.with_metaclass wherever necessary.Aymeric Augustin
2012-07-22[py3] Exception aren't iterable in Python 3.Aymeric Augustin
2012-07-22[py3] Used six.reraise wherever necessary.Aymeric Augustin
2012-07-22[py3] Fixed django.utils.six.moves.Aymeric Augustin
It didn't work because six was inside django.utils.
2012-07-22[py3] Bundled six for Python 3 compatibility.Aymeric Augustin
Refs #18363.
2012-07-21Fixed #10057 -- Ensured that the 'show_delete' context variable in the ↵Julien Phalip
admin's change view actually controls the display of the delete button. Thanks to rajeesh for the report, to patcoll for the patch, and to David Gouldin for the test.
2012-07-21Made LiveServerTestCase to restore state on exit.Ramiro Morales
The piece of state is DB connections' allow_thread_sharing attribute which gets munged test are run when in-memory SQLite databases. Thanks Anssi for suggesting the possible root cause and Julien for implementing the fix.
2012-07-21Fixed an `except` statement to be Python3-compatible. Thanks to charettes ↵Julien Phalip
for the tip.
2012-07-21Removed u prefix on a unicode string.Aymeric Augustin
2012-07-21Fixed #6170 -- Ensured that a useful exception is raised when a regex is ↵Julien Phalip
invalid in the URLConf. Thanks to abrahamson.j for the report, to guettli for initial work on the patch, and to David Gouldin for the new patch and test.
2012-07-21Fixed #4680 -- Improved initial_sql parsingClaude Paroz
In particular, allow the '--' sequence to be present in string values without being interpreted as comment marker. Thanks Tim Chase for the report and shaleh for the initial patch.
2012-07-21Fixed #18395 -- Reset language-related global variables with setting_changedClaude Paroz
2012-07-20Switched to octal notation (bis).Aymeric Augustin
2012-07-20Switched to Python 3-compatible octal notation.Aymeric Augustin
2012-07-19Fixed #18504 -- Computed |naturalday in local time.Aymeric Augustin
2012-07-19Fixed #18608 -- Reduced monkey-patching in tests.Aymeric Augustin
Thanks Claude Paroz for the patch.
2012-07-18Fixed #18479 -- Stopped makemessages raising error on gettext warningsClaude Paroz
Thanks Niels Busch for the initial patch.
2012-07-18BaseCache now has a no-op close method as per ticket #18582Mike Grouchy
Also removed the hasattr check when firing request_finished signal for caches with a 'close' method. Should be safe to call `cache.close` everywhere now
2012-07-18Fixed #18645 -- Clarified filesizeformat implementationAymeric Augustin
Thanks Jérôme Renard for the patch.
2012-07-17Fixed #18547 -- Improved error message when gettext is missingClaude Paroz
2012-07-17Fixed #18561 -- Made HttpResponse.tell() support non-ascii charsClaude Paroz
2012-07-17Merge pull request #215 from mgrouchy/add-interpreter-optionsAlex Gaynor
Adds interpreter option to shell command as per ticket #18639
2012-07-17Adds interpreter option to shell command as per ticket #18639Mike Grouchy
Specify python interpreter interface ipython or bpython with the -i, --interface options argument. ex// python manage.py shell -i bpython ex// python manage.py shell --interface bpython Like all other options, defaults to default python interpreter when your selected choice isn't available. updated documentation where appropriate
2012-07-17Fixed #18644 -- Made urlize trim trailing period followed by parenthesisVebjorn Ljosa
2012-07-17Switched to use a more idiomatic construct.Alex Gaynor
2012-07-17Fixed #17788 -- Added batch_size argument to qs.bulk_create()Anssi Kääriäinen
The qs.bulk_create() method did not work with large batches together with SQLite3. This commit adds a way to split the bulk into smaller batches. The default batch size is unlimited except for SQLite3 where the batch size is limited to 999 SQL parameters per batch. Thanks to everybody who participated in the discussions at Trac.
2012-07-17Fixed #17497 -- Corrected FieldError message in add_fields()Anssi Kääriäinen
The erroneous message was user visible in values_list() calls. Thanks to ojii for report and review, and to antoviaque for the patch.
2012-07-16Fixed #3881 -- skip saving session when response status is 500Anssi Kääriäinen
Saving session data is somewhat likely to lead into error when the status code is 500. It is guaranteed to lead into error if the reason for the 500 code is query error on PostgreSQL.
2012-07-16Fixed #18056 - Cleared aggregations on DateQuery.add_date_selectNuno Maltez
Cleared aggregations on add_date_select method so only distinct dates are returned when dealing with a QuerySet that contained aggregations. That would cause the query set to return repeated dates because it would look for distinct (date kind, aggregation) pairs.
2012-07-15Removed debugging line left in previous commitClaude Paroz
2012-07-15Dropped support for GDAL < 1.5Claude Paroz
GDAL 1.5 has been released in December 2007.
2012-07-14Remove DotExpandedDict, which was undocumented and unused.Alex Gaynor
2012-07-14Fix an incredibly emberassing typo.Alex Gaynor
2012-07-14Deprecate two methods (which I seriously doubt anyone ever used, but they ↵Alex Gaynor
were documented so...) because they cannot be implemented efficiently on top of collections.SortedDict in Python 2.7 and up.
2012-07-14Switched from usign a method that was about to be deprecated to normal code.Alex Gaynor
2012-07-14Fixed auth to not use an internal implementation detail of SortedDictAlex Gaynor
2012-07-14Cleaned up the QueryDict implementation.Alex Gaynor
- Use super(). - Don't poke at internals. - Don't override methods for no reason.
2012-07-14Update links to diveintomark.org.Aymeric Augustin
These pages are gone.
2012-07-12Remove some code that has been dead since newforms-admin was merged, many ↵Alex Gaynor
moons ago.
2012-07-10Changed `manage.py shell`'s help text to reflect that it can invoke bpython.Alex Gaynor
2012-07-10Fixed #18602 -- Improved error message when database NAME is missingClaude Paroz
Thanks Kristian Glass for the report.
2012-07-09Added supplementary check for CUIT number of ar localflavorClaude Paroz
Thanks Kevin Schaul for the initial patch.
2012-07-09Fixed #18537 -- Fixed CUIT calculation in ar localflavorClaude Paroz
Thanks mmoya at 8ksoft.com.ar for the report and Kevin Shaul for the initial patch.
2012-07-08Fixed #18590 - Reverted Python 2.4 workaround for Model picklingClaude Paroz
Revert of 08d521efa0. Refs #10547, #12121. Thanks Michal Petrucha for the report.
2012-07-08Fixed #18487 -- Made sure that protocol-relative URLs aren't processed by ↵Jannis Leidel
the cached staticfiles storage. Thanks to LukaszBalcerzak for the patch.
2012-07-08Fixed #18050 -- Fixed a rather glaring bug in the handling of @import ↵Jannis Leidel
statements when using the cached staticfiles storage.
2012-07-08Merge branch 'master' of github.com:django/djangoJannis Leidel
2012-07-08Fixed #18430 -- Use the FILE_CHARSET setting when reading from a file during ↵Jannis Leidel
post processing with the cached staticfiles storage. Thanks to Brant Young for initial debugging.
2012-07-07Fixed #17978 -- Fixed a minor layout issue when an inline contains a filter ↵Julien Phalip
horizontal widget. Thanks to Aymeric Augustin for the report.