Django

Code

root/django/trunk/django/db/models/base.py


Mode:

Legend:

Added
Modified
Copied or renamed
Rev Chgset Date Author Log Message
(edit) @8932 [8932] 09/03/08 13:38:43 mtredinnick Fixed #7588 -- Inherit fields from concrete ancestor classes via abstract …
(edit) @8908 [8908] 09/03/08 00:53:50 mtredinnick Fixed #8825 -- Fixed a small error model field setup (on the model class) …
(edit) @8855 [8855] 09/02/08 10:26:00 jacob Fixed #8309: subclasses now inherit GenericForeignKey correctly. There's …
(edit) @8851 [8851] 09/02/08 04:04:54 mtredinnick Fixed #7154 -- Inherit all model managers from abstract base classes. Also …
(edit) @8674 [8674] 08/28/08 14:28:31 mtredinnick Removed a couple of unused imports.
(edit) @8616 [8616] 08/27/08 02:19:44 gwilson Removed oldforms, validators, and related code: * Removed Manipulator, …
(edit) @8348 [8348] 08/14/08 10:37:43 gwilson Fixed #8206 -- Removed validate methods of Model and Model fields. They …
(edit) @8291 [8291] 08/10/08 16:10:47 gwilson Fixed #7830 -- Removed all of the remaining, deprecated, non-oldforms …
(edit) @8267 [8267] 08/09/08 12:19:23 mtredinnick Added the ability to force an SQL insert (or force an update) via a …
(edit) @8244 [8244] 08/08/08 15:59:02 jacob File storage refactoring, adding far more flexibility to Django's file …
(edit) @8223 [8223] 08/06/08 10:32:46 jacob Major refactoring of django.dispatch with an eye towards speed. The net …
(edit) @8217 [8217] 08/05/08 12:43:05 jacob Fixed #7683: Try not to delete uploaded files before moving them, and …
(edit) @8185 [8185] 08/01/08 18:16:59 gwilson Fixed #8070 -- Cache related objects passed to Model init as keyword …
(edit) @8046 [8046] 07/21/08 22:24:09 adrian Fixed #7847 -- Removed a whole bunch of unused imports from throughout the …
(edit) @8033 [8033] 07/21/08 20:10:06 jacob Fixed #6755: model inheritance now works in the admin. Thanks, sloonz and …
(edit) @8007 [8007] 07/20/08 07:44:41 russellm Fixed #6450 -- Improved the checking of errors when creating the …
(edit) @7998 [7998] 07/19/08 17:26:32 mtredinnick Reverted [7986]. It turns out that we need to treat filename …
(edit) @7986 [7986] 07/19/08 13:35:11 mtredinnick Fixed #5619 -- Return the same path in get_FOO_filename() before and after …
(edit) @7977 [7977] 07/19/08 02:53:02 russellm Fixed #4412 -- Added support for optgroups, both in the model when …
(edit) @7967 [7967] 07/18/08 18:54:34 brosner Merged the newforms-admin branch into trunk. This is a backward …
(edit) @7955 [7955] 07/18/08 16:45:25 adrian Fixed #7816 -- Fixed error in a few DeprecationWarnings?. Thanks, …
(edit) @7871 [7871] 07/08/08 16:53:38 gwilson Fixed a couple typos as well as several minor style issues.
(edit) @7859 [7859] 07/07/08 18:16:00 jacob Fixed #7614: the quickening has come, and there now is only one …
(edit) @7846 [7846] 07/06/08 06:55:30 mtredinnick Fixed #7621 -- Enable superclassing of the various metaclasses we …
(edit) @7814 [7814] 07/01/08 10:10:51 jacob Fixed #2070: refactored Django's file upload capabilities. A description …
(edit) @7795 [7795] 06/30/08 02:17:18 mtredinnick Fixed #7156 -- Normalise file paths before returning them in models. This …
(edit) @7784 [7784] 06/29/08 04:41:35 mtredinnick Fixed #7276 -- Delete multi-table objects correctly. When model …
(edit) @7777 [7777] 06/28/08 21:35:08 mtredinnick Moved the settings of db_table to Options.contribute_to_class(). Some …
(edit) @7722 [7722] 06/21/08 15:57:05 lukeplant Fixed bug with Model.delete() which did not always delete objects in the …
(edit) @7720 [7720] 06/21/08 11:37:44 lukeplant Removed some unnecessary work in Model._collect_sub_objects()
(edit) @7600 [7600] 06/09/08 09:03:35 russellm Fixed #7350, #7202 -- Fixed serialization for multi-model inheritance, …
(edit) @7526 [7526] 05/13/08 09:56:47 gwilson Fixed #7212 -- Added alters_data attribute to Model.save_base method, …
(edit) @7504 [7504] 04/28/08 20:19:42 mtredinnick Undo [7474]. I didn't think it through nearly carefully enough. This …
(edit) @7477 [7477] 04/26/08 21:50:16 mtredinnick Merged the queryset-refactor branch into trunk. This is a big internal …
(edit) @7132 [7132] 02/18/08 19:59:34 mtredinnick Fixed #2936, #6500 -- Added a hash() method to Models (since we …
(edit) @7116 [7116] 02/15/08 00:40:23 mtredinnick Tweaked [7098] to follow a more duck-typing approach.
(edit) @7109 [7109] 02/13/08 17:28:58 russellm Fixed #6596 -- Corrected minor typo in comment. Thanks, cbmeeks@gmail.com.
(edit) @7098 [7098] 02/08/08 06:01:23 mtredinnick Fixed #6214 -- Added some small optimisations to model class …
(edit) @7054 [7054] 02/01/08 11:32:29 gwilson Fixed #5422 -- Added a raw parameter to model pre_save and post_save
(edit) @6838 [6838] 12/02/07 12:21:07 mtredinnick Fixed #3511 -- Changed QuerySet?.get() to return a MultipleObjectsReturned?
(edit) @6732 [6732] 11/29/07 10:32:09 mtredinnick Fixed #3291 -- Allow calling get_absolute_url() with extra positional …
(edit) @6346 [6346] 09/15/07 20:57:25 mtredinnick Fixed #3703 -- Added pk property to models. Thanks, Collin Grady and …
(edit) @6269 [6269] 09/15/07 04:14:51 mtredinnick Fixed #4879 -- Added 'created' arg to post_save signal. This is True is a …
(edit) @6200 [6200] 09/14/07 13:36:04 jacob Fixed #5448: you can now use unicode characters in primary keys. Thanks, …
(edit) @6187 [6187] 09/14/07 08:56:36 mtredinnick Fixed #1760 -- Unwound a subselect in an update for order_with_respect_to …
(edit) @5975 [5975] 08/19/07 21:28:40 adrian Removed a bunch of legacy django.db.backend imports
(edit) @5967 [5967] 08/19/07 20:03:33 adrian Refactored quote_name() to DatabaseOperations?.quote_name(). Refs #5106
(edit) @5961 [5961] 08/19/07 18:59:06 adrian Refactored get_pk_default_value() to …
(edit) @5958 [5958] 08/19/07 18:18:43 adrian Refactored get_last_insert_id() to DatabaseOperations?.last_insert_id(). …
(edit) @5934 [5934] 08/18/07 22:23:31 mtredinnick Tweaked the unset primary key check from [5933] to accommodate models …
(edit) @5933 [5933] 08/18/07 02:40:59 mtredinnick Fixed #5102 -- Fixed model saving so that 0 can be used as a primary key …
(edit) @5883 [5883] 08/13/07 22:26:42 adrian Removed 'LIMIT 1' from the [5882] change, as it's not supported by Oracle
(edit) @5882 [5882] 08/13/07 16:42:37 adrian Fixed #5030 -- Removed 'COUNT()' from Model.save() when determining …
(edit) @5658 [5658] 07/12/07 02:45:35 russellm Fixed #4459 -- Added 'raw' argument to save method, to override any …
(edit) @5609 [5609] 07/04/07 07:11:04 mtredinnick Merged Unicode branch into trunk (r4952:5608). This should be …
(edit) @5519 [5519] 06/23/07 09:16:00 mtredinnick Merged boulder-oracle-sprint branch (r3965:5512) back into trunk. …
(edit) @5163 [5163] 05/07/07 21:56:18 mtredinnick Fixed #4144 -- Only check sys.modules when required during Model …
(edit) @4893 [4893] 04/01/07 00:25:03 adrian Negligible comment formatting change in django/db/models/base.py (from …
(edit) @4881 [4881] 03/31/07 07:02:37 mtredinnick Fixed #2363 -- Improved base class checking in ModelBase? metaclass. Thanks …
(edit) @4609 [4609] 02/26/07 11:17:11 jacob Objects with FileFields? no longer get save() called multiple times from …
(edit) @4607 [4607] 02/26/07 03:06:23 mtredinnick Fixed #2363 -- Fixed subclass checking in ModelBase? to allow for …
(edit) @4598 [4598] 02/26/07 00:21:24 jacob Cleaned up comments from [4597] to be a bit more clear.
(edit) @4597 [4597] 02/26/07 00:16:19 jacob Fixed #3438: improved the speed of Model.init (about 1/3 faster, it …
(edit) @4463 [4463] 02/07/07 16:56:53 russellm Fixes #3447, Refs #2160 -- Reverting change [4459] because it breaks …
(edit) @4459 [4459] 02/03/07 18:54:30 russellm Fixed #2160 -- Modified object save logic to check for pk is None, …
(edit) @4265 [4265] 12/30/06 00:25:49 adrian Fixed #3191 -- Set 'svn:eol-style native' on the files that didn't have …
(edit) @3963 [3963] 11/02/06 20:14:46 russellm Removed fossilized remnant of pre-magic removal m2m code. Thanks for the …
(edit) @3548 [3548] 08/09/06 22:55:03 mtredinnick Fixed #2512 -- Fixed SQL error when saving existing empty models.
(edit) @3490 [3490] 07/29/06 16:04:41 mtredinnick Seed the global app cache in a call to db.models.get_model() except when …
(edit) @3414 [3414] 07/21/06 15:39:17 jacob Second half of little cleanup tweaks suggested by pyflakes.
(edit) @3279 [3279] 07/06/06 08:25:12 mtredinnick Fixed another problem where we were creating a class twice via two …
(edit) @3274 [3274] 07/04/06 01:44:01 russellm Trivial indentation fix.
(edit) @3220 [3220] 06/27/06 20:16:32 adrian Fixed #2196 -- Fixed AttributeError? in method_set_order. Thanks, fonso
(edit) @3212 [3212] 06/26/06 11:20:58 mtredinnick Fixed another path where imports were creating two instances of a …
(edit) @3168 [3168] 06/19/06 23:12:27 adrian Fixed #1964 -- Fixed bug in fetching the dimensions of an ImageField?. …
(edit) @3157 [3157] 06/19/06 21:17:14 mtredinnick Fixed #1857 -- Fixed get_previous_by_FIELD and get_next_by_FIELD to …
(edit) @3145 [3145] 06/18/06 21:34:32 mtredinnick Fixed #1683 -- Permit initialising models using settable properties as …
(edit) @3130 [3130] 06/15/06 06:28:28 mtredinnick Fixed #2164 -- Create correct SQL when pk column name is not the same as …
(edit) @3118 [3118] 06/12/06 07:49:14 mtredinnick Fixed the empty model saving case so that it retrieves the primary key id. …
(edit) @3115 [3115] 06/08/06 10:14:06 mtredinnick Fixed #2108 -- allow saving of empty models, rather than just dropping …
(edit) @3104 [3104] 06/07/06 19:13:52 mtredinnick Fixed #2108 -- do not try to save an empty model.
(edit) @3046 [3046] 06/01/06 10:01:22 adrian Fixed bug in Model._get_next_or_previous_in_order()
(edit) @3002 [3002] 05/29/06 12:08:58 lukeplant Fixed #1584 - auto_now_add fields now work when saving multiple times.
(edit) @2970 [2970] 05/23/06 14:55:30 lukeplant Fixed bug with Meta.ordering being ignored when slicing a single item off …
(edit) @2947 [2947] 05/19/06 04:41:40 mtredinnick Fixed #1901 -- removed typos from calls to _get_image_dimensions …
(edit) @2903 [2903] 05/14/06 19:15:20 mtredinnick Fixed #1858 : typo in get_FIELD_size() method. Thanks, tom@jerakeen.org.
(edit) @2893 [2893] 05/10/06 11:10:07 adrian Added Model.str() default fallback, and changed Model.repr() to …
(edit) @2859 [2859] 05/06/06 13:46:53 lukeplant Made QuerySet? slicing return IndexError? instead of DoesNotExist? (and …
(edit) @2839 [2839] 05/04/06 21:59:58 adrian Fixed #1729 -- Changed get_FIELD_filename() to return an empty string when …
(copy) @2809 [2809] 05/01/06 20:31:56 adrian MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly …
copied from django/branches/magic-removal/django/db/models/base.py:
(edit) @2768 [2768] 04/28/06 14:40:22 lukeplant magic-removal: Removed unused function parameter in …
Note: See TracRevisionLog for help on using the revision log.