summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2014-02-15Fixed typo in docstring.Rodolfo Carvalho
2014-02-14Fixed #22035 -- reordered migration operationsAnton Baklanov
Now AddField actions appear in operations list before AlterUniqueTogether actions. Thanks to SmileyChris for the report.
2014-02-14Fixed #21924 -- Added the ability to specify a reverse order for ↵Klemens Mantzos
admin_order_field. Thanks Klemens Mantzos for the report and initial patch.
2014-02-14Fixed #17942 -- Added a JsonResponse class to more easily create JSON ↵Lukasz Balcerzak
encoded responses. Thanks leahculver for the suggestion and Erik Romijn, Simon Charette, and Marc Tamlyn for the reviews.
2014-02-14Fixed #21177 -- Made resolve_url support relative URLs.Antoine Catton
This fixes redirecting to relative URLs with django.shortcuts.redirect.
2014-02-13Removed _actions_icnt declaration from local scope in admin JS.Bas Peschier
Commit 4523fcd introduces _actions_icnt to the local scope, which overrides the value set in the HTML. The admin would incorrectly show selected rows in a change list as "1 of undefined selected".
2014-02-13Fixed #22030 -- Don't assume that all fields have a swappable_setting attribute.Baptiste Mispelon
2014-02-13Fixed a typo (I guess).Florian Apolloner
2014-02-13Fixed #19496 -- Added truncatechars_html filter.Jeremy
Thanks esevece for the suggestion and Nick Sandford and Martin Warne for the inital work on the patch.
2014-02-13Fixed #21064 -- Refactored common logic in ModelAdmin.add_view and change_view.Adam Avramov
2014-02-12Fixed #21856: Don't crash runserver when DATABASES = {}Andrew Godwin
2014-02-12Reverting unapplied migrations check away from being a system-level check.Andrew Godwin
This reverts commit 0ac13eccebb3d879f79b31585b1e81f655067179.
2014-02-12Fix my slightly hasty autodetector changesAndrew Godwin
2014-02-12Remove redunant code from RunPython operationAndrew Godwin
2014-02-12Add --empty option to makemigrationsAndrew Godwin
2014-02-12Reworked the detection of local storages for the collectstatic command.Loic Bistuer
Before 4befb30 the detection was broken because we used isinstance against a LazyObject rather than against a Storage class. That commit fixed it by looking directly at the object wrapped by LazyObject. This could however be a problem to anyone who subclasses the collectstatic management Command and directly supplies a Storage class. Refs #21581.
2014-02-12Fixed #22025 -- Listing app followed by app.Model in dumpdata commandEli Bendersky
When invoked as follows: $ python manage.py dumpdata blogapp blogapp.Tag Django would throw a TypeError. This commit fixes the problem and provides a test.
2014-02-12Fixed #22017 -- Prevented RuntimeError on Python 3Claude Paroz
Refs #21049. Thanks quinox for the report.
2014-02-11Fixed #2445 -- Allowed limit_choices_to attribute to be a callable.Christopher Adams
ForeignKey or ManyToManyField attribute ``limit_choices_to`` can now be a callable that returns either a ``Q`` object or a dict. Thanks michael at actrix.gen.nz for the original suggestion.
2014-02-11Reordered INSTALLED_APPS in default template, refs #22005Florian Apolloner
2014-02-10Fixed #21996 -- Used proper encoding for GeoIP contentClaude Paroz
Thanks Florent Messa for the report.
2014-02-10Fixed #17673 -- Forbid field shadowing.Christopher Medrela
Thanks Anssi Kääriäinen for the suggestion.
2014-02-10Fixed #21371 -- Added the block.super to admin bodyclass blocks.julien 'pouete' Godin
Thanks Keryn Knight for the report.
2014-02-10Fixed #21994 -- Added form_dict argument to calls of WizardView.done()Julian Wachholz
Added an additional keyword argument ``form_dict`` to calls of WizardView.done() implementations which allows easier access to validated forms by their step name.
2014-02-10Fixed #20784 -- Added inverse_match parameter to RegexValidator.Si Feng
2014-02-10Allowed a message to be passed to assertQuerysetEqual to make it consistent ↵Chris Bailey
with other assert methods.
2014-02-09Removed unused import in humanize tests.Tim Graham
2014-02-09Fixed #21992: Skipped test when pytz is missing.Adam Avramov
The test fails on Windows when pytz is not installed.
2014-02-09Fixed #21763 -- Added an error msg for missing methods on ManyRelatedManager.Robert Stapenhurst
Attempting to add() and remove() an object related by a 'through' model now raises more descriptive AttributeErrors, in line with set and create().
2014-02-09Merge pull request #2245 from funkybob/parse_headerClaude Paroz
Replaced _parse_content_type with cgi.parse_header
2014-02-09Silence deprecation warnings.Marc Tamlyn
Also they should only be raised if allow_syncdb does exist, not just if allow_migrate does not. Refs comments on 250841017c6c456806cadd214b4e130aa998233d
2014-02-09Fixed #21382 - Added "has_original" to stacked inlines.Ryan Kaskel
Report and original patch from jrief.
2014-02-09Fixed #21771 -- Made log_deletion consistent with other log methods.Alasdair Nicol
Thanks Keryn Knight for the report.
2014-02-09Fixed #20780 -- Get rid of stale symlinks when using collectstatic.Jannis Leidel
Thanks to John Giannelos for the initial patch.
2014-02-09Fixed #19879 -- Have 'findstatic' says on which directories it searched the ↵Vajrasky Kok
relative paths. Added searched_locations in finders module. Added verbosity flag level 2 on 'findstatic' command that will output the directories on which it searched the relative paths. Reported by ccurvey. Initial patch by Jonas Svensson and Vajrasky Kok.
2014-02-09Fixed #21868: Don't die when seeing py3 namespace packages for mig dirsAndrew Godwin
2014-02-09Fixed #21958: Handle dependencies for swappable models in AddFieldAndrew Godwin
2014-02-09Fixed #21844: Move quote_parameter off of Operations and renameAndrew Godwin
2014-02-09Fixed #21482 -- Uplifted restriction of collectstatic using symlink option ↵Jannis Leidel
in Windows NT 6. Original patch by Vajrasky Kok. Reviewed by Florian Apolloner, Aymeric Augustin.
2014-02-09Fixed #21842: Remove redundant DatabaseFeatures.max_index_name_lengthAndrew Godwin
2014-02-09Fixed #21969: Fix behaviour of initial_data with migrated appsAndrew Godwin
2014-02-09Raise (pending) deprecation warning for allow_syncdb.Marc Tamlyn
2014-02-09Fixed #21968: Bad detection of old-style apps to add initial migrationAndrew Godwin
2014-02-09Fixed #21967: Added check for object in ModelFormMixin.get_form_kwargs.Ryan Kaskel
Thanks lagovas.lagovas at gmail.com for the report.
2014-02-09Fixed #21247 -- Made method_decorator play nicely with descriptorsMarc Tamlyn
When a method decorator was used in conjunction with a decorator implemented as a descriptor, method_decorator did not correctly respect the method binding. Thanks for Graham Dumpleton for the report and initial patch.
2014-02-09Fixed #21954: Raise nice error when serializing datetimes with timezonesAndrew Godwin
2014-02-09Removed unused imports + other flake8 fixes.Tim Graham
2014-02-09Fixed #21917: Overly cautious SQLite3 backend for null fields + defaultsAndrew Godwin
2014-02-09Fixed #21892: RunPython no longer accepts stringsAndrew Godwin
2014-02-09Merge pull request #2244 from mlavin/21856-migration-checksAndrew Godwin
Fixed #21856: Allow Empty DATABASES Setting