Commit Graph

8293 Commits

Author SHA1 Message Date
Markus Amalthea Magnuson 3fd754f12d Fixed #24907 -- Updated contributing tutorial with a more recent example ticket. 2015-06-06 08:36:50 -04:00
Matthew Somerville 2926559cce Fixed #24937 -- fix serialization of Date(Time)RangeField.
Use the DjangoJSONEncoder so that datetime and date are encoded
appropriately.
2015-06-05 22:01:42 +01:00
Mark Lavin 541f4ea546 Fixed #24924 -- Join promotion for multiple Case expressions 2015-06-05 12:22:43 -04:00
Tim Graham 6b41834855 Minor edits to Greatest/Least docs; refs #24767. 2015-06-05 11:40:10 -04:00
Andriy Sokolovskiy 286d0e6ab1 Refs #24833 -- Forwardported some of "Fixed Case expressions with exclude()."
Partial forwardport of 469f1e362b from stable/1.8.x
as the issue was already fixed in master.
2015-06-05 11:21:31 -04:00
Yamila Moreno cbe4efcbc1 Fixed #22571 -- Added clarification about auto_now_add=True 2015-06-05 09:56:02 -04:00
Tim Graham 2fbea621e6 Capitalized "Python" in docs. 2015-06-05 08:24:53 -04:00
Russell Keith-Magee 5c35b4a8c9 Added release notes for feature added in fe21fb81 2015-06-05 11:42:58 +01:00
Ian Foote 14dead04ac Fixed #24925 -- Document using Coalesce on MySQL
Add warning for using Coalesce with python values on MySQL and document
workaround.
2015-06-05 11:18:58 +01:00
Ian Foote 4ab53a558a Fixed #24767 -- Added Greatest and Least expressions
Greatest and Least are row-level Function versions of Min and Max.
2015-06-05 11:15:33 +01:00
Russell Keith-Magee fe21fb810a Merge pull request #4757 from sergei-maertens/ticket_18166
Fixed #18166 -- Added ability to pass kwargs to the form constructor in a formset.
2015-06-05 11:10:28 +01:00
Yamila Moreno f954c51720 Fixed #24926 -- Removed outdated information from deployment 2015-06-05 12:03:29 +02:00
Matthew Somerville 2dc93bb10a Fixed #22316 -- Added time filters to TimeField on SQLite.
This was implemented for non-SQLite backends in 1.7 (as a
side effect of #16187).
2015-06-04 22:27:13 -04:00
Raphael Michel 6700c90935 Fixed #19210 -- Added leap year support to django.utils.timesince() 2015-06-04 21:36:12 -04:00
Loek van Gent 0207bdd2d4 Fixed #24474 -- Allowed configuring the admin's empty change list value. 2015-06-04 21:06:26 -04:00
Matthew Somerville 40f0a84cb1 Fixed #24159 -- Made compilemessages run across all apps.
Updated the command to match the documentation, which states it
runs over all .po files.
2015-06-04 21:02:02 -04:00
Marc Tamlyn 7bda2d8ebc Fixed #24837 -- field__contained_by=Range
Provide `contained_by` lookups for the equivalent single valued fields
related to the range field types. This acts as the opposite direction to
rangefield__contains.

With thanks to schinckel for the idea and initial tests.
2015-06-04 19:29:59 +01:00
Alasdair Nicol 5c98223f39 Fixed #24191 -- Documented Form.changed_data
Thanks rhertzog and Björn Påhlsson for the suggestion.
2015-06-04 13:51:26 -04:00
Raphael Michel 5c125f63f7 Fixed #24728 -- Renamed mime_type to content_type for syndication feeds
Renamed the mime_type properties of RssFeed and Atom1Feed to
content_type and start deprecation for the old names.
2015-06-04 13:24:18 -04:00
Raphael Michel 3e9b5bfd9c Fixed #7060 -- Added a note about race conditions to the tutorial 2015-06-04 09:40:59 -04:00
Sergei Maertens 238e2ac369 Fixed #18166 -- Added form_kwargs support to formsets.
By specifying form_kwargs when instantiating the formset, or overriding
the `get_form_kwargs` method on a formset class, you can pass extra
keyword arguments to the underlying `Form` instances.

Includes tests and documentation update.
2015-06-04 15:13:55 +02:00
Steadman dfdcb3ca22 Improved wording in writing documentation docs. 2015-06-04 11:58:32 +01:00
Edin Sarajlic 40f2325df6 Added migrations directory to file structure in tutorial 2015-06-04 10:59:36 +02:00
Carl Meyer 492537ac18 Fixed #24628 -- Fixed applied status for squashed migrations. 2015-06-02 16:15:13 -06:00
Adam Chainz 23048d186c Fixed #24866 -- Added Now() database function 2015-06-02 17:59:01 -04:00
Tomáš Ehrlich 002b3d87b5 Fixed #24230 -- Added translated language name for i18n template tag/filter. 2015-06-02 16:04:01 -04:00
Tim Graham 9ca0961b8a Added headings to i18n template tags and filters. 2015-06-02 15:51:00 -04:00
Carl Meyer 84522c0d16 Fixed #24895 -- Fixed loading a pair of squashed migrations with a dependency. 2015-06-02 12:07:54 -06:00
zauddelig 262d4db8c4 Fixed #24897 -- Allowed using choices longer than 1 day with DurationField 2015-06-02 12:39:34 -04:00
Andriy Sokolovskiy 2913d6b77d Fixed #24831 -- Fixed pickling queryset with prefetch_related() after deleting objects. 2015-06-02 09:54:53 -04:00
Tim Graham e1e6399c2c Fixed #24893 -- Fixed lack of unique constraint when changing a field from primary_key=True to unique=True 2015-06-02 09:25:47 -04:00
Tim Graham 5ab8680983 Fixed #24892 -- Fixed quoting of SQL when renaming a field to AutoField in PostgreSQL 2015-06-02 09:13:55 -04:00
Simeon J Morgan 0b5fb8e72c Fixed #24896 -- Doc'd clickjacking protection doesn't overwrite X-Frame-Options header. 2015-06-02 09:01:38 -04:00
Jon Dufresne 44f3ee7716 Fixed #9596 -- Added date transform for DateTimeField. 2015-06-02 08:49:10 -04:00
Maximiliano bf07ba523a Simplified wording in QuerySet.update() docs. 2015-06-01 09:42:23 -04:00
Przemysław Suliga d29ed3f355 Fixed #24880 -- Added more explicit docs on select_for_update() on SQLite. 2015-06-01 08:53:12 -04:00
Tim Graham c954931abd Refs #24811 -- Fixed syntax error in CREATE EXTENSION example query. 2015-05-31 06:24:08 -04:00
Marc Tamlyn 33ea472f69 Fixed #24604 -- Added JSONField to contrib.postgres. 2015-05-30 23:10:30 +01:00
Marc Tamlyn 74fe4428e5 Add HasAnyKeys lookup for HStoreField. 2015-05-30 21:39:45 +01:00
Curtis c005a6620e Optimise the rest of the PNGs in docs 2015-05-29 15:22:40 +10:00
Curtis 44eef25463 Optimise tutorial images 2015-05-29 14:56:38 +10:00
João Luiz Lorencetti 3653466bdf Fixed #24732 -- Reordered tutorial to cover basics before bells and whistles. 2015-05-28 14:07:39 -04:00
Tim Graham ad0f0daf8c Fixed #24851 -- Fixed crash with reverse one-to-one relation in ModelAdmin.list_display
Forwardport of 2456276b02 from stable/1.8.x
2015-05-28 10:52:50 -04:00
Andriy Sokolovskiy 80ad5472ce Fixed #24817 -- Prevented loss of null info in MySQL field renaming. 2015-05-28 10:07:52 -04:00
Paweł Marczewski 300e8baf94 Fixed #24847 -- Prevented items set on a RequestContext from being lost. 2015-05-27 10:04:57 -04:00
Tim Graham 70be31bba7 Fixed #24836 -- Made force_text() resolve lazy objects. 2015-05-27 09:48:53 -04:00
Kevin Marsh 10945ebeb8 Removed unused import in example code in docs/topics/auth/default.txt 2015-05-27 13:26:20 +01:00
I am Clinton 14f20c1fdc Fixed typos in docs/ref/forms/widgets.txt 2015-05-26 10:47:37 -04:00
Tim Graham f4cb350c79 Added release notes for refs #24844. 2015-05-25 21:03:41 -04:00
Paweł Marczewski 801a84ae32 Fixed #24835 -- Fixed QuerySet.exists() after an annotation with Count()
QuerySet.exists() incorrectly handled query.group_by = True
case (grouping by all select fields), causing GROUP BY
expressions to be wiped along with select fields.
2015-05-25 20:46:20 -04:00
Paweł Marczewski 4df7e8483b Fixed #24788 -- Allowed Forms to specify a prefix at the class level. 2015-05-25 20:23:31 -04:00
Marten Kenbeek d73176a842 Fixed #24848 -- Fixed ValueError for faulty migrations module.
Added apps to unmigrated apps if the migrations module is a file
or a folder missing __init__.py.

Thanks to Ernest0x for the bug report.
2015-05-25 13:47:50 -04:00
I am Clinton 73b5b0b4a5 Minor edits to docs/ref/forms/validation.txt 2015-05-25 13:19:21 -04:00
Villiers Strauss 614bec41b5 Fixed #24841 -- Made BaseRangeField.prepare_value() call base_field's prepare_value() 2015-05-25 12:06:55 -04:00
I am Clinton a6b77abff7 Fixed typos in docs/ref/forms/fields.txt 2015-05-25 10:48:30 -04:00
Andy McKay 4525a0c466 Fixed #24773 -- Added a json() method on test client responses. 2015-05-25 10:42:30 -04:00
Tim Graham 46ce72e8d2 Added oss-security@lists.openwall.com to security release announcements. 2015-05-25 08:31:51 -04:00
I am Clinton 0b0bb6100d Fixed typos in HTTP decorator docs. 2015-05-25 07:38:08 -04:00
Tim Graham 9ef2615d49 Fixed #24811 -- Added details on installing PostgreSQL extensions. 2015-05-23 15:38:30 -04:00
Alexander Sosnovskiy 04e8d890ae Fixed #16891 -- Made Model/QuerySet.delete() return the number of deleted objects. 2015-05-22 13:27:16 -04:00
I am Clinton 9c8a2ab81d Fixed mistakes in docs/topics/forms/formsets.txt examples. 2015-05-22 11:29:10 -04:00
Chris Schur 70faaccc3e Fixed settings docs to match list/tuple changes in #24149. 2015-05-22 09:40:55 -04:00
Tim Graham e11a08ee15 Fixed #24839 -- Removed references to deprecated contrib.webdesign. 2015-05-22 09:39:14 -04:00
Tim Graham 00d763a4fb Fixed typo in docs/topics/auth/default.txt 2015-05-22 06:48:59 -04:00
Laurent Peuch 21efb5eb74 Enhanced registration/login.html example template. 2015-05-21 20:45:51 -04:00
I am Clinton 32f0c8f796 Cosmetic edits and minor fixes to docs/ref/contrib/admin/index.txt 2015-05-21 20:23:26 -04:00
Andrei Kulakov fc3409b093 Fixed #24813 -- Documented {% include %} debug behavior variance 2015-05-21 19:51:41 -04:00
Tim Graham 016d8cfbe2 Removed obsolete distros@vs.openwall.org security notification. 2015-05-21 19:22:58 -04:00
garwoodpr 99ec80f84a Cosmetic edits and minor corrections to docs/ref/django-admin.txt. 2015-05-21 19:19:57 -04:00
garwoodpr 5edf25bddd Cosmetic edits and minor corrections to docs/ref/settings.txt. 2015-05-21 18:58:41 -04:00
Preston Timmons 655f524915 Fixed #17085, #24783 -- Refactored template library registration.
* Converted the ``libraries`` and ``builtins`` globals of
  ``django.template.base`` into properties of the Engine class.
* Added a public API for explicit registration of libraries and builtins.
2015-05-21 09:12:06 -05:00
Tim Graham 7b8008a078 Added stub release notes for 1.8.3. 2015-05-20 14:17:59 -04:00
Tim Graham c940940fe4 Added today's security issue to archive. 2015-05-20 14:04:56 -04:00
Tim Graham ebe994a42c Added release date for 1.8.2. 2015-05-20 13:48:06 -04:00
Tim Graham 088579638b Fixed incorrect session.flush() in cached_db session backend.
This is a security fix; disclosure to follow shortly.

Thanks Sam Cooke for the report and draft patch.
2015-05-20 13:48:06 -04:00
Simon Charette c15b0c2792 Fixed #24652 -- Disallowed query execution in SimpleTestCase subclasses.
Thanks to Tim and Anssi for the review.
2015-05-20 12:50:41 -04:00
Anssi Kääriäinen bc87061a3c Fixed #24705 -- Fixed negated Q objects in expressions.
Avoided split_exclude() for Q when used as an expression.
2015-05-20 09:41:04 -04:00
latyas(懒) 8b106cfaa0 Fixed typo in docs/ref/contrib/admin/index.txt 2015-05-20 08:13:56 -04:00
Tim Graham fb94e7b8cf Fixed #24784 -- Fixed visibility regression in admin's FK widget. 2015-05-19 13:01:48 -04:00
I am Clinton f3b51f5193 Made minor edits to docs/intro/tutorial01.text 2015-05-19 12:32:23 -04:00
Claude Paroz 1046c8afec Fixed #24739 -- Documented translation fallback change
Refs #24503.
2015-05-18 18:40:37 +02:00
Tim Graham a0175724b0 Added docs for assertRaisesMessage as context manager. 2015-05-18 10:04:18 -04:00
I am Clinton e4f0e5a981 Fixed typos in docs/ref/request-response.txt 2015-05-18 09:45:33 -04:00
Tim Graham 307acc745a Fixed #24630 -- Clarified docs about RunPython transactions.
Thanks Markus Holtermann for review.
2015-05-17 18:50:18 -04:00
Tim Graham fc1eea59c0 Fixed typo in docs/topics/http/sessions.txt 2015-05-17 18:35:14 -04:00
Aymeric Augustin da2c6959c8 Dropped the needs_datetime_string_cast feature.
It has been superseded by the converter infrastructure.
2015-05-17 10:23:13 +02:00
Aymeric Augustin ed83881e64 Fixed #23820 -- Supported per-database time zone.
The primary use case is to interact with a third-party database (not
primarily managed by Django) that doesn't support time zones and where
datetimes are stored in local time when USE_TZ is True.

Configuring a PostgreSQL database with the TIME_ZONE option while USE_TZ
is False used to result in silent data corruption. Now this is an error.
2015-05-17 09:40:28 +02:00
Aymeric Augustin 54026f1e8d Renamed value_to_db_xxx to adapt_xxxfield_value.
This mirrors convert_xxxfield_value nicely, taking advantage of the
adapter/converter terminology which is commonly used by DB-API modules.
2015-05-17 09:39:34 +02:00
Aymeric Augustin d9521f66b1 Removed global timezone-aware datetime adapters.
Refs #23820.

Fixed #19738.

Refs #17755. In order not to introduce a regression for raw queries,
parameters are passed through the connection.ops.value_to_db_* methods,
depending on their type.
2015-05-17 09:38:48 +02:00
Aymeric Augustin ec186572e6 Removed global timezone-aware datetime converters.
Refs #23820.
2015-05-17 09:36:23 +02:00
Piotr Jakimiak 70e3e2e08e Fixed #24774 -- Made contrib.site's Site.domain field unique 2015-05-16 08:43:42 -04:00
Kamran Mackey 4c2197db32 Updated the Python shell example to use generic version numbers. 2015-05-16 08:35:58 -04:00
Claude Paroz 3226050358 Fixed #24791 -- Added fallback when 'postgres' database isn't available
Thanks Carl Meyer and Tim Graham for the reviews.
2015-05-15 18:44:20 +02:00
Bo Lopker 2dee853ed4 Fixed #24799 -- Fixed session cookie deletion when using SESSION_COOKIE_DOMAIN 2015-05-15 11:23:41 -04:00
Claude Paroz ae635cc365 Fixed #24757 -- Recreated MySQL index when needed during combined index removal
Thanks Thomas Recouvreux for the report and Tim Graham for the tests and
review.
2015-05-15 17:07:14 +02:00
I am Clinton dce004ab72 Minor edits to docs/topics/http/urls.txt 2015-05-14 19:31:30 -04:00
Tim Graham 3c8fe5dddf Fixed #24751 -- Fixed HStoreField isnull lookup. 2015-05-13 10:31:59 -04:00
Tim Graham 81d4ce4a6d Refs #24743 -- Clarified migrations performance note in 1.8.1 release notes. 2015-05-13 10:11:05 -04:00
Piotr Jakimiak ca51c55915 Fixed broken link in settings docs 2015-05-13 07:02:01 -04:00
Charles Dee Rice 4f3c444241 Fixed #24789 -- Fixed wrong positional args order in doc example
Arguments shown in example code (signal, sender, instance) appeared to
be the incorrect positional arguments for a post_save signal (which
might start as: sender, instance, created), as documented:
​https://docs.djangoproject.com/en/1.8/ref/signals/#post-save
2015-05-13 10:14:33 +02:00
Abhaya Agarwal 9de9c24017 Fixed #24105 -- Called Storage.get_valid_name() when upload_to is callable 2015-05-12 20:08:22 -04:00
Abhaya Agarwal 7c7b855106 [1.8.x] Refs #24698, #24712 -- Forwardported ForeignKey.get_db_prep_value() test and release notes.
Fixed in master by b68212f539.

Forwardport of 290c9d6654 from stable/1.8.x
2015-05-12 19:42:42 -04:00
I am Clinton ec74dba2ab Light edits to docs/topics/forms/index.txt 2015-05-12 09:16:13 -04:00
Claude Paroz 70779d9c1c Fixed #24733 -- Passed the triggering exception to 40x error handlers
Thanks Tim Graham for the review.
2015-05-11 22:02:14 +02:00
Riccardo Magliocchetti bd53db5eab Fixed #24553 -- Added the list of available applications to AdminSite.each_context() 2015-05-11 12:07:36 -04:00
Anssi Kääriäinen adc57632bc Fixed #24748 -- Fixed incorrect GROUP BY on MySQL in some queries
When the query's model had a self-referential foreign key, the
compiler.get_group_by() code incorrectly used the self-referential
foreign key's column (for example parent_id) as GROUP BY clause
when it should have used the model's primary key column (id).
2015-05-11 11:42:27 -04:00
Anssi Kääriäinen be9d645346 Fixed #24766 -- Added join promotion for Case expressions 2015-05-11 11:16:16 -04:00
Tim Graham 8e86d9d3df Fixed #24780 -- Removed outdated discussion of signals and custom users. 2015-05-11 09:10:30 -04:00
Ian Foote c21b832c12 Fixed typo in docs/topics/testing/tools.txt 2015-05-09 18:03:25 -04:00
David Krisch 1a62f19707 Fixed #24763 -- Moved DoesNotExist exception to model docs. 2015-05-08 13:05:50 -04:00
Ian Foote 756a727252 Fixed typo in docs/ref/models/expressions.txt 2015-05-07 20:15:24 -04:00
Michael Blatherwick 3baebf52aa Fixed typo in 1.8 release notes. 2015-05-07 08:52:06 -04:00
Preston Timmons adff499e47 Fixed #24119, #24120 -- Formalized debug integration for template backends. 2015-05-06 17:33:47 -05:00
wdmgsm 10f7cfeb2d Fixed #24520 -- Documented Widget.supports_microseconds 2015-05-06 13:31:36 -04:00
Sławomir Ehlert 64ed8cdc9f Fixed typos in docs/ref/contrib/gis/geoquerysets.txt 2015-05-06 09:58:42 -04:00
Dan Watson fe914341c8 Fixed #24564 -- Moved AbstractBaseUser and BaseUserManager so they can be used without auth in INSTALLED_APPS 2015-05-05 12:03:48 -04:00
Anssi Kääriäinen 7b05d2fdae Fixed #24752 -- query crash when reusing Case expressions
Case expressions weren't copied deep enough (self.cases list was
reused resulting in an error).
2015-05-05 11:38:12 -04:00
Abhaya Agarwal 9096e2b5f7 Fixed #24736 -- Documented the Sitemap.limit attribute 2015-05-05 09:18:21 -04:00
Tim Graham 17b1f7886c Used a simpler word that doesn't fail the spelling checker. 2015-05-04 10:55:03 -04:00
Aymeric Augustin 81f7651728 Added release notes for previous commit. 2015-05-04 07:42:31 +02:00
Preston Timmons a2c3c2a1e2 Added my bio. 2015-05-02 15:29:41 -05:00
José Padilla b0bd1f0e19 Fixed typo in translation import statement 2015-05-02 20:18:34 +02:00
Luis Del Giudice 69ddc1b3da Fixed #24693 -- Added label and label_lower property to Model._meta 2015-05-02 16:58:18 +02:00
Tim Graham 3cb386b8c2 Added stub release notes for 1.8.2. 2015-05-01 16:52:19 -04:00
Tim Graham 06aaed41a4 Added dates to release notes. 2015-05-01 16:24:39 -04:00
Tim Graham 3c4fca271b Fixed #24724 -- Fixed GIS initialization crash on Windows. 2015-05-01 15:47:34 -04:00
Tim Graham 2c3ce26beb Fixed #24676 -- Fixed help text positioning in ``contrib.admin`` filter_* widgets. 2015-05-01 15:32:05 -04:00
Dave Hodder 08c980d752 Updated capitalization in the word "JavaScript" for consistency 2015-05-01 13:26:42 -04:00
daphshez 57202a112a Fixed #23271 -- Fixed makemessages crash/test failure for some locales. 2015-05-01 10:27:28 -04:00
Tim Graham be66173ad7 Forwardport of 1.8.1 release notes. 2015-04-30 09:55:18 -04:00
Markus Holtermann 63f9b633f9 Fixed #24725 -- Allowed renaming of target models in ManyToMany relations
This is a regression caused by introducing rendered migration states in
1aa3e09c20 and the _meta refactoring in fb48eb0581.

Thanks to Danilo Bargen for reporting the issue and Marten Kenbeek and
Tim Graham for triaging the bug and providing the initial test case.
2015-04-30 13:27:29 +02:00
Dmitry Medvinsky cf34ee68f0 Added translation.override() context manager to docs. 2015-04-29 21:22:52 -04:00
Tim Graham 2b086229a2 Fixed #24665 -- Clarified model field flag defaults. 2015-04-29 20:35:22 -04:00
Baptiste Mispelon 683ece0ec8 Used full variable names instead of abbreviation in examples
Thanks to Andrew Ingram for the report.
2015-04-29 17:21:57 +02:00
Mounir 25b52d04f6 Fixed typo in docs/topics/i18n/translation.txt 2015-04-28 12:52:36 -04:00
Markus Bertheau 4a438e400b Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator. 2015-04-28 12:07:02 -04:00
Tim Graham 82162b4499 Fixed typo in 1.8.1 release notes. 2015-04-28 10:55:56 -04:00
Aric Coady 9c2d8cde77 Fixed #24719 -- Restored the ability to use interators as queryset related object filters. 2015-04-28 10:51:27 -04:00
Tim Graham 4870b304f2 Removed initial data from flush docs since it's removed; refs #24711. 2015-04-27 13:20:38 -04:00
Tim Graham 0f2e82b9ec Fixed #24704 -- Clarified system check interaction with runserver. 2015-04-25 15:06:17 -04:00
Tim Graham 2d76b61dc2 Fixed #24649 -- Allowed using Avg aggregate on non-numeric field types. 2015-04-25 13:06:14 -04:00
Tim Graham 26996e2d55 Fixed #24499 -- Dropped support for PostGIS 1.5. 2015-04-25 12:21:16 -04:00
Markus Holtermann faad6070ee Fixed #24701 -- Converted model manager names to unicode in migrations
Thanks to Reto Aebersold for reporting the issue and Tim Graham and
Claude Paroz for the review.
2015-04-25 18:17:06 +02:00
Adam Zapletal 0cf7477ed8 Fixed a typo and formatting consistency in testing tools docs
I changed "appears" to "appear" and emphasized the word "not" to match
the rest of the document.
2015-04-25 12:22:53 +02:00
Michal Čihař 76d26d8922 Fixed #24063 -- Allowed locale variants supported by gettext.
The locale code can contain a variant after @, so allowed that.
2015-04-24 20:31:16 -04:00
Nik Nyby 9d6914da66 Added missing comma in LocMemCache example. 2015-04-24 20:29:07 -04:00
Andrei Kulakov 8a1824d465 Fixed #24643 -- Added get_context_data() method to FormMixin 2015-04-24 20:17:29 -04:00
Josh Smeaton 143255c8bb Fixed #22598 -- Allowed make_aware() to work with ambiguous datetime 2015-04-24 13:55:40 -04:00
Marcus Pennington 269a5dbdd3 Fixed #24700 -- Added dash to slug regex in http docs 2015-04-24 17:57:29 +01:00
Tim Graham 8efea1b8d5 Fixed #24526 -- Combined django.request/security loggers with the root logger.
Thanks Carl Meyer for review.
2015-04-24 11:07:42 -04:00
Nicolas Noé 37682368a6 Fixed #24656 -- Added missing imports to query expressions doc. 2015-04-24 10:54:19 -04:00
Daniel Harding ad31bc0565 Updated startproject MIDDLEWARE_CLASSES in docs. 2015-04-24 09:32:40 -04:00
Alasdair Nicol b9e972b961 Fixed #24695 -- Tidied up a couple of regexes in the CBV docs
Thanks datakid for the report
2015-04-24 09:23:28 -04:00
Tim Graham 618bc4e653 Documented INSTALLED_APPS requirement for HStoreField. 2015-04-24 08:25:33 -04:00
Richard Eames dd99f57710 Fixed #24613 -- Added example to QuerySet.defer() documentation 2015-04-22 19:18:57 -04:00
Preston Timmons 8ae04e7630 Added docs for new template loader api.
Refs #15053.
2015-04-22 14:49:22 -05:00
Preston Timmons fc21471526 Fixed #15053 -- Enabled recursive template loading. 2015-04-22 14:49:00 -05:00
Claude Paroz 1b1b58bc7b Documented GeoQuerySet replacement by functions 2015-04-22 19:54:17 +02:00
Claude Paroz ea27e26b09 Deprecated legacy GeoManager/GeoQuerySet methods 2015-04-22 19:54:17 +02:00
Tim Graham 1418f75304 Fixed #24684 -- Typo in docs/topics/forms/modelforms.txt 2015-04-22 09:31:10 -04:00
Tim Graham 6ea9819f89 Clarified "AbstractUser.last_login allows null values" in 1.8 release notes. 2015-04-22 08:48:01 -04:00
Claude Paroz 6e8cb75e3e Fixed #24672 -- Clarified note about installing postgis_topology
Thanks Serhiy Zahoriya for the suggestion and Tim Graham for the
review.
2015-04-21 17:54:38 +02:00
Steve Hiemstra 258d81acbe Fixed #24682 -- Corrected a few generic editing view links 2015-04-21 10:26:19 -04:00
Markus Holtermann b93690c465 Fixed #24573 -- Considered new related models for reloading
Thanks tttomekkk for the report.
2015-04-21 11:35:45 +02:00
Marten Kenbeek 1a1f16d67d Fixed #24591 -- Optimized cloning of ModelState objects.
Changed ModelState.clone() to create a shallow copy of self.fields
and self.managers.
2015-04-20 19:53:21 -04:00
Tim Graham c331eeb89c Forwardported 1.8.1 release notes. 2015-04-20 19:26:31 -04:00
Tim Graham ffe83d16bd Fixed #24659 -- Clarified docs of smtp.EmailBackend parameters. 2015-04-20 15:46:31 -04:00
Simon Charette 37e23c6060 Fixed #24674 -- Documented the correct NullBooleanField formfield.
Thanks to knbk for the report.
2015-04-20 15:18:41 -04:00
Jon Dufresne b5e0eede40 Fixed #22394 -- Refactored built-in datetime lookups to transforms. 2015-04-20 15:11:11 -04:00
Anton f5fbddf22f Fixed typo in docs/topics/class-based-views/intro.txt 2015-04-20 14:11:21 -04:00
Tim Graham e15c55e2bf Fixed #24668 -- Amended ModelAdmin.save_formset() example for #10284.
Thanks Carsten Fuchs.
2015-04-20 10:45:05 -04:00
Neal Todd d84f01ff08 Amended get_all_related_objects() backwards compatible replacement. 2015-04-20 09:50:17 -04:00
Marco Santamaria bae72bdd2a Fixed #11078 -- documentation update. 2015-04-19 16:24:14 +02:00
Tim Graham e9fdecf984 Removed DateTimeQuerySet from docs.
Obsolete since refs #23867.
2015-04-18 10:14:22 -04:00
Claude Paroz 8097e54832 Fixed #23879 -- Allowed model migration skip based on feature/vendor
Thanks Carl Meyer for the report and review, and Tim Graham for the
review.
2015-04-18 15:17:49 +02:00
Jacob Kaplan-Moss f043434174 Added link to the code of conduct from contributing guides.
This is inspired by Angluar.js
(https://github.com/angular/angular/blob/master/CONTRIBUTING.md), among others.
Thanks to Jeff Triplett for the prod.
2015-04-17 18:12:41 -04:00
Anoop Thomas Mathew 2400329508 Fixed #24349 -- Limited domain name labels to 63 characters in EmailValidator 2015-04-17 18:08:33 -04:00
Tim Graham b98dfc2177 Forwardported 1.8.1 release note. 2015-04-17 11:26:39 -04:00
Tim Graham f47c796b52 Fixed #24657 -- Fixed include template tag example.
Thanks pattypatpat for the report.
2015-04-17 07:53:57 -04:00
Claude Paroz 02260ea3f6 Fixed #24595 -- Prevented loss of null info in MySQL field alteration
Thanks Simon Percivall for the report, and Simon Charette and Tim
Graham for the reviews.
2015-04-17 10:25:15 +02:00
Tim Graham d974c89ebb Fixed #24646 -- Fixed jinja2 example on Python 2. 2015-04-16 19:32:42 -04:00
Anssi Kääriäinen 355c5edd93 Fixed #24605 -- Fixed incorrect reference to alias in subquery.
Thanks to charettes and priidukull for investigating the issue, and to
kurevin for the report.
2015-04-16 09:22:00 -04:00
Daniel Lindsley 8ca9bc5ec3 Fixed #23984 -- Added Javascript i18n documentation
This fleshes out the documentation around all of the exported
Javascript functions available from the ``javascript_catalog``
view.
2015-04-16 08:15:35 -04:00
Abdulrahman Alotaibi 62261ddd0f Fixed #24644 -- Added HTTP_ACCEPT to example headers list. 2015-04-16 07:38:58 -04:00
Tim Graham d3bf5e7b00 Fixed #24645 -- Documented use of HStoreExtension. 2015-04-16 07:22:01 -04:00
Anssi Kääriäinen fb5c7748da Fixed #24615 -- ordering by expression not part of SELECT
Fixed queries where an expression was used in order_by() but the
expression wasn't in the query's select clause (for example the
expression could be masked by .values() call)

Thanks to Trac alias MattBlack85 for the report.
2015-04-16 09:40:47 +02:00
Simon Charette 28e8978325 Fixed typos in the 1.7.7 release notes. 2015-04-14 22:11:40 -04:00
Tim Graham 6b8c969878 Removed docs for removed transaction APIs. 2015-04-14 13:52:45 -04:00
Markus Holtermann 825bb0ab08 Fixed title in 1.7.8 release notes
Refs f8e8853b51
2015-04-14 19:25:45 +02:00
Andrew Pinkham 0b5abb0321 Fixed #24635 -- Updated deprecated urls.py examples in default project template. 2015-04-14 12:48:17 -04:00
peterfarrell f8e8853b51 Fixed #24637 -- Fixed database introspection with SQLite 3.8.9. 2015-04-14 11:29:59 -04:00
Preston Holmes 072947ad35 Moving myself to past team members section
Reflecting the unfortunate reality.
Still plan to be involved, but feel I need to recognize the degree to
which I'm only on the periphery these days.
2015-04-14 10:40:13 -04:00
Tommy Beadle 6bfd864ff2 Fixed #24603 -- Allowed Context.update() to be used as a context manager. 2015-04-14 08:01:16 -04:00
Tim Graham c612786cf1 Fixed typos in docs/ref/templates/api.txt 2015-04-14 07:58:01 -04:00
Craig Oldford 75bc5bc634 Fixed #12199 -- Added the ability to use "as" with the firstof template tag. 2015-04-14 07:19:47 -04:00
Maxime Lorant 6023312dde Fixed formatting in docs/ref/templates/builtins.txt 2015-04-14 07:05:23 -04:00
Justin Bronn 508b06f389 Update to indicate GDAL 1.11 is supported. 2015-04-13 15:26:28 -04:00
Justin Bronn 4fb0023816 Update PROJ.4 source instructions to use 4.9.1. 2015-04-13 15:24:17 -04:00
Justin Bronn db3f07f4c3 Update link to use GEOS 3.4.2 in source installation docs. 2015-04-13 13:57:00 -04:00
Justin Bronn e8c7f31a96 I'm back in Texas. 2015-04-13 13:42:26 -04:00
Jay Wineinger 923da0274a Fixed #24611 -- Fixed update() crash with related UUID pk object. 2015-04-13 12:18:24 -04:00
Adam Zapletal 872eb26f54 Fixed #24621 -- Fixed and documented SessionBase.pop's second argument
Changed SessionBase.pop's second argument to explicitly be default=None
rather than *args since _session is always a dict. Thanks gabor for the
report and Tim Graham for the review.
2015-04-13 10:32:03 -04:00
Afriza N. Arief b295fcd19c Fixed typo in docs/howto/deployment/wsgi/apache-auth.txt 2015-04-13 07:50:23 -04:00
Markus Holtermann 09595b4fc6 Fixed #24625 -- Prevented arbitrary file inclusion in admindocs
Thanks Tim Graham for the review.
2015-04-11 20:36:10 +02:00
Claude Paroz 4e7ed8d0d3 Fixed #24624 -- Replaced obsoleted rel.opts in admindocs view
Thanks Scott Sanders for the report, and Markus Holtermann and
Tim Graham for the reviews. Refs #24381.
2015-04-11 15:29:02 +02:00
andredelorme d5d92260bb Fixed typo in docs/ref/contrib/admin/index.txt 2015-04-09 13:44:11 -04:00
Adam Chainz 5564d0f2ee Fixed #24560 -- Added a --dry-run mode to the createcachetable command. 2015-04-09 12:15:50 -04:00
Baptiste Mispelon 418f75d55f Refs #24568 -- Added Read the Docs step to the release checklist. 2015-04-09 10:07:20 -04:00
Tim Graham a10b4c010a Fixed #24578 -- Fixed crash with QuerySet.update() on FK to O2O fields.
Thanks Anssi Kääriäinen for review.
2015-04-09 06:50:21 -04:00
Tim Graham 1273a7a0e8 Revert "Fixed #24474 -- Allowed configuring the admin's empty change list value."
This reverts commit 72f769f494.

There are several test failures that need to be fixed.
2015-04-08 20:39:59 -04:00
Loek van Gent 72f769f494 Fixed #24474 -- Allowed configuring the admin's empty change list value. 2015-04-08 20:27:01 -04:00
Tim Graham 6d7784a7b9 Fixed #24602 -- Removed obsolete reference to __metaclass__ in custom model fields docs.
Thanks schinckel for the report.
2015-04-08 08:35:35 -04:00
Tim Graham 3acefcefeb Fixed #24600 -- Fixed inaccurate example in template Context docs.
Thanks pattypatpat for the report.
2015-04-08 07:27:39 -04:00
lampslave 800240cb1d Fixed typo in docs/ref/models/expressions.txt 2015-04-07 13:58:39 -04:00
Tim Graham 981e3b9394 Fixed #24429 -- Doc'ed that Django 1.8 doesn't require an integer PK for custom user models. 2015-04-07 10:45:31 -04:00
Christopher Luc e37d52bd5e Fixed #22993 -- Deprecated skipIfCustomUser decorator 2015-04-07 09:45:32 -04:00
Patrik Lundin f9c212d09a Specified file names for example code in docs/topics/forms/index.txt 2015-04-07 09:35:22 -04:00
Patryk Zawadzki 0385dad073 Fixed #24513 -- Made sure a model is only rendered once during reloads
This also prevents state modifications from corrupting previous states.
Previously, when a model defining a relation was unregistered first,
clearing the cache would cause its related models' _meta to be cleared
and would result in the old models losing track of their relations.
2015-04-07 14:49:47 +02:00
Marios Zindilis 7a7c797234 Fixed typo in docs/intro/tutorial02.txt 2015-04-07 07:41:05 -04:00
Thomas Güttler 566c936236 Added admonition about reusable apps and AUTH_USER_PROFILE. 2015-04-06 19:49:46 -04:00
Jon Dufresne 2cf58e80d1 Fixed #24584 -- Fixed microsecond handling with older MySQLdb 2015-04-06 22:43:51 +02:00
Marten Kenbeek e8e4f978dd Fixed #24278 -- Fixed serialization of migration operations.
Fixed MigrationWriter.serialize() to correctly handle migration
operations by utilizing OperationWriter.

Thanks Piotr Maliński for the report.
2015-04-05 20:26:21 +02:00
Tim Graham 2cf28b6921 Added myself to the list of releasers. 2015-04-04 08:08:53 -04:00
Tim Graham 1e59d779e1 Added the technical board for the 1.9 release cycle.
The current board has been re-elected.
2015-04-04 08:08:35 -04:00
Tim Graham 8c4827ec1d Added link to download page to find supported versions. 2015-04-04 08:00:10 -04:00
Claude Paroz 7a0d9b5cda Fixed #24569 -- Made some translation functions accept None value
get_language() can return None when translations are deactivated.
Thanks Nicola Peduzzi for the reporti and Tim Graham for the review.
2015-04-04 10:54:16 +02:00
Claude Paroz 426b63ba04 Fixed #24571 -- Restored testserver positional arguments parsing
Thanks Domas Lapinskas for the report and Tim Graham for the
review.
2015-04-04 10:46:29 +02:00
Sam Thursfield 1119063c69 Fixed #24556 -- Added reminder about HTTPS to passwords docs. 2015-04-03 10:55:11 -04:00
Ian Lee 90c4c300a8 Fixed minor typo in Cryptography section of 1.8 release notes 2015-04-03 00:12:27 -07:00
Simon Charette 5bc3123479 Fixed #24558 -- Made dumpdata mapping ordering deterministic.
Thanks to gfairchild for the report and Claude for the review.
2015-04-02 15:21:43 -04:00
Tim Graham 147ac85613 Removed Django 1.6 from the Python version chart. 2015-04-02 14:21:01 -04:00
Baptiste Mispelon 30a3c2f74c Fixed #24566 -- Added support for serializing timedelta
Thanks to knbk for the report.
2015-04-02 17:21:20 +02:00
Tim Graham 9cc29bbbca Fixed spelling in docs/internals/howto-release-django.txt 2015-04-01 19:05:16 -04:00
Krzysztof Gogolewski 2350b78dab Fixed typo in 1.9 release notes. 2015-04-01 19:00:50 -04:00
Tim Graham 8583a60547 Documented that only wheel files are uploaded to PyPI for prereleases. 2015-04-01 16:41:04 -04:00
Tim Graham bf63de5824 Fixed typo in docs/internals/howto-release-django.txt 2015-04-01 16:41:04 -04:00
Aymeric Augustin 8520551478 Pointed Jinja2 users to Babel instead of makemessages. 2015-04-01 22:37:11 +02:00
Tim Graham 1b605838bf Added stub release notes for 1.8.1. 2015-04-01 16:08:15 -04:00
Tim Graham 61d6c5d02e Added release date for Django 1.8. 2015-04-01 15:30:32 -04:00
Joost Rijneveld 48ddc66219 Fixed typo in docs/ref/templates/builtins.txt 2015-03-31 21:20:03 -04:00
Kostochko Dmitriy d026eb6366 Fixed typo in docs/topics/cache.txt 2015-03-31 21:15:56 -04:00
Tim Graham 56286542db Documented jinja2 install requirement. 2015-03-30 20:56:50 -04:00
Tim Graham b86abbceb9 Fixed #24115 -- Allowed bcrypt hashers to upgrade passwords on rounds change.
Thanks Florian Apolloner for the review.
2015-03-30 18:52:59 -04:00
Andriy Sokolovskiy e4cf8c8420 Fixed #24301 -- Added PostgreSQL-specific aggregate functions 2015-03-30 10:44:37 -04:00
Jorge Barata González 931a340f1f Fixed #15590 -- Documented how the path of a FileField can be changed.
Thanks simon29 for report, and freakboy3742, floledermann,
jacob, claudep and collinanderson for discussing the task.
2015-03-30 10:38:30 -04:00
Markus Holtermann c5cc332bf2 Fixed #24550 -- Added migration operation description to sqlmigrate output
Thanks Tim Graham for the review.
2015-03-30 16:31:20 +02:00
Christopher Luc 8119876d4a Improved docs for timezone handling for auto_now and auto_now_add
Thanks djbug for the report and Aymeric Augustin and Carl Meyer for the
review.
2015-03-29 22:32:05 +02:00
Tim Graham 6de3a1e2c3 Fixed #24541 -- Clarified ModelFormSet's handling of initial data. 2015-03-28 08:54:59 -04:00
Tim Graham 3e132406e3 Fixed syntax highlighting in docs/topics/auth/default.txt 2015-03-28 07:49:03 -04:00
SaeX 19e41a9799 Fixed typo in docs/topics/forms/modelforms.txt 2015-03-28 07:40:38 -04:00