1
0
mirror of https://github.com/django/django.git synced 2024-12-26 11:06:07 +00:00
Commit Graph

22880 Commits

Author SHA1 Message Date
Tom Carrick
46e2010460 Fixed typos in docs/ref/contrib/postgres/search.txt 2016-07-14 07:52:47 -04:00
Daniel Rice
08c723fbae Reworded a sentence in tutorial 7. 2016-07-14 07:50:29 -04:00
Jon Dufresne
2e4cfcd2b9 Fixed #26889 -- Fixed missing PostgreSQL index in SchemaEditor.add_field(). 2016-07-13 14:33:54 -07:00
Jiang Haiyun
10883b63b7 Fixed typo in docs/internals/contributing/writing-code/coding-style.txt 2016-07-13 10:15:39 -04:00
Kenneth
841cb45847 Fixed #26884 -- Evaluated callables in QuerySet.update_or_create()'s defaults when updating. 2016-07-12 22:09:53 -04:00
Jon Dufresne
b84ecaa736 Fixed #26088 -- Made autodector detect changing proxy model to MTI. 2016-07-12 21:45:17 -04:00
Andrey Fedoseev
81963b37a9 Fixed #17657 -- Made ModelForm respect ModelMultipleChoiceField's to_field_name.
Follow up to 67d984413c.
2016-07-12 16:20:06 -04:00
Md. Sadaf Noor
1f82b857ce Fixed #26831 -- Documented session data must be JSON encodable for JSONSerializer. 2016-07-12 13:45:01 -04:00
Andrew Nester
08ed3cc6d1 Fixed #26671 -- Made HashedFilesMixin ignore the 'chrome' scheme. 2016-07-12 08:20:39 -04:00
Dmitry S..ky / skype: dvska-at-skype
82be474efa Fixed #26792 -- Allowed None for the value of cache.get_or_set(). 2016-07-11 20:49:27 -04:00
Tim Graham
ee2f0f311a Linked "Features removed" release notes to corresponding deprecation notes. 2016-07-11 15:22:32 -04:00
Julien Hartmann
f4afb85d7e Fixed #26749 -- Preserved behavior of use_for_related_field during deprecation. 2016-07-11 13:30:44 -04:00
Baptiste Mispelon
418658f453 Fixed numpy deprecation warning silencing in template_tests. 2016-07-09 10:23:58 -04:00
Kenneth
2f587737d7 Fixed #26872 -- Fixed text overflow in ModelAdmin.list_filter. 2016-07-09 08:06:42 -04:00
Loïc Bistuer
dab83e5ba1 Fixed #26881 -- Fixed duplicate managers in migrations.
When both parent and child models had managers with the same name and
a migrations opt-in both were added to the migration state.
2016-07-09 17:52:52 +07:00
Anderson Resende
ba53da894f Fixed #26796 -- Added a system check for m2m fields with ignored limit_choices_to. 2016-07-08 19:37:40 -04:00
Simon Charette
8a4f017f45 Fixed #26348 -- Added TruncTime and exposed it through the __time lookup.
Thanks Tim for the review.
2016-07-08 12:35:34 -04:00
Simon Charette
082c52dbed Refs #25774, #26348 -- Allowed Trunc functions to operate with time fields.
Thanks Josh for the amazing testing setup and Tim for the review.
2016-07-08 12:35:34 -04:00
Simon Charette
90468079ec Refs #25774 -- Adjusted datetime database function docs field names. 2016-07-08 12:35:34 -04:00
Simon Charette
c4a876a0c1 Refs #17260 -- Prevented Oracle timezone conversion from stripping microseonds. 2016-07-08 12:35:33 -04:00
Jon Dufresne
e9e705eedc Added strict=True to all SchemaEditor.alter_field() calls in tests.
It should help catch bugs.
2016-07-08 12:03:33 -04:00
Sean Marlow
8b9e16ec85 Fixed #26837 -- Documented ModelMultipleChoiceField.to_field_name 2016-07-08 11:30:12 -04:00
Claude Paroz
04b7b28812 Fixed #26802 -- Prevented crash when attaching bytes as text message
Thanks Tim Graham for the review.
2016-07-08 11:58:05 +02:00
Jon Dufresne
9356f63a99 Fixed #25317, #26090 -- Fixed swapping combinations of unique and db_index during migrations. 2016-07-07 20:29:08 -04:00
Akshesh
fc3ac65735 Refs #26709 -- Checked allow_migrate_model() in Add/RemoveIndex operations. 2016-07-07 10:37:39 -04:00
Akshesh
3551fb537f Refs #26709 -- Documented SchemaEditor.add/remove_index(). 2016-07-07 10:21:25 -04:00
Akshesh
52442898e7 Refs #26709 -- Added 'model' argument to SchemaEditor.add/remove_index()
This removes the dependency of the Index class on its model attribute
when a name is passed to it.

Thanks to Markush for discussions.
2016-07-07 10:06:55 -04:00
Jon Dufresne
3410820460 Fixed #26833 -- Fixed SchemaEditor._constraint_names() to handle features.uppercases_column_names. 2016-07-07 08:09:42 -04:00
Akshesh
f7e907115f Refs #26709 -- Added IndexOperation to avoid code duplication. 2016-07-07 07:35:26 -04:00
Akshesh
b1e7d19d4c Refs #26709 -- Required a name for Indexes passed to AddIndex.
Thanks to Markush for discussions.
2016-07-07 07:31:23 -04:00
Mathieu Richardoz
f1af076fba Fixed a typo in docs/ref/contrib/postgres/search.txt. 2016-07-07 07:06:17 -04:00
Tim Graham
415ae960bb Fixed capitalization of "URL pattern". 2016-07-06 15:31:12 -04:00
Daniel Rice
1f9deba1b3 Improved grammar in tutorial01. 2016-07-06 15:24:03 -04:00
Tim Graham
a81fe17b3e Promoted RemovedInDjango21Warning to error in Django's test suite. 2016-07-06 14:34:33 -04:00
Baptiste Mispelon
a86fdfaa3b Added copy-to-clipboard support for all code snippets 2016-07-06 17:11:59 +02:00
Romain Garrigues
8be84e2ac4 Fixed #25461 -- Corrected meta API code examples to account for MTI.
In the case of multiple-table inheritance models, get_all_related_objects() and
get_all_related_objects_with_model() don't return the auto-created
OneToOneField, but the new examples didn't account for this.
2016-07-06 09:28:37 -04:00
Taylor Edmiston
43d0345fe1 Fixed typo in docs/topics/class-based-views/generic-display.txt 2016-07-06 08:48:43 -04:00
akki
2960e3a3a7 Fixed #26841 -- Avoid remake tables for altering togethers in sqlite3 (#6888)
alter_index_together and alter_unique_together no more use _remake_table method in sqlite3
2016-07-06 10:03:47 +02:00
Jiang Haiyun
6d61ec0e1a Fixed a typo in auth docs. 2016-07-04 11:02:11 -04:00
Erik Romijn
8db889eaf7 Fixed #18682 -- Expanded explanation in stale content type deletion. (#6869) 2016-07-03 15:55:14 +02:00
Akshesh
f7e00b40c5
Refs #26808 -- Avoided clashing keyword arguments in test_autodetector
Factor method signatures in test_autodetector to avoid clashing keyword
arguments when introducing indexes.
2016-07-03 09:01:07 +02:00
Leila20
de4265e082 Fixed #26832 -- Added translated language name on the get_language_info documentation 2016-07-02 18:10:09 +02:00
Baptiste Mispelon
a9215b7c36 Refs #21548 -- Skipped tests that rely on pillow when it's not installed 2016-07-02 15:46:16 +02:00
Md. Sadaf Noor
ed1c15d8fb Fixed #26829 -- Simplified version detection command in tutorial 2016-07-02 12:52:36 +02:00
Adam Dobrawy
92d323ccb5 Added package names to 'Error loading MySQLdb module' error. 2016-07-01 13:12:27 -04:00
Tim Graham
5f8da22984 Fixed a urlpatterns_reverse test on Python 2 non-ASCII path. 2016-07-01 09:09:31 -04:00
Harry Moreno
30c65ee818 Added parallel test running to "Speeding up the tests" docs. 2016-07-01 09:05:40 -04:00
Berker Peksag
12b4280444 Fixed #21548 -- Added FileExtensionValidator and validate_image_file_extension. 2016-06-30 09:08:50 -04:00
Tim Graham
c9d0a0f7f4 Fixed #26002 -- Explained ModelAdmin.get_search_results() example. 2016-06-30 09:00:10 -04:00
Andrew Nester
baff4dd37d Fixed #25292 -- Fixed crash in ManyToManyField.through_fields check. 2016-06-30 08:53:38 -04:00