summaryrefslogtreecommitdiff
path: root/django/db/models/base.py
AgeCommit message (Expand)Author
2007-12-02Fixed #3511 -- Changed QuerySet.get() to return a MultipleObjectsReturned exc...Malcolm Tredinnick
2007-11-29Fixed #3291 -- Allow calling get_absolute_url() with extra positional andMalcolm Tredinnick
2007-09-16Fixed #3703 -- Added pk property to models. Thanks, Collin Grady and jeromie@...Malcolm Tredinnick
2007-09-15Fixed #4879 -- Added 'created' arg to post_save signal. This is True is a new...Malcolm Tredinnick
2007-09-14Fixed #5448: you can now use unicode characters in primary keys. Thanks, pigl...Jacob Kaplan-Moss
2007-09-14Fixed #1760 -- Unwound a subselect in an update for order_with_respect_to han...Malcolm Tredinnick
2007-08-20Removed a bunch of legacy django.db.backend importsAdrian Holovaty
2007-08-20Refactored quote_name() to DatabaseOperations.quote_name(). Refs #5106Adrian Holovaty
2007-08-19Refactored get_pk_default_value() to DatabaseOperations.pk_default_value(). R...Adrian Holovaty
2007-08-19Refactored get_last_insert_id() to DatabaseOperations.last_insert_id(). Refs ...Adrian Holovaty
2007-08-19Tweaked the unset primary key check from [5933] to accommodate models created...Malcolm Tredinnick
2007-08-18Fixed #5102 -- Fixed model saving so that 0 can be used as a primary key valu...Malcolm Tredinnick
2007-08-14Removed 'LIMIT 1' from the [5882] change, as it's not supported by OracleAdrian Holovaty
2007-08-13Fixed #5030 -- Removed 'COUNT()' from Model.save() when determining whether a...Adrian Holovaty
2007-07-12Fixed #4459 -- Added 'raw' argument to save method, to override any pre-save ...Russell Keith-Magee
2007-07-04Merged Unicode branch into trunk (r4952:5608). This should be fullyMalcolm Tredinnick
2007-06-23Merged boulder-oracle-sprint branch (r3965:5512) back into trunk. AllMalcolm Tredinnick
2007-05-08Fixed #4144 -- Only check sys.modules when required during Model classMalcolm Tredinnick
2007-04-01Negligible comment formatting change in django/db/models/base.py (from [4881])Adrian Holovaty
2007-03-31Fixed #2363 -- Improved base class checking in ModelBase metaclass. Thanks toMalcolm Tredinnick
2007-02-26Objects with FileFields no longer get save() called multiple times from the A...Jacob Kaplan-Moss
2007-02-26Fixed #2363 -- Fixed subclass checking in ModelBase to allow for mixinMalcolm Tredinnick
2007-02-26Cleaned up comments from [4597] to be a bit more clear.Jacob Kaplan-Moss
2007-02-26Fixed #3438: improved the speed of Model.__init__ (about 1/3 faster, it appea...Jacob Kaplan-Moss
2007-02-07Fixes #3447, Refs #2160 -- Reverting change [4459] because it breaks admin. A...Russell Keith-Magee
2007-02-04Fixed #2160 -- Modified object save logic to check for ``pk is None``, rather...Russell Keith-Magee
2006-11-03Removed fossilized remnant of pre-magic removal m2m code. Thanks for the repo...Russell Keith-Magee
2006-08-10Fixed #2512 -- Fixed SQL error when saving existing empty models.Malcolm Tredinnick
2006-07-29Seed the global app cache in a call to db.models.get_model() except when we areMalcolm Tredinnick
2006-07-21Second half of little cleanup tweaks suggested by pyflakes.Jacob Kaplan-Moss
2006-07-06Fixed another problem where we were creating a class twice via two importMalcolm Tredinnick
2006-07-04Trivial indentation fix.Russell Keith-Magee
2006-06-28Fixed #2196 -- Fixed AttributeError in method_set_order. Thanks, fonsoAdrian Holovaty
2006-06-26Fixed another path where imports were creating two instances of a model'sMalcolm Tredinnick
2006-06-20Fixed #1964 -- Fixed bug in fetching the dimensions of an ImageField. Thanks,...Adrian Holovaty
2006-06-20Fixed #1857 -- Fixed get_previous_by_FIELD and get_next_by_FIELD to workMalcolm Tredinnick
2006-06-19Fixed #1683 -- Permit initialising models using settable properties as well asMalcolm Tredinnick
2006-06-15Fixed #2164 -- Create correct SQL when pk column name is not the same as theMalcolm Tredinnick
2006-06-12Fixed the empty model saving case so that it retrieves the primary key id. AlsoMalcolm Tredinnick
2006-06-08Fixed #2108 -- allow saving of empty models, rather than just dropping them.Malcolm Tredinnick
2006-06-08Fixed #2108 -- do not try to save an empty model.Malcolm Tredinnick
2006-06-01Fixed bug in Model._get_next_or_previous_in_order()Adrian Holovaty
2006-05-29Fixed #1584 - auto_now_add fields now work when saving multiple times.Luke Plant
2006-05-23Fixed bug with Meta.ordering being ignored when slicing a single item off a Q...Luke Plant
2006-05-19Fixed #1901 -- removed typos from calls to _get_image_dimensions andMalcolm Tredinnick
2006-05-15Fixed #1858 : typo in get_FIELD_size() method. Thanks, tom@jerakeen.org.Malcolm Tredinnick
2006-05-10Added Model.__str__() default fallback, and changed Model.__repr__() to embed...Adrian Holovaty
2006-05-06Made QuerySet slicing return IndexError instead of DoesNotExist (and related ...Luke Plant
2006-05-05Fixed #1729 -- Changed get_FIELD_filename() to return an empty string when fi...Adrian Holovaty
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompa...Adrian Holovaty