1
0
mirror of https://github.com/django/django.git synced 2025-03-01 20:44:55 +00:00

22698 Commits

Author SHA1 Message Date
B. J. Potter
261738990e Added syntax highlighting to CSRF example. 2016-06-03 15:18:58 -04:00
mieciu
19ff506878 Fixed -- Fixed PostgreSQL dbshell crash on an empty database name. 2016-06-03 12:30:21 -04:00
Ed Henderson
4a4d7f980e Fixed -- Applied hanging indentation to docs. 2016-06-03 11:44:34 -04:00
Paulo
38575b007a Fixed -- Avoided extra query on some multi-table inheritance queries.
Thanks marekw2143 for the initial patch and carljm for support.
2016-06-03 10:18:24 -04:00
Will Koster
9899347641 Fixed -- Allowed callable arguments for QuerySet.get_or_create()/update_or_create() defaults. 2016-06-03 10:00:53 -04:00
shaunagm
44c7e5d374 Fixed -- Replaced /newticket links to Trac with /. 2016-06-03 08:48:12 -04:00
Tobias McNulty
78a0ca67f6 Refs -- Fixed test failures caused by assertRedirects changes () 2016-06-02 21:47:30 -07:00
Holly Becker
ff9198ee0f Refs -- Documented CSRF failure logging. 2016-06-02 20:42:41 -04:00
jrabbit
d65e2899b2 Fixes -- Added how to upgrade to TEMPLATES link in 1.10 release notes. 2016-06-02 20:27:33 -04:00
Chad Shryock
e6c5e68acd Fixed -- Documented QuerySet.latest()'s dependency on database ordering. 2016-06-02 19:42:08 -04:00
Tobias McNulty
c7b1b81352 Fixed -- Added more useful error message to assertRedirects 2016-06-02 14:43:31 -07:00
Brad Melin
f6517a5335 Fixed -- Fixed HStoreField to raise ValidationError instead of crashing on non-dict JSON input. 2016-06-02 16:28:01 -04:00
Tim Graham
abc5223834 Added a ticket tracker link in docs/internals/contributing/bugs-and-features.txt 2016-06-02 16:03:29 -04:00
Claude Paroz
f6fefbf8cb Fixed -- Added i18n note about using a non-English base language
Thanks Cristiano Coelho for the report and Tim Graham for the review.
2016-06-02 20:56:31 +02:00
Alex Hill
08014fe75b Fixed -- Fixed crash when registering model signals with abstract senders. 2016-06-02 14:34:01 -04:00
Philip James
2c90981c5f Fixed -- Mentioned doc theming difference (locally-built vs. website). 2016-06-02 14:06:56 -04:00
Rustam Kashapov
df8412d2e5 Fixed -- Added distinct argument to contrib.postgres's StringAgg. 2016-06-02 13:48:35 -04:00
Tim Graham
149ace94df Updated release notes links to prevent warnings with Sphinx 1.4.2. 2016-06-02 11:41:49 -04:00
inondle
080dd74e01 Fixed -- Improved error message when AppConfig.name is invalid. 2016-06-02 10:37:00 -04:00
Jon Dufresne
779829662d Fixed -- Made FileBasedCache.get() reraise non-ENOENT IOErrors. 2016-06-01 15:29:24 -04:00
Tim Graham
3db04d4422 Fixed -- Documented that deprecation warnings are no longer loud. 2016-06-01 15:17:25 -04:00
Tim Graham
af32737573 Ignored new warnings when building the docs with Sphinx 1.4. 2016-06-01 11:03:41 -04:00
Sergey Fedoseev
a20671c489 Refs -- Removed SpatiaLite 3.x compatibility in SpatialiteSpatialRefSys.wkt.
Complements 47f22e828618581ecd4203d369a939fdfcff3a8b.
2016-06-01 10:49:55 -04:00
Ramiro Morales
71421e8f87 Fixed -- Relaxed an i18n compilemessages test.
The actual non-ASCII character differs on Windows.
2016-06-01 09:20:57 -04:00
Tim Graham
db2a6b6bfa Fixed -- Clarified return value of View.options().
Thanks mmoreaux and DheerendraRathor.
2016-06-01 08:15:50 -04:00
Tim Graham
bc84278615 Fixed -- Dropped support for PostgreSQL 9.2/PostGIS 2.0. 2016-06-01 07:45:22 -04:00
Simon Charette
d02e33141d Avoided uncessary table creation in model_inheritance tests. 2016-05-31 15:15:54 -04:00
Simon Charette
53a5fb3cc0 Fixed -- Prevented prefetching to_attr from caching its result in through attr.
Thanks Ursidours for the report.
2016-05-31 14:32:58 -04:00
Jon Dufresne
359be1c870 Fixed -- Removed checking for a file's existence before deleting.
File operations always raise a ENOENT error when a file doesn't exist.
Checking the file exists before the operation adds a race condition
condition where the file could be removed between operations. As the
operation already raises an error on a missing file, avoid this race and
avoid checking the file exists twice. Instead only check a file exists
by catching the ENOENT error.
2016-05-31 12:03:27 -04:00
Ramiro Morales
e3877c53ed Fixed -- Made an i18n test not use a hardcoded path separator.
Fixed a failure on Windows.
2016-05-31 12:00:36 -04:00
Tim Graham
47f22e8286 Fixed -- Dropped support for SpatiaLite < 4.0. 2016-05-31 11:31:51 -04:00
Florian Apolloner
62e4f8ec43 Fixed a typo in the docs. 2016-05-31 16:54:24 +02:00
Berker Peksag
698c8dfc2a Fixed -- Removed an outdated example from session docs. 2016-05-31 07:21:00 -04:00
Ketan Bhatt
59523c06fe Fixed -- Documented which methods are disabled on RelatedManager if there's an intermediate table. 2016-05-31 07:14:31 -04:00
Tim Graham
37aec6b186 Refs -- Fixed a feedgenerator test that requires a database query on PostgreSQL. 2016-05-30 19:30:45 -04:00
Ketan Bhatt
f31fbbae1a Fixed -- Made SyndicationFeed.latest_post_date() return time in UTC. 2016-05-30 18:36:15 -04:00
Christophe Pettus
92107522ed Fixed -- Removed incorrect index example in docs/ref/contrib/postgres/search.txt. 2016-05-30 14:21:05 -04:00
Vytis Banaitis
f1e408ff40 Fixed -- Fixed migrations for renaming ManyToManyField's through model. 2016-05-30 10:17:45 -04:00
Tim Graham
16a842b379 Refs -- Added tests for admindocs.views.simplify_regex(). 2016-05-30 09:50:02 -04:00
Berker Peksag
995d09ead4 Fixed -- Corrected accepted values of sender parameter in Signal.connect() docstring. 2016-05-30 08:17:42 -04:00
Ramiro Morales
1b00ed0880 Fixed -- Corrected a i18n makemessages test.
Made it consistently read the PO file, decode its contents and then
check for the non-breaking space Unicode code point.

Previously we were erroneously skipping the interpretation of what we
read as UTF-8 text.

This was causing the test to fail on Windows with Python 3.5.
2016-05-29 10:31:10 -03:00
Tim Graham
6f520bf7d8 Added RemovedInDjango21Warning 2016-05-28 21:12:39 -04:00
Tim Graham
cbea13f344 Confirmed support for PostGIS 2.2. 2016-05-28 20:48:32 -04:00
Tim Graham
cc0d1eaaea Refs -- Removed unneeded app_label in custom session engine example. 2016-05-28 17:32:37 -04:00
Ramiro Morales
15a5755e7c Fixed -- Fixed a I18N test case error on Windows+Python 2.7.
`subprocess.Popen` doesn't accept enviroment vars with Unicode var name
or value.
2016-05-28 18:05:14 -03:00
Tim Graham
a4c20ae85b Refs -- Fixed crash of ManyToManyField.value_from_object() on unsaved model instances.
This behavior was removed in 67d984413c9540074e4fe6aa033081a35cf192bc
but is needed to prevent a crash in formtools.
2016-05-28 15:41:47 -04:00
Simon Charette
4f474607de
Fixed -- Added IOBase methods required by TextIOWrapper to File.
Thanks Tim for the review.
2016-05-27 21:05:58 -04:00
Ramiro Morales
6ab0d1358f Fixed -- Fixed potential makemessages failures on Windows.
This was reflected by 27 i18n test errors (not failures) on such
platform caused by corrupt intermediate PO catalog files fed to
`msgmerge(1)`.

Made it handle in-memory PO/POT file contents with normalized line
separators (`'\n'`).

We need to perform manually this after using `subprocess.Popen` as we
can't pass it `universal_newlines=True`.

Also fixes  in the process as this commit refactors the same code
section.
2016-05-27 21:02:14 -03:00
Bas Westerbaan
9407cc966b Fixed -- Clarified Argon2PasswordHasher's memory_cost differs from command line utility. 2016-05-27 18:37:12 -04:00
inondle
93c312cc9c Fixed -- Added descriptive error message for malformed if/else/elif template tags. 2016-05-27 18:12:56 -04:00