Adrian Holovaty
|
7a80b2cc98
|
Fixed bug for OneToOneFields in the admin -- the manipulator_validator_unique wasn't doing the correct lookup
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-21 01:39:18 +00:00 |
Adrian Holovaty
|
d778326c52
|
Gave EmailField a get_internal_type() method and removed it from DATA_TYPES in all the database backends
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-20 22:41:41 +00:00 |
Adrian Holovaty
|
2ef937d0fd
|
Fixed #683 -- Lightly refactored meta.fields.Field to add an attname attribute.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-09 23:37:41 +00:00 |
Adrian Holovaty
|
181ee4ae31
|
Added meta.Admin list_select_related option, which specifies to use select_related in the change-list query
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-05 18:14:17 +00:00 |
Jacob Kaplan-Moss
|
5cf8f68423
|
Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: this means that the i18n branch is now obsolete and will be made read-only.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-04 04:59:46 +00:00 |
Adrian Holovaty
|
539e53ccf1
|
Fixed #317 -- SlugField now accepts hyphens. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-20 04:20:52 +00:00 |
Adrian Holovaty
|
5f9fe6d403
|
Fixed #589 -- Added FilePathField. It's available as an ORM field and as a standalone field in django.core.formfields. Thanks, jay@skabber.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-12 04:14:21 +00:00 |
Adrian Holovaty
|
d93c68ab5f
|
Fixed #586 -- Fixed bug in raw_id_admin caused by [785]. Thanks for the heads-up, slashzero
git-svn-id: http://code.djangoproject.com/svn/django/trunk@800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-07 23:39:06 +00:00 |
Adrian Holovaty
|
9fe02e6b65
|
Made raw_id_admin work with non-integer primary keys
git-svn-id: http://code.djangoproject.com/svn/django/trunk@790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-06 14:43:07 +00:00 |
Adrian Holovaty
|
c1a16d54b0
|
Fixed #553 -- Added django.core.meta.fields.Field.get_internal_type() hook, for creating custom meta.Field subclasses. Thanks, wojtek3
git-svn-id: http://code.djangoproject.com/svn/django/trunk@713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-28 23:08:47 +00:00 |
Jacob Kaplan-Moss
|
526de4987a
|
Fixed "unique" validator for fields with relations.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-15 16:54:46 +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
|
f5ab1320ed
|
Fixed bug in manipulator_valid_rel_key() -- it assumed the related object's primary key was called 'id'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-17 22:46:43 +00:00 |
Adrian Holovaty
|
f21ff30b10
|
Small formatting change to validation error in [516], to be consistent with other validation errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-16 18:28:00 +00:00 |
Jacob Kaplan-Moss
|
7d374ad597
|
Added raw_id_admin support to ManyToManyField objects; fixes #260
git-svn-id: http://code.djangoproject.com/svn/django/trunk@516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-16 18:08:37 +00:00 |
Adrian Holovaty
|
bc00059b2f
|
Fixed #316 -- Added special-case for MySQL microseconds, so that it doesn't throw a warning when microseconds are given.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 01:03:39 +00:00 |
Adrian Holovaty
|
8d8da826db
|
Changed timestamp and time typecasting to preserve microseconds. Added unit tests to test this behavior, and added a db_typecast unit test module. Refs #306.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-11 19:34:34 +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
|
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
|
0b9330b085
|
Changed default ManyToOne num_in_admin from 0 to 3, to help avoid confusion when people forget to set num_in_admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-05 15:05:16 +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 |