Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django
Commit message (Collapse)AuthorAgeFilesLines
...
* Refs #22306 -- Removed cycle/firstof template tags from ↵Tim Graham2015-09-241-66/+0
| | | | | | "future". Per deprecation timeline.
* Refs #12663 -- Removed deprecated Model._meta methods.Tim Graham2015-09-241-156/+3
|
* Removed SubfieldBase per deprecation timeline.Tim Graham2015-09-242-64/+0
|
* Refs #24351 -- Removed support for the old ↵Tim Graham2015-09-241-23/+1
| | | | allow_migrate() signature per deprecation timeline.
* Bumped version; master is now 1.10 pre-alpha.Tim Graham2015-09-241-1/+1
|
* Fixed #25378 -- Improved tab through experience in admin.Ryan Allen2015-09-234-43/+90
|
* Fixed #25448 -- Eased GISLookup subclassing with custom ↵Claude Paroz2015-09-231-2/+8
| | | | | | | | lookups When someone needs to build a custom backend-specific GIS lookup, it is much easier done if getting the spatial operator class happens in a dedicated method (no need to rewrite the entire as_sql() method).
* Fixed #25453 -- Reworded makemigration's ↵Benjamin Wohlwend2015-09-231-2/+2
| | | | ask_not_null_alteration suggestion.
* Refs #24526 -- Made the django logger handle INFO messages.Tim Graham2015-09-231-0/+1
| | | | | | | Without an explicit 'level', only messages at WARNING or higher are handled. This makes the config consistent with the docs which say, "The django catch-all logger sends all messages at the INFO level or higher to the console."
* Fixed #25410 -- Fixed empty ClearableFileInput crash on ↵Tim Graham2015-09-231-8/+0
| | | | | | | | | Python 2. Reverted "Fixes #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2" and added a regression test. This reverts commit 5c412dd8a724b263489c1bd7a2fea381460665d7.
* Fixed #25439 -- Added `SUCCESS` style to termcolor palettesMatt Deacalion Stevens2015-09-231-0/+3
|
* Fixed #24509 -- Added Expression support to ↵Alex Hill2015-09-2210-59/+162
| | | | SQLInsertCompiler
* Refs #23813 -- Moved URLconfs into module and tidied ↵Alasdair Nicol2015-09-221-5/+5
| | | | docstrings.
* Fixed #25373 -- Added warning logging for exceptions ↵Nick Johnson2015-09-221-0/+10
| | | | during {% include %} tag rendering.
* Refs #18773 -- Improved template variable exception ↵Nick Johnson2015-09-221-2/+7
| | | | logging message.
* Fixed #24921 -- set_autocommit(False) + ORM queries.Aymeric Augustin2015-09-211-7/+0
| | | | | | | | | | | | | This commits lifts the restriction that the outermost atomic block must be declared with savepoint=False. This restriction was overly cautious. The logic that makes it safe not to create savepoints for inner blocks also applies to the outermost block when autocommit is disabled and a transaction is already active. This makes it possible to use the ORM after set_autocommit(False). Previously it didn't work because ORM write operations are protected with atomic(savepoint=False).
* Documented "rel objects".Aymeric Augustin2015-09-211-0/+11
| | | | | Kept the docstring short because these objects aren't very well defined and they're in the crosshairs of several refactorings.
* Renamed descriptor classes for related objects.Aymeric Augustin2015-09-213-42/+46
| | | | | | | | | | | | The old names were downright confusing. Some seemed to mean the opposite of what the class actually did. The new names follow a consistent nomenclature: (Forward|Reverse)(ManyToOne|OneToOne|ManyToMany)Descriptor. I mentioned combinations that do not exist in the docstring in order to help people who would search for them in the code base.
* Added comments in related instances descriptors.Aymeric Augustin2015-09-211-6/+23
|
* Documented related models descriptors.Aymeric Augustin2015-09-211-14/+141
| | | | | Changed the poll / choices example to a more obvious parent / children. I think that reduces the cognitive load.
* Fixed #22341 -- Split django.db.models.fields.related.Aymeric Augustin2015-09-213-1191/+1213
| | | | | | | At 2800 lines it was the largest module in the django package. This commit brings it down to a more manageable 1620 lines. Very small changes were performed to uniformize import style.
* Fixed #15760 -- Added JavaScript events for admin inline ↵ramez2015-09-212-9/+11
| | | | forms.
* Fixed #25431 -- Readded inline foreign keys to ↵Claude Paroz2015-09-211-5/+5
| | | | | | | | modelformset instances Too much field exclusions in form's construct_instance() in _post_clean() could lead to some unexpected missing ForeignKey values. Fixes a regression from 45e049937. Refs #13776.
* Corrected docstring in core.urlresolvers module.Matt Deacalion Stevens2015-09-211-3/+2
| | | | | The RegexURLResolver.resolve() method no longer returns a tuple. It has returned a ResolverMatch object since commit e0fb90b2.
* Fixed #24688 -- Added Oracle support for new-style GIS ↵Jani Tiainen2015-09-214-27/+119
| | | | functions.
* Fixed #23813 -- Added checks for common URL pattern errorsAlasdair Nicol2015-09-214-1/+91
| | | | | Thanks jwa and lamby for the suggestions, and timgraham and jarshwah for their reviews.
* Fixed #24629 -- Unified Transform and Expression APIsJosh Smeaton2015-09-219-342/+315
|
* Fixed #25296 -- Prevented model related object cache ↵Raphael Merx2015-09-201-0/+3
| | | | pollution when create() fails due to an unsaved object.
* Fixed #25160 (again) -- Moved data loss check on reverse ↵Aymeric Augustin2015-09-191-6/+0
| | | | | | | | relations. Moved data loss check when assigning to a reverse one-to-one relation on an unsaved instance to Model.save(). This is exactly the same change as e4b813c but for reverse relations.
* Refs #13110 -- Fixed mistakes in the new multiple ↵Unai Zalakain2015-09-191-1/+1
| | | | enclosure feed tests
* Fixed #25424 -- Use force_str for test client URLs.Travis Jensen2015-09-191-1/+1
| | | | | | | | urlparse() fails with an AttributeError ("'__proxy__' object has no attribute 'decode'") if reverse_lazy is used to look up the URL (this is exactly the same problem that caused ticket #18776). The solution is to use force_str() on the path before handing it to urlparse().
* Fixed #25390 -- Allowed specifying a start migration in ↵Markus Holtermann2015-09-191-15/+44
| | | | | | squashmigrations Thanks Tim Graham for the review.
* Fixed #24743, #24745 -- Optimized migration plan handlingMarkus Holtermann2015-09-192-27/+81
| | | | | | | | | | | | | | | | The change partly goes back to the old behavior for forwards migrations which should reduce the amount of memory consumption (#24745). However, by the way the current state computation is done (there is no `state_backwards` on a migration class) this change cannot be applied to backwards migrations. Hence rolling back migrations still requires the precomputation and storage of the intermediate migration states. This improvement also implies that Django does not handle mixed migration plans anymore. Mixed plans consist of a list of migrations where some are being applied and others are being unapplied. Thanks Andrew Godwin, Josh Smeaton and Tim Graham for the review as well as everybody involved on the ticket that kept me looking into the issue.
* Fixed #25269 -- Allowed method_decorator() to accept a ↵fabrizio ettore messina2015-09-191-4/+18
| | | | list/tuple of decorators.
* Fixed #24944 -- Added extra_email_context parameter to ↵sujayskumar2015-09-192-3/+7
| | | | password_reset() view.
* Fixed #13110 -- Added support for multiple enclosures in ↵Unai Zalakain2015-09-192-24/+50
| | | | | | | | | | | | | Atom feeds. The ``item_enclosures`` hook returns a list of ``Enclosure`` objects which is then used by the feed builder. If the feed is a RSS feed, an exception is raised as RSS feeds don't allow multiple enclosures per feed item. The ``item_enclosures`` hook defaults to an empty list or, if the ``item_enclosure_url`` hook is defined, to a list with a single ``Enclosure`` built from the ``item_enclosure_url``, ``item_enclosure_length``, and ``item_enclosure_mime_type`` hooks.
* Fixed #25417 -- Added a field check for invalid default ↵Simon Charette2015-09-181-0/+17
| | | | values.
* Fixed #24636 -- Added model field validation for decimal ↵Iulia Chiriac2015-09-183-44/+76
| | | | places and max digits.
* Refs #17785 -- Made docstring for sqlite3's ↵Hynek Cernoch2015-09-181-3/+2
| | | | get_relations() consistent with other backends.
* Fixed #25034 -- Converted caches ImproperlyConfigured ↵Tom Christie2015-09-184-4/+20
| | | | error to a system check.
* Refs #14091 -- Fixed connection.queries on SQLite.Aymeric Augustin2015-09-171-0/+33
|
* Removed the unused JoinPromoter.outer_votes attribute.Simon Charette2015-09-171-8/+6
|
* Refs #24215 -- Fixed Python 3.5 compatiblity for ↵Tim Graham2015-09-172-5/+7
| | | | unhandled lazy ops error.
* Fixed #25400 -- Fixed regression in nonexistent features ↵Daniel Hahler2015-09-171-3/+2
| | | | on gis backends.
* Refs #25294 -- Moved BoundField to django.forms.boundfield.Moritz Sichert2015-09-166-227/+242
|
* Refs #25149 -- Fixed regression in admin datetime widget ↵Gavin Wahl2015-09-161-1/+1
| | | | for timezones on the negative side of UTC.
* Fixed #24496 -- Added CSRF Referer checking against ↵Matt Robenolt2015-09-163-23/+45
| | | | | | | CSRF_COOKIE_DOMAIN. Thanks Seth Gottlieb for help with the documentation and Carl Meyer and Joshua Kehn for reviews.
* Fixed #25294 -- Allowed custom BoundFields on forms.Moritz Sichert2015-09-162-1/+9
|
* Fixed typo in django/core/cache/backends/base.py docstring.Matthew Crowson2015-09-161-1/+1
|
* Fixed #25404 -- Added line numbers to ↵Dave Smith2015-09-151-6/+16
| | | | | | | TemplateSyntaxError strings. This makes it much easier to diagnose a test failure when all you have is the stack trace from an uncaught TemplateSyntaxError.