1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

2944 Commits

Author SHA1 Message Date
Joseph Kocherhans
0f0f6a7957 Fixed a bug in ManyToManyRawIdWidget where a list of integers needed to be converted to a comma separated string for display.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6321 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 19:56:59 +00:00
Adrian Holovaty
aff1c2aa96 newforms-admin: Fixed #5401 -- make-messages.py works again. Thanks, Petr Marhoun
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6319 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 19:48:08 +00:00
Joseph Kocherhans
84fd07f097 newforms-admin: Removed Model code and tests related to inner Admin classes. They are no longer used.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 19:37:12 +00:00
Joseph Kocherhans
1413f02d84 newforms-admin: Added jdetaeye to AUTHORS. Forgot in [6301].
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:55:27 +00:00
Joseph Kocherhans
c3fe6d805a newforms-admin: Fixed #5407. Javascript problems with raw_id fields. Thanks Christian Metts.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:53:31 +00:00
Adrian Holovaty
ccd8fb0d85 newforms-admin: Added docs/admin.txt, a placeholder for documenting all of the admin options instead of in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:38:27 +00:00
Joseph Kocherhans
f68769e1c6 newforms-admin: Fixed #5488. inlines with multiple ForeignKeys to the same parent don't work. Thanks jdetaeye. Also, some whitespace cleanup. Sorry for the mess.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:13:50 +00:00
Joseph Kocherhans
b28be9b04d newforms-admin: Fixed a stupid typo.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 23:03:34 +00:00
Joseph Kocherhans
cead4bada9 newforms-admin: Fixed a problem with [6232] where an exception was raised if ModelAdmin didn't specify ordering. Also, fixed #4926.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 22:41:09 +00:00
Joseph Kocherhans
5ec5814bf9 newforms-admin: Fixed ordering for ModelAdmin.queryset. Refs #4926, but that ticket still needs ModelAdmin.changelist_view to use ModelAdmin.queryset.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 22:20:54 +00:00
Joseph Kocherhans
64b9123b7a newforms-admin: Fixed #4699. Really this time. AllValuesFilterSpec uses the ModelAdmin's queryset method instead of the model's deafult queryset.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:13:07 +00:00
Adrian Holovaty
276c941d08 newforms-admin: Fixed #4958 -- Translated field labels now show. Thanks, Honza Kral
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 19:30:03 +00:00
Adrian Holovaty
337f19828f newforms-admin: Fixed #5251 -- 'Show in Web' links now work properly again. Thanks, Florian Apolloner
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 19:28:14 +00:00
Adrian Holovaty
d5ed482d60 newforms-admin: Fixed #5424 -- Renamed custom 'filter' template tag so it doesn't conflict with the built-in tag. Thanks, Petr Marhoun
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:00:12 +00:00
Joseph Kocherhans
29153bd5b6 newforms-admin: Swapped a tab for spaces.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 18:06:01 +00:00
Joseph Kocherhans
94f2ab53ed newforms-admin: Fixed #5427. Failing invalid models test. Thanks Matt Croydon.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 18:00:23 +00:00
Christian Metts
1ca016a084 newforms-admin: edit inline templates now match pre-newforms features and html/css updated
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 08:36:04 +00:00
Joseph Kocherhans
8bc950bcf5 newforms-admin: Changed inline model admin back to using verbose_name/verbose_name_plural. We may need both in the templates.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 03:13:30 +00:00
Joseph Kocherhans
76473864b5 newforms-admin: Added incredibly sparse tests for ModelAdmin. It's a start.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 02:44:27 +00:00
Joseph Kocherhans
fa71790668 newforms-admin: Added show_url attribute to InlineAdminForm for deciding whether we can show a 'display on site' link.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 02:23:59 +00:00
Joseph Kocherhans
dae251584e newforms-admin: Fixed #5388. Validation broken for models with > 1 inline formset.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 01:37:39 +00:00
Joseph Kocherhans
dc63fc7b4b newforms-admin: Fixed #4699. list_filter broken in admin for strings.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 01:36:16 +00:00
Joseph Kocherhans
addbe83dcc newforms-admin: Fixed #5383.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 01:34:25 +00:00
Russell Keith-Magee
3d85b2748d newforms-admin: Fixed #5384 -- Cleaned up minor HTML error in template. Thanks, Petr Marhoun <petr.marhoun@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 01:30:50 +00:00
Joseph Kocherhans
35be27874b Added form_add and form_change methods to ModelAdmin.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 01:29:41 +00:00
Russell Keith-Magee
4046a61793 newforms-admin: Fixed #5402 -- Updated some model options to reflect the renaming of fields to fieldsets in [6080]. Thanks to Petr Marhoun <petr.marhoun@gmail.com> for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 01:22:13 +00:00
Russell Keith-Magee
f892464d58 newforms-admin: Merged to [6094]
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-11 11:46:34 +00:00
Joseph Kocherhans
52578a1d1d newforms-admin: Merged to [6081]
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 02:29:42 +00:00
Joseph Kocherhans
b5aa61a325 newforms-admin: Changed the 'fields' option on ModelAdmin to 'fieldsets'. 'fields' is still valid, but should be a list of field names instead. Also, added some new hooks that were needed to support the change.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 00:27:48 +00:00
Joseph Kocherhans
c05527dd60 newforms-admin: Fixed #4491. Thanks Honza Kral.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6074 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 19:15:01 +00:00
Joseph Kocherhans
4ccc5ff3e1 newforms-admin: Switched edit inline rendering to just use an include instead of a special template tag.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 19:12:43 +00:00
Joseph Kocherhans
d9fb3fed86 newforms-admin: Refactored edit inline support classes.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 19:10:52 +00:00
Joseph Kocherhans
a3ecc33ed2 Made SlugField subclass CharField.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-07 03:11:31 +00:00
Joseph Kocherhans
016f84ba34 Pulled a fieldset tag out of the stacked edit inline template. Some design work is needed to actually support this, and trunk won't do it either.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-07 02:45:32 +00:00
Joseph Kocherhans
6aba7b25d9 Added Simon Litchfield to AUTHORS in reference to [6053].
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-07 02:43:02 +00:00
Joseph Kocherhans
f06b35376e Fixed typo in formsets. Thanks Simon Litchfield.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-07 02:39:18 +00:00
Joseph Kocherhans
ff2a2884a1 Fixed #4867. FormSet.is_valid() now returns False when the FormSet is not bound. Thanks John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-07 02:32:03 +00:00
Adrian Holovaty
976acdc774 newforms-admin: Merged to [6050]
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-05 20:01:24 +00:00
Adrian Holovaty
bd01c6ee57 newforms-admin: Fixed #5250 -- Added translation hook to 'Delete' in admin edit_inline_tabular.html template
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-02 20:06:22 +00:00
Russell Keith-Magee
2db132ebb7 newforms-admin: Exposed orderable and deletable arguments in inline_formset.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-31 05:53:47 +00:00
Russell Keith-Magee
7405446b2e newforms-admin: Made import visibility of formsets and Media consistent with that of fields, widgets and forms.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-31 05:43:21 +00:00
Russell Keith-Magee
2a45bdf9ac newforms-admin: Fixed #4761 -- Moved default definition of filter_horizontal and filter_vertical so that inline edits work with M2M fields.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-30 05:33:45 +00:00
Adrian Holovaty
20219e9fb6 newforms-admin: Merged to [6015]
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 23:34:42 +00:00
Adrian Holovaty
22e160945a newforms-admin: Merged to [6013]
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 23:31:05 +00:00
Russell Keith-Magee
a6784e6821 newforms-admin: Fixed #4810, Refs #4571 -- Reversed the logic for the type check introduced in [5999]; this way should be a little more robust from an error handling point of view. Thanks to ubernostrum for the suggestion. Oh, and Changeset 6000!! w00t!!
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-24 14:27:07 +00:00
Russell Keith-Magee
a29582a1d9 newforms-admin: Fixed #4571 -- Clarified type check to allow multiple class registrations with an admin site. Thanks to Jakub Vysoky for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@5999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-24 13:38:10 +00:00
Russell Keith-Magee
5303028b32 newforms-admin: Fixed #4450 -- Added URL override for user password changes in admin interface. Thanks for the help on this, Jakub Wisniowski.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@5998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-24 13:16:01 +00:00
Russell Keith-Magee
68b7bbb262 newforms-admin: Fixed #4524 -- Fixed object deletion in the admin interface. Moved get_deleted_objects to a util package rather than importing from the existing location (where it is no longer required). This was to resolve a circular import problem.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@5997 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-24 12:54:00 +00:00
Russell Keith-Magee
4a2abd003d newforms-admin: Fixed #5231 -- Corrected some entries in the admindocs views to point to new and changed datatypes. Thansk, Matthias Pronk <django@masida.nl>
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@5996 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-24 11:39:20 +00:00
Russell Keith-Magee
88987ed0ac Fixed #5211 -- Added paths starting with '/' to the list of paths that are preserved as-is by the widget media framework.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@5986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20 13:24:10 +00:00