summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
2013-08-15Fixed some ReST errors regarding backticksTim Graham
2013-08-09Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: django/db/models/options.py
2013-08-09Fixed #9057 -- Added default_permissions model meta option.Tim Graham
Thanks hvendelbo for the suggestion and koenb for the draft patch.
2013-08-09Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: django/core/management/commands/flush.py django/core/management/commands/syncdb.py django/db/models/loading.py docs/internals/deprecation.txt docs/ref/django-admin.txt docs/releases/1.7.txt
2013-08-07Merge pull request #1453 from chrismedrela/ticket20484-improvementPreston Holmes
Fixed #20484 again -- added note to field documentation
2013-08-07Fixed #20484 again -- added note to field documentationChristopher Medrela
2013-08-06Fixed #20852 - Fixed incorrectly generated left quotes in docs.Dominic Rodger
Sphinx generates left single quotes for apostrophes after code markup, when right single quotes are required. The easiest way to fix this is just by inserting the unicode character for a right single quote. Instances of the problem were found by looking for ">‘" in the generated HTML.
2013-08-05Fixed #20859 - Clarified Model.clean() example.Jimmy Song
2013-08-04Fixed #20842 and #20845 - Added a note on order_by() and improved ↵Daniele Procida
prefetch_related() docs.
2013-08-04Deprecated SortedDict (replaced with collections.OrderedDict)Curtis Maloney
Thanks Loic Bistuer for the review.
2013-08-01Removed unused model option "admin"Tim Graham
2013-07-31Fixed #20649 -- Allowed blank field display to be defined in the initial ↵Alex Couper
list of choices.
2013-07-31Fixed #20826 -- Moved Manager.raw() and Manager._insert() to the QuerySet class.Loic Bistuer
2013-07-27Fixed a number of minor misspellings.Julien Phalip
2013-07-26Fixed #20625 -- Chainable Manager/QuerySet methods.Loic Bistuer
Additionally this patch solves the orthogonal problem that specialized `QuerySet` like `ValuesQuerySet` didn't inherit from the current `QuerySet` type. This wasn't an issue until now because we didn't officially support custom `QuerySet` but it became necessary with the introduction of this new feature. Thanks aaugustin, akaariai, carljm, charettes, mjtamlyn, shaib and timgraham for the reviews.
2013-07-25More migration docs, and conversion of all easy syncdb referencesAndrew Godwin
2013-07-16Fixed #14007 -- Added model discovery in models module without the need to ↵Tim Graham
specify app_label. Thanks mark@ and Aramgutang for work on the patch.
2013-07-12Fixed #20429 -- Added QuerySet.update_or_createKarol Sikora
Thanks tunixman for the suggestion and Loic Bistuer for the review.
2013-07-12Fixed #17528 -- Documented that add() and remove() with a many-to-many ↵Tim Graham
relationship do not call Model.save()
2013-07-12Fixed #20735 -- clarified ManyToManyField constructor docChristopher Medrela
2013-07-05Fixed #20224 -- Update docs examples which mention __unicode__Claude Paroz
Thanks Marc Tamlyn and Tim Graham for the review.
2013-07-05Fixed #20561 -- Emphasized that QuerySet.distinct([*fields]) is only ↵Tim Graham
supported by Postgres. Thanks jtiai for the suggestion.
2013-07-04Fixed #12579 -- Noted QuerySet.get_or_create() depends on database unique ↵Tim Graham
constraints. Thanks timmolendijk, jdunck, vijay_shanker, and loic84.
2013-06-28Removed 'depth' .select_related() argument as per deprecation TL.Ramiro Morales
2013-06-27Docs for related_query_nameAndrew Godwin
2013-06-21Fixed #19881 -- Documented that get_next/previous_by_FOO uses default manager.James Bennett
2013-06-18Fixed #20199 -- Allow ModelForm fields to override error_messages from model ↵Loic Bistuer
fields
2013-05-30Fixed #16856 - Added a way to clear select_related.Tim Graham
Thanks Carl for the suggestion and David Cramer for the patch.
2013-05-28Fixed #20228 - Documented unique_for_date and exclude behavior.Tim Graham
Thanks Deepak Thukral for the patch.
2013-05-27Fixed #16137 - Removed kwargs requirement for QuerySet.get_or_createTim Graham
Thanks wilfred@, poirier, and charettes for work on the patch.
2013-05-27Fix #20505: Typo in BinaryField documentation.Baptiste Mispelon
2013-05-21Slightly reworded 'last()' docs.Selwin Ong
2013-05-21Fixed #19326 -- Added first() and last() methods to QuerySetSelwin Ong
2013-05-19Fixes #18896. Add tests verifying that you can get IntegrityErrors using ↵Pablo Recio
get_or_create through relations like M2M, and it also adds a note into the documentation warning about it
2013-05-19Merge pull request #1129 from frog32/masterMarc Tamlyn
Add needed Imports to the Documentation
2013-05-18Add missing imports and models to the examples in the the model layer ↵Marc Egli
documentation
2013-05-18Merge branch 'allow-any-iterable-for-choices'Donald Stufft
2013-05-18Fixed #20446 -- Documentation for SmallIntegerField does not clarify 'small'Erik Romijn
2013-05-18Fixed #20430 - Enable iterable of iterables for model choicesDonald Stufft
Allows for any iterable, not just lists or tuples, to be used as the inner item for a list of choices in a model.
2013-05-18Fixed #20408 -- Clarified that values_list() doesn't return a list.Aymeric Augustin
Thanks marktranchant, bmispelon, and alextreme.
2013-05-14Merge pull request #1039 from cannona/masterTim Graham
Clarified what unique_for_date considers
2013-05-14Fixing a minor spelling mistake in the queryset documentationWilfred Hughes
2013-05-12Fixed #20397 - Cleaned up issue with quotation marks in documentationSimeon Visser
2013-05-08Fixed test failures on MySQL.Aymeric Augustin
Some tests failed when the time zone definitions were loaded in MySQL and pytz wasn't installed. This setup isn't supported.
2013-05-03Added clarification to the docs, pointing out that unique_for_date only ↵Aaron Cannon
considers the date portion of DateTime fields.
2013-04-20Adapted uses of versionchanged/versionadded to the new form.Juan Catalano
Refs #20104.
2013-04-11Fixed #20243 - Clarified when RelatedManager.remove() exists.Tim Graham
2013-04-11remove confusing phrase from DecimalField docsAndrew Badr
The phrase "if it exists" was used in reference to the `decimal_places` argument to `DecimalField`, when in fact that field is required.
2013-03-24Fixed #15124 -- Changed the default for BooleanField.Aymeric Augustin
Thanks to the many contributors who updated and improved the patch over the life of this ticket.
2013-03-22Added missing markup to docs.Tim Graham