Malcolm Tredinnick
a90320032e
Fixed #8715 -- Updated Finnish translation from Ville Säävuori.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 17:52:31 +00:00
Malcolm Tredinnick
b08ee75dc1
Fixed #8708 -- Updated Arabic translation from Ossama M. Khayat.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 17:52:11 +00:00
Malcolm Tredinnick
e47f5731be
Fixed #8707 -- Updated Macedonian translation from Georgi Stanojevski.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 17:51:48 +00:00
Malcolm Tredinnick
fd0cc45828
[8721] introduced some internal field names. We hide them from the list of
...
valid field names in debugging output so that it doesn't confuse things.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8730 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 04:52:56 +00:00
Malcolm Tredinnick
c60e22c073
Fixed #8699 -- Updated Hungarian translation from Szilveszter Farkas.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 03:12:58 +00:00
Malcolm Tredinnick
cc971910a9
Changed [8727] to use ImportError, which seems to actually work. Not sure what
...
I was smoking when I tested this 10 minutes ago. Refs #8680 . Thanks to gkelly
for cleaning up after me.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 23:03:12 +00:00
Malcolm Tredinnick
4184d6348e
Fixed #8680 -- Changed a couple of GEOExceptions to Python's RuntimeError so
...
that help() works. Without this change, even if you didn't use the gis stuff,
just using Python 2.5's help() system would crash when searching for model
names.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 22:51:01 +00:00
Malcolm Tredinnick
b2dd9c6fa1
Fixed a few of the msgid (untranslated strings) encodings in the French
...
translation. Not sure why they weren't properly UTF-8 encoded originally.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 22:37:22 +00:00
Malcolm Tredinnick
fb041b1620
Another French update from David Larlet. Fixed #8661 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 22:34:05 +00:00
Malcolm Tredinnick
51836756d0
Fixed a typo from the refactoring in [8455]. With bonus test, too. Thanks, vung.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8724 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 22:29:38 +00:00
Malcolm Tredinnick
38362a1276
Fixed a missing piece of [8721].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 21:48:40 +00:00
Malcolm Tredinnick
f3e088d2d9
Fixed #8697 -- Updated Norwegian translation from Jon Lønne.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 21:41:50 +00:00
Malcolm Tredinnick
f04123f4df
Fixed #8279 -- Multiple many-to-many relations to "self" are now possible.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8721 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 21:24:00 +00:00
Jacob Kaplan-Moss
ae953a8c4e
Fixed #8673 : fixed a missing import in `django.core.files.move`.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 20:00:55 +00:00
Brian Rosner
5c31c68560
Properly reference FieldDoesNotExist as it does not exist in global of django/contrib/admin/options.py.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 19:50:22 +00:00
Jacob Kaplan-Moss
21adbd6738
Fixed #7466 : do a better job figuring out links from the admin docs into the rest of the admin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 19:29:16 +00:00
Jacob Kaplan-Moss
0871ff2c9c
Fixed #7810 : added named URLs for admin docs, and use them in the admin base template. Thanks, MattBowen.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 19:28:53 +00:00
Jacob Kaplan-Moss
c068bc184c
Merge branch 'url-tag-asvar'
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 19:28:03 +00:00
Jacob Kaplan-Moss
2ca8cf3628
Fixed #8653 : make formtools' security hash more rubust. Silly that I didn't think of this before; thanks to bthomas for providing the obvious fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 19:15:34 +00:00
Malcolm Tredinnick
71076ae299
Fixed some edge-case error handling from [8699]. Thanks, gkelly.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 18:12:31 +00:00
Malcolm Tredinnick
ef7f61a35e
Fixed #8541 -- An attempt at translating the technical messages IDs for zh_CN from garcia_marc.
...
This fixes the obvious problem, but a full translation update is needed from a
Chinese speaker here.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 18:09:10 +00:00
Malcolm Tredinnick
f2fd577bd5
Fixed #8689 -- Updated Russian translation from Grigory Fateyev.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 17:49:22 +00:00
Malcolm Tredinnick
8f0bdb1468
Fixed #8685 -- Updated Portugese translation from Nuno Mariz.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 17:49:05 +00:00
Malcolm Tredinnick
0e9ba0af36
Updated French translation from David Larlet and Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 17:48:28 +00:00
Brian Rosner
d57d490b76
Fixed #7918 -- Allow the foreign key in an inline to be any where in the parent chain. Thanks sil for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 17:41:40 +00:00
Malcolm Tredinnick
3717e3bba3
Reverted #8688 for now, since it merely introduced different bugs, rather than
...
fixing the problem. We have a plan B (and plan C, if needed), so this will be
fixed in a different way.
Refs #8616 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 17:32:21 +00:00
Jacob Kaplan-Moss
6a8dcafb57
Fixed #8278 : fixed `QueryDict.update(QueryDict)`. Thanks, julien.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 16:49:19 +00:00
Brian Rosner
cd0b65bcf7
Fixed #7982 -- Corrected ModelAdmin url dispatching to ensure it matching exactly what it needs and doesn't stomp on primary key space. 'add' is a lost cause for now. This originated from #6470 . Thanks jdetaeye for the original patch and basith for providing test cases.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 16:46:46 +00:00
Nicola Larosa
8cfecbd748
Italian translation, again: darned KBabel...
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 16:31:00 +00:00
Nicola Larosa
d95466b7a0
Italian translation updated (apparently, even string freezes are subject
...
to global warming, lately...)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 16:28:52 +00:00
Jacob Kaplan-Moss
15416a9016
Fixed #7881 : Support `__in` lookups in `limit_choices_to` and `raw_id_admin`. Thanks, jamesturk.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 16:13:17 +00:00
Jacob Kaplan-Moss
21928f2ba0
Fixed #7738 : support initial values via `GET` for `SelectMutliple` in the admin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 16:09:29 +00:00
Brian Rosner
89ccbabbfc
When a form in the admin has no fields prevent failure.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 16:07:19 +00:00
Jacob Kaplan-Moss
b5da9e8b2d
Fixed #8687 , a bad variable name in validation. Thanks, vung.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 15:45:23 +00:00
Jarek Zgoda
7f055554e0
Fixed #8665 - Polish translations update. Thanks, Piotr Lewandowski.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8696 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 06:53:02 +00:00
Malcolm Tredinnick
e66b0ae576
Updated Japanese translation from Takashi Matsuo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 04:30:19 +00:00
Malcolm Tredinnick
90279aeaf0
Fixed #8575 -- Catch one particular instance of OperationalError in MySQL and
...
convert it to an IntegrityError, which seems like the more natural case (and is
consistent with other backends). This makes exception handling in Django much
easier.
The solution is extensible for any other error codes we may wish to add going
forwards.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 04:30:07 +00:00
Malcolm Tredinnick
54f41e3507
Fixed #8101 -- Allow the strings '1' and '0' as filter values for boolean
...
fields (the latter was causing problems). This allows these values in URLs
(e.g. the admin filtering).
Not an ideal solution to the problem, but will do the job for the time being.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 02:40:56 +00:00
Malcolm Tredinnick
a1d2f6ef0c
Fixed #7823 -- Fixed an edge case in RelatedField.get_db_prep_lookup() so that
...
it works correctly with custom field subclasses. Patch from Ivan Sagalaev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 02:40:50 +00:00
Malcolm Tredinnick
02f86a1c7c
Fixed #8616 -- Fixed a race condition in the file-based session backend.
...
Thanks to warren@wandrsmith.net for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 01:44:11 +00:00
Marc Fargas
6e841ca767
Updated catalan translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 22:59:23 +00:00
Marc Fargas
e3b178ede3
Updated Spanish translation.
...
The Last-Translator and Language-Team fields have been shortened to avoid
further wrapping by gettext.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 22:58:19 +00:00
Jacob Kaplan-Moss
fc2978cc45
Fixed a bug in `NullBooleanField.to_python`.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 21:23:21 +00:00
Jannis Leidel
8d8236385f
Updated German translation, yay.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8683 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 21:02:05 +00:00
Jacob Kaplan-Moss
a41ca9c9e2
Fixed #8556 : added a useful formfield to `CommaSeparatedIntegerField`. gkelly, mattmcc, and kratorius all contributed portions of this patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 20:58:10 +00:00
Jacob Kaplan-Moss
fe8e00ae06
Fixed #8194 : `AdminForm.first_field` now correctly returns the first field when using custom field orders.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 20:48:59 +00:00
Jacob Kaplan-Moss
503fda43fa
Fixed #8654 : added `ugettext_lazy` to `django.utils.translation.__all__`.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 20:20:40 +00:00
Jacob Kaplan-Moss
0c66bac4f3
Marked a handful of missed strings for translation. Fixes #8644 , #8617 , and #8610 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 20:17:31 +00:00
Ludvig Ericson
9348c118da
Updated all Swedish translations.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 19:54:43 +00:00
Jacob Kaplan-Moss
7b65302567
Fixed #8608 : corrected doc link in comment 400 error page.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 19:46:33 +00:00
Jacob Kaplan-Moss
9f59fc5560
Fixed #8651 : correctly deserialize objects with 0 for pk/fk.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 19:38:56 +00:00
Malcolm Tredinnick
195420259a
Fixed #8403 -- Changed the use of fcntl.flock() to fcntl.lockf(). On some
...
systems, this will ensure fnctl-based file locking is always used, which means
locking of NFS-mounted files should work.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 19:28:45 +00:00
Malcolm Tredinnick
f96b1249ce
Removed a couple of unused imports.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 19:28:31 +00:00
Malcolm Tredinnick
65c0846c45
Updated a few save() methods on models to accept force_insert and force_update
...
parameters. Required as a consequence of [8670] (so they can be used with
create()).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 19:28:17 +00:00
Jacob Kaplan-Moss
a46d3ebfcc
Fixed #8221 : added some better `NoReverseMatch` error strings. Thanks, mrts.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 19:05:14 +00:00
Malcolm Tredinnick
10244d1c04
Fixed #8645 -- Updated Dutch translation from Rudolph Froger.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 17:26:16 +00:00
Malcolm Tredinnick
c181734fa1
Changed create() and get_or_create() to force an insert (not update an existing value).
...
Backwards incompatible if you are using manually-specific primary key values
and relying on the previously documented behaviour that the new values would
always exist in the database (i.e. it would update the existing entry).
Fixed #8419 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 17:18:05 +00:00
Jacob Kaplan-Moss
82179ccbbb
Fixed #8637 : fixed timeuntil and date values.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 16:31:50 +00:00
Jacob Kaplan-Moss
fc6649092a
Fixed an inconsistancy in redirects with `META['SERVER_PORT']` being either a string or an int.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 16:18:32 +00:00
Malcolm Tredinnick
fc1fbf614f
Removed a comment from the top of the Hungarian translation to avoid any
...
potential confusion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 16:15:44 +00:00
Jacob Kaplan-Moss
3d577febc7
Fixed #7524 : allow errors raised during import of a urlconf to bubble up.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 16:14:13 +00:00
Jacob Kaplan-Moss
1a40498da4
FIxed #8613 : removed vestigal `FileField.save_file()`. Thanks, kratorius.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 16:05:09 +00:00
Jacob Kaplan-Moss
b31568aed3
Fixed #8027 : correctly validate fields/fieldsets in `ModelAdmin` validation when using custom `ModelForm`s.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 15:43:04 +00:00
Jacob Kaplan-Moss
b99cc935eb
Fixed #7753 : clean `NullBooleanField` correctly when using `HiddenInput`. Thanks to julien and ElliottM.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 15:06:18 +00:00
Marc Fargas
938f7ea913
Updated Macedonian translation, thanks Georgi Stanojevski
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 13:57:37 +00:00
Russell Keith-Magee
229f2c1ca0
Fixed #8636 : Corrected the test client to use the string '80' in the request META, rather than the integer 80. Thanks to Adam Lofts for the report and fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 11:52:50 +00:00
Marc Fargas
a0dd9ecdd8
Fixed #8624 , Updated Hungarian translation, Thanks Szilveszter Farkas.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 07:18:28 +00:00
Malcolm Tredinnick
21672c26bf
Fixed #8592 -- Fixed a bug in the way savepoint usage was disabled for
...
PostgreSQL < 8.0.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 06:49:00 +00:00
Nicola Larosa
59607bb1c1
Italian translation: no real string changes, just run makemessages again
...
to shorten long lines (compilemessages too, for completeness)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 06:00:08 +00:00
Malcolm Tredinnick
71dda19184
Fixed #8597 -- Allow the use of strings containing underscores and percentage
...
signs in "iexact" queries on PostgreSQL again (this case was missed in [8536]).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 05:42:05 +00:00
Malcolm Tredinnick
f749b84824
Fixed #8625 -- Updated Hebrew translation from Meir Kriheli.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 05:16:48 +00:00
Malcolm Tredinnick
4cd03ef5d9
Improvements to [8608] to fix an infinite loop (for exclude(generic_relation)).
...
Also comes with approximately 67% less stupidity in the table joins for
filtering on generic relations.
Fixed #5937 , hopefully for good, this time.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 05:00:23 +00:00
Jacob Kaplan-Moss
1abfb1df19
Fixed #8276 : corrected another couple of names in localflavor.pl.forms. Patch by Piotr Lewandowski.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 23:05:25 +00:00
Jacob Kaplan-Moss
08024e9503
Fixed #8601 : a small typo in comment views.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 22:55:10 +00:00
Jacob Kaplan-Moss
1106c558b1
Fixed #8544 : correctly cast `Comment.object_pk` to string when doing lookups. This really only papers over a bigger problem related to casting the RHS of GFKs, but that larger change can wait for a more systematic fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 22:51:24 +00:00
Jacob Kaplan-Moss
ff420b4364
Fixed #8454 : added a FILE_UPLOAD_PERMISSIONS setting to control the permissoin of files uploaded by the built-in file storage system. Thanks, dcwatson.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 22:21:14 +00:00
Jacob Kaplan-Moss
f58217cc02
Fixed #8455 : a lack of permissions in `MEDIA_ROOT` no longer causes an infinite loop when saving files. Thanks, carljm.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 21:44:14 +00:00
Jacob Kaplan-Moss
52672f2b94
Fixed #8534 : getting the size of a file no longer opens it (at least for the built-in file-system storage). Thanks, snaury.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 21:30:47 +00:00
Jacob Kaplan-Moss
8943a857a7
Fixed #8175 : don't open files we're about to close. This was a pesky bug to track down; thanks to charmless for tracking it down.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8637 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 21:18:45 +00:00
Jacob Kaplan-Moss
c33aeaa082
FIxed #8156 : `UploadedFile.__repr__` now returns a string, a good `__repr__` should.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8636 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 20:53:02 +00:00
Jacob Kaplan-Moss
40e5cde1c5
Fixed #7379 : fixed a subtle corner case involving URL encoding in `CommonMiddleware`
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 20:29:58 +00:00
Jacob Kaplan-Moss
615ed20006
Fixed #7769 : Added a couple missing file methods to `TemporaryUploadedFile`. Thanks, Mads Sülau Jørgensen.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 20:29:45 +00:00
Jacob Kaplan-Moss
887f778794
Fixed #8287 : the debug page now shows the actual requested URL even if you've messed with request.path. Patch from Giuliani Vito Ivan.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 19:59:29 +00:00
Brian Rosner
d441a758de
Corrected a couple of typos in docstrings of methods in BaseFormSet.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 15:39:00 +00:00
Marc Fargas
4848d4cbe6
Typo in spanish .po file
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 13:41:34 +00:00
Marc Fargas
453e9ae4ac
Updated Spanish translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 13:38:04 +00:00
Marc Fargas
35f4bdc7a0
Catalan translation up-to-date
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 13:15:28 +00:00
Russell Keith-Magee
c91cdbddcb
Bumped version number for 1.0 Beta 2 release.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 12:18:02 +00:00
Malcolm Tredinnick
ee28560997
Fixed #8311 -- Avoid an infinite loop with session key generation when using
...
the cache backend and memcached goes away (or is not running).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 08:58:51 +00:00
Nicola Larosa
b80db03ca7
Italian translation updated, a few strings improved.
...
Thanks to Nicola Murino for the original patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 08:51:35 +00:00
Malcolm Tredinnick
7e9a22aae7
Fixed #7289 -- Made ModelForms behave like Forms in the sense that Field
...
objects don't appear as attributes on the final form instance. They continue to
appear as elements of the form_instance.fields mapping.
If you were relying on ModelForms having fields as attributes, then this will
be slightly backwards incompatible. However, normal template usage will see no
change at all.
Patch from Daniel Pope.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 08:05:59 +00:00
Malcolm Tredinnick
ec8848dad5
Fixed #8589 -- Fixed the URL for the logout link on the app_index page in admin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 07:27:09 +00:00
Gary Wilson Jr
c2ba59fc1d
Removed oldforms, validators, and related code:
...
* Removed `Manipulator`, `AutomaticManipulator`, and related classes.
* Removed oldforms specific bits from model fields:
* Removed `validator_list` and `core` arguments from constructors.
* Removed the methods:
* `get_manipulator_field_names`
* `get_manipulator_field_objs`
* `get_manipulator_fields`
* `get_manipulator_new_data`
* `prepare_field_objs_and_params`
* `get_follow`
* Renamed `flatten_data` method to `value_to_string` for better alignment with its use by the serialization framework, which was the only remaining code using `flatten_data`.
* Removed oldforms methods from `django.db.models.Options` class: `get_followed_related_objects`, `get_data_holders`, `get_follow`, and `has_field_type`.
* Removed oldforms-admin specific options from `django.db.models.fields.related` classes: `num_in_admin`, `min_num_in_admin`, `max_num_in_admin`, `num_extra_on_change`, and `edit_inline`.
* Serialization framework
* `Serializer.get_string_value` now calls the model fields' renamed `value_to_string` methods.
* Removed a special-casing of `models.DateTimeField` in `core.serializers.base.Serializer.get_string_value` that's handled by `django.db.models.fields.DateTimeField.value_to_string`.
* Removed `django.core.validators`:
* Moved `ValidationError` exception to `django.core.exceptions`.
* For the couple places that were using validators, brought over the necessary code to maintain the same functionality.
* Introduced a SlugField form field for validation and to compliment the SlugField model field (refs #8040 ).
* Removed an oldforms-style model creation hack (refs #2160 ).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 07:19:44 +00:00
Jarek Zgoda
a157576660
Updated Polish translation to match new comments system
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 07:16:57 +00:00
Malcolm Tredinnick
c305471610
Fixed get_absolute_url() for comments. Previously, it relied on "view on site"
...
for admin being reversible or required people to set up their own version. Now
we ship a default pattern in the comments URLs in a way that is unlikely to
clash with anything else.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 07:04:58 +00:00
Malcolm Tredinnick
157dbe2fff
Fixed #8552 -- Use the LOGIN_REDIRECT_URL setting in the auth tests, rather than hard-coding the value.
...
This enables things to work properly when installed in other configurations.
Patch from aeby.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 06:02:13 +00:00
Malcolm Tredinnick
d70c8907cd
Fixed #5937 -- When filtering on generic relations, restrict the target objects to those with the right content type.
...
This isn't a complete solution to this class of problem, but it will do for
1.0, which only has generic relations as a multicolumn type. A more general
multicolumn solution will be available after that release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 05:22:33 +00:00
Malcolm Tredinnick
6e51f05112
Fixed #8577 -- Fixed a couple of indentation errors when viewing the app-index
...
page in admin. Patch by evenrik.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 05:22:25 +00:00
Malcolm Tredinnick
3b993b2995
Fixed #8584 -- Fixed a case where the wrong locale might be made active in the
...
locale detection loop. Thanks, Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 05:10:20 +00:00
Malcolm Tredinnick
8226b8c957
Fixed #8569 -- Ensure that apps are correctly set up before introspecting them
...
in admin validation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 23:06:30 +00:00