Adrian Holovaty
|
299c3cdd8c
|
Fixed small bug in manipulator handling of one-to-one-related foreign keys
git-svn-id: http://code.djangoproject.com/svn/django/trunk@572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-29 16:49:18 +00:00 |
Adrian Holovaty
|
2ce78063fa
|
Fixed bug in metasystem manipulator_validator_unique_for_date(), related to [549]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-29 16:44:40 +00:00 |
Adrian Holovaty
|
25aef18d83
|
Fixed bug in metasystem method_get_next_in_order and method_get_previous_in_order, related to [549]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-29 15:35:04 +00:00 |
Adrian Holovaty
|
25264c8604
|
Fixed #122 -- BIG, BACKWARDS-INCOMPATIBLE CHANGE. Changed model syntax to use fieldname=FieldClass() syntax. See ModelSyntaxChangeInstructions for important information on how to change your models
git-svn-id: http://code.djangoproject.com/svn/django/trunk@549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-25 22:51:30 +00:00 |
Adrian Holovaty
|
e5e1ea602d
|
Fixed #350 -- 'offset' DB API parameter now works in MySQL 3. Tests from [540] pass. Thanks, ronan@cremin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-19 21:51:14 +00:00 |
Adrian Holovaty
|
c727729183
|
Changed meta.py save() code from [507] to work under sqlite. All tests now pass in all 3 database backends.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 20:03:34 +00:00 |
Adrian Holovaty
|
27986994ee
|
Fixed #320 -- Changed save() code so that it doesn't rely on cursor.rowcount. MySQLdb sets cursor.rowcount to 0 in an UPDATE statement even if the record already exists. Now save() does a SELECT query to find out whether a record with the primary key already exists.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 16:00:28 +00:00 |
Adrian Holovaty
|
4a7159865e
|
Improved error handling for invalid model parameters that aren't custom functions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 04:44:19 +00:00 |
Adrian Holovaty
|
199938649e
|
Fixed #81 -- Admin now supports primary_key=True for non-integer fields. Note that you'll have to make a change to your database if you're using a previous Django installation and want to use non-integer primary key fields. See the BackwardsIncompatibleChanges wiki page for info.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 19:32:38 +00:00 |
Adrian Holovaty
|
4622e0ff82
|
Refactored the way save() works so that non-integer primary keys are now possible. custom_pk unit tests (from [458]) now pass. Refs #81.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 05:08:27 +00:00 |
Adrian Holovaty
|
5b812ae02c
|
Undid [455] -- it's not a good enough solution for what I'm trying to do
git-svn-id: http://code.djangoproject.com/svn/django/trunk@457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 03:50:46 +00:00 |
Adrian Holovaty
|
6d234fae8c
|
Slightly refactored metasystem -- changed Field pre_save() hooks to pre_save_add(), in preparation for some bigger changes. Refs #81.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 03:44:51 +00:00 |
Adrian Holovaty
|
258e6bc330
|
Simplified metasystem get_db_prep_save() hook so that it doesn't take an 'add' parameter -- it wasn't being used, anyway.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 03:12:37 +00:00 |
Adrian Holovaty
|
991832d0c4
|
Fixed #154 -- Fixed constraint error when deleting an object with a many-to-many field
git-svn-id: http://code.djangoproject.com/svn/django/trunk@447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 00:21:41 +00:00 |
Adrian Holovaty
|
4f00611f74
|
Fixed #211 -- edit_inline_type is deprecated, in favor of edit_inline itself. For example, instead of 'edit_inline=True, edit_inline_type=meta.TABULAR', use 'edit_inline=meta.TABULAR'.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-09 21:08:00 +00:00 |
Adrian Holovaty
|
a90e9f43db
|
Companion checkin to [432]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-08 18:30:07 +00:00 |
Adrian Holovaty
|
808e50986b
|
Fixed #257 -- Empty model modules no longer cause an error. Thanks, Bill de hÓra
git-svn-id: http://code.djangoproject.com/svn/django/trunk@397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-04 03:32:56 +00:00 |
Adrian Holovaty
|
e0c3dd3318
|
Refactored meta.py -- created a django.core.meta package, with init.py and fields.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-01 21:29:52 +00:00 |