0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
Commit Graph

8009 Commits

Author SHA1 Message Date
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