Branches

attic/newforms-admin

View source
attic/newforms-admin
  • Contributors
    1. Loading...
Author Commit Message Labels Comments Date
250+ commits behind default.
uber...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Move the newforms-admin branch into the attic.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7961].
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed typo in [7959]
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7956].
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Updated tutorials to use newforms-admin syntax.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Removed an extraneous print call in runtests.py.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7819 -- Added missing imports to contrib admin.py modules from [7953]. Thanks rajeshdhawan for catching this.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7952].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Moved contrib ModelAdmin classes to an admin.py file in their respective apps. This is allowed since [7872].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7950].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7947].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7941].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7790 -- Check form fields, not model fields when testing for field existence in fields and fieldsets. Thanks Rozza for catching this and writing an initial patch.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7794 -- Allow BaseModelFormSet classes to work as an inline formset. This just loosens the validator checks. Thanks paltman for the report.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7928].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Removed a bit of code that snuck by in [7935] that shouldn't have been committed yet.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5490 -- Properly quote special characters in primary keys in the admin. Added tests to ensure functionality. This also moves quote and unquote to django/contrib/admin/util.py. Thanks jdetaeye and shanx for all your help.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7466 -- Generate a root_path for admindocs views so the userlinks are properly linked. Thanks handelaar for the report.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7553 -- Reverted [7824] in favor of a better fix in #7553. The never_cache decorator is no longer special casing None. Thanks Michael Newman for the patch.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7772 -- Moved the validation check for when both fields and fieldsets are specified on a ModelAdmin to django/contrib/admin/validation.py. Thanks Julien Phalip for catching this.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7771 -- Improved the validation check on the ordering field. Now takes '?' and 'field1__field2' syntax into consideration. Thanks Michael Jung for catching this.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7230 -- Added a save_m2m method to BaseModelFormSet when commit=False is passed to save. Thanks Books Travis for the original report.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5374 -- Added validation for ModelAdmin and InlineModelAdmin options including tests. Thanks mrts for initial legwork.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Revmoved some old dead code and whitespace cleanup.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Removed a comment that was no longer applicable and cleaned up some whitespace.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Removed some places where model was being passed around for no reason.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7917].
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7702 -- Removed redundant imports in django/contrib/admin/options.py. Thanks, Honza
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7877].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5873 -- When a validation error occurs in a fieldset that is collapsed properly idenitfy it so it uncollapses to reveal the error. Thanks Jonas for the patch and Ariel Calzada for the report.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5628 -- When inlines have validation errors an error message is now displayed at the top of the page. Thanks Petr Marhoun for the improved patch.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7692 -- Fixed a syntax error in django/contrib/admin/options.py, my bad. Thanks jwmayfield for keeping me in check.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7564 -- Make position argument string interpolation use keywords instead. Works better for translators and get rid of make-messages.py warnings. Thanks Marc Garcia for the report and permon for the patch.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added some documentation about media defintions in ModelAdmin classes. Fixed #7129.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added autodiscover functionality to django.contrib.admin. This makes the admin aware of per-app admin.py modules and does an import on them when explicitly called. Docs show how this is used. Fixed #6003, #6776, #6776.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Allow an overridden _construct_form to easily pass parameters through to the form constructor in formsets.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7617 -- Adjusted the call to ModelFormMetaclass.__new__ in modelform_factory to work with the new signature introduced in [7847].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7852].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7620 -- Changed a hard-coded call to type.__new__ to use super in MediaDefiningClass metaclass. Thanks Christian Tanzer.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7829].
si...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: custom URL handling in admin now redirects to add trailing slash if needed - this fixes several bugs that occurred when you navigated to an admin page and omitted the trailing slash.
si...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed failing test by changing never_cache header to handle views that don't return a response object. The test traceback was: ====================================================================== ERROR: Test add view restricts access and actually adds items. ---------------------------------------------------------------------- Traceback (most recent call last): File ".../tests/regressiontests/admin_views/tests.py", line 178, in testAddView post = self.client.post('/test_admin/admin/admin_views/article/add/', self…
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7814].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #4074 -- Properly urlencode the ChangeList query string when the value has an ampersand. Thanks Tony Perkins and SmileyChris.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7808]. Fixed #7519, #7573
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7541 -- RelatedFieldWidgetWrapper now wraps the widget and not the just the render function which caused some stale values. Thanks lukas and Doug Napoleone.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7766].
si...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: removed unnecessary import
luke...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6566 - restored never_cache() decorator to admin views.
luke...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6604 - removed useless code. Thanks Petr Marhoun, programmerq
luke...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6905 - allow custom form class to be used for password reset view Thanks programmerq for the idea
luke...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Updated password reset form for newforms syntax (missed in [7191])
luke...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #4046 - ForeignKey's formfield does not respect limit_choices_to. Thanks ubernostrum, programmerq
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7729].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7502 -- Fixed an i18n breakge introduced in [7694]. Thanks frasern.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Removed a print statement in tests/regressiontests/admin_views/tests.py that snuck by.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7706].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6943 and #7263 -- Handle multiple e-mail addresses when checking if it was mistakenly entered. Also prevent e-mail guessing by checking password before throwing an error. Thanks Michael Newman and Valera Grishin.
si...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7483 (thanks, Daniel Roseman) - delete view now correctly links to related objects
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Brought docs/admin.txt up to speed on missing options from ModelAdmin.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Allowed for another heading level in docs/admin.txt. Also fixed up some other issues caught by generating the documentation.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6718 -- Removed a circular import in contrib/auth/admin.py. Thanks Eric B.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7473 -- Fixed a title level inconsistency in docs/modelforms.txt. Thanks Visik7.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7668].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed an example relying on oldforms in the authentication docs.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7445 -- Removed an old reference to oldforms in the auth documentation. Thanks peterd12.
si...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed root_path in custom user add view
si...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Custom form for changing a user's password now sets root_path manually (it doesn't have access to an AdminSite instance so it has to roll its own)
si...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
AdminSite.root() now figures out the base URL of the admin site and stashes it as self.root_path. This is made available to admin templates, avoiding the need to use relative URLs for links to higher level admin pages. One consequence of this change is that you can now reliably over-ride the userlinks block in a custom base_site.html template.
si...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: AdminSite index and display_login_form method can now take an optional extra_context argument, allowing you to inject extra template variables in to them from an over-ridden method on a subclass
si...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Made it easier to specify a custom template to be used in the admin section. You can now specify index_template and login_template properties on an AdminSite subclass, and change_form_template, change_list_template, object_history_template and delete_confirmation_template properties on a ModelAdmin subclass.
si...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: custom changelist test now avoids model inheritance (since the admin doesn't support that yet)
si...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added ability to pass extra_context argument to ModelAdmin's add_view, change_view, changelist_view, delete_view and history_view methods. This makes it easier to customise those pages; you can over-ride the methods in your subclass and call the super method with extra_context to feed additional variables to your custom admin templates.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5731 -- Implemented ModelAdmin.radio_fields to match trunk's radio_admin. Removed legacy code and added tests. Thanks Karen Tracey for the initial work.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed a few links in the inline documentation.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added inline documentation.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Moved the inner Admin docs over to the admin docs and updated to work with ModelAdmin.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6075 -- Implemented max_num on formsets and model formsets. Added a hook on InlineModelAdmin to customize in the admin interface.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Removed the leading underscore from _formset_factory. It was missed in [7605].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5999 -- When a session expires properly route the flow to call the correct view. Thanks favo and Michael Newman.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7410 -- Added save_as to the context of a couple auth views. Thanks James Turnbull.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5765 -- non_form_errors now display properly for inline formsets. Thanks Honza Kral.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Allow a custom formset on InlineModelAdmin.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6809 -- non_field_errors are now properly displayed. Thanks peschler.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added documentation on formsets.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Removed the leading underscore from modelforms factory functions.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7602].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5520 -- Implemented save_as functionality. This also properly makes inlines work as well.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6810 -- Added tests for admin views. Thanks rmyers!
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6819 -- When the user does not have change permission avoid redirecting to the changelist view after deleting an object. Thanks rmyers!
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7391 -- Mark the output of BaseFormSet.as_table safe. Thanks akaihola!
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7583].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed some failing created with [7562]. Refs #6536. Thanks eddyMul for the hawk eyes.
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6536 -- Corrected non-XHTML markup for image tag. Thanks to Johann Queuniet <johann.queuniet@gmail.com> for the initial report, and Honza Kral for keeping the ticket up to date.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged from trunk up to [7539].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7526].
gwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Cleaned up imports, refs #6083.
gwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7227 -- Added missing import, thanks marinho.
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Removed mark_safe from the saved request path on the admin login form. This prevents a potential XSS attack. Formal announcement will be forthcoming.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added some tests for SplitDateTimeWidget._has_changed.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added a newline between expected output and comments to let the tests pass again.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7160 -- MultiWidget._has_changed was short-circuiting while testing for changed data in its widgets. Added tests to ensure this won't get broken in the future.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Applied the same _has_changed treatment to the ManyToManyRawIdWidget from [7515] since it acts similar with the underlying data.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7132 -- Added a _has_changed method to SelectMultiple along with tests. SelectMultiple now correctly reports when it has changed or not.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Allow a formset to be passed through _inlineformset_factory.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6117 -- Implemented change history for the admin. This includes the ability to track changes on a newform. Model formsets now only return the changed/new objects saved. A big thanks to Karen Tracey and Alex Gaynor.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6964 -- Implemented FileInput._has_changed. Before it was comparing the wrong values and causing it to trip up.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added some tests for CheckboxInput._has_changed.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7114 -- MultiWidget now calls decompress on initial data. Thanks Honza Kral.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7499].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7491].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Properly apply ordering in ModelAdmin.queryset.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #7094 -- Fixed admin ordering breakage after the queryset-refactor changes from trunk.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7478]
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed a typo that should read "E-mail" and not "Email" per the guidelines.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6774, #7068 -- Use ugettext_lazy instead of ugettext in django/contrib/auth/forms.py. Marked a few strings for translation in the forms.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7435].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6938 -- request.GET is now coerced into a dict before being passed as initial data in ModelAdmin.add_view. Thanks Matthias Pronk.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6226 -- allow_tags is now correctly honored and marks the data as safe. Thanks, michelts and jgelens.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6390 -- Added a missing import in django/newforms/formsets.py. Thanks, Jurian Botha.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Backed out [7390]. That shouldn't have been checked in yet. dcommit foul.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6926. Formset management forms now use the proper prefix. Thanks, msundstr.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Beginnings of new admin view.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6921. list_per_page is now accessed from the correct object. Thanks, hambaloney.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7377].
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6779 -- Removed the delete checkbox for "extra" inlines. Thanks, SmileyChris.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Changed Widget._has_changed to *only* use an empty string when data and/or initial is None. False values were tripping up the conditional.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6889 -- ModelForm nows supports media defined in the form.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6866 -- ModelAdmin.get_form and InlineModelAdmin.get_formset now uses BaseModelAdmin.form so the form class can be changed out very easily.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7350].
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Added a warning to the get_form hook docstring.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Collapsed some of the add/change hooks into a single get method that takes an optional obj argument. Backwards incompatible.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6802 -- regressiontests/forms/media.py perserves the MEDIA_URL once finished. Thanks, ales_zoulek.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed the display of delete fields on inlines in the admin.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Cleaned up the implementation and APIs of all the formset classes. Backwards-incompatible.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6731 -- ManyToManyRawIdWidget no longer allows wrong data being sent to the database. Admin widgets tests are now in regressiontests.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7232]
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6756 -- Flatpage 'Advanced options' fieldset is properly collapsed. Thanks, mb0@mb0.org.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5661. Added a missing import.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5695. AdminFileWidget now properly marks strings for translation and a minor XHTML fix.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6185. Removed submit_date from FreeComment ModelAdmin as it is not an editable field.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6202 -- FilteredSelectMultiple is now wrapped with RelatedFieldWidgetWrapper to display the add button.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6100 -- Related field popup window now closes properly after saving. Thanks oggie_rob and Gary Wilson.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Removed an unnecessary import.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6083 -- Updated django.contrib.auth to use newforms. A big thanks to Greg Turner, Michael Newman and Petr Marhoun.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5735. Wrapped save_add and save_change with commit_on_success to ensure data consistency if an inline fails to save. Thanks, Honza Kral.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5547. SplitDateTimeField now honors the default value from the model.
bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #4641. ForeignKeyRawIdWidget now properly displays the related object value. Thanks, Matthew Flanagan for the original patch.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6614. Removed some code related to old Admin classes. Thanks, Brian Rosner.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7120].
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [7021].
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5827 -- Added missing import to django/contrib/admin/sites.py. Thanks, andreas@pelme.se
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6005 -- Fixed double calling of Media() in newforms/widgets.py. Thanks, Petr Marhoun
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [6952].
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Modified the contrib.admin widget tests to allow for deployment in projects that contain non-default MEDIA_URL and ADMIN_MEDIA_PREFIX settings
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged changes from trunk up to [6863].
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Made some _meta lookups more direct.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Missed a _get_pk_val() call in [6840].
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Small cleanup of a bunch of _get_pk_val() calls.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Removed formset_for_queryset. BaseModelFormSet's constructor now takes a queryset argument instead.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5828. You can leave inline add forms empty again. Thanks brosner.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5919. The admin add stage with inlines works again.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Should have been part of [6811].
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Moved some views to contrib.auth. Based largely on a patch by Honza Kral.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed a bug where has_add_permission wasn't in the admin's add user context.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5447. has_X_permission now works correctly.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6078. Blank spaces in the chnage list are now marked safe. Thanks toke and Karen Tracy.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [6782].
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6722. Admin widgets are now marked safe.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #6059. Javascript in the admin is no longer escaped.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [6775].
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged trunk revision [6671].
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed grammar error in docstring of AdminFileWidget from [6457]
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged from trunk up to [6670]. This is just before auto-escaping was checked in.
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Updated InlineAdminFormSet following form_for_queryset change.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged to [6652]
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5733. Added formset_for_queryset. This is backwards incompatble for anyone using formset_for_model or BaseModelFormSet.
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5758 -- Added a check to ensure that an inline model formset is actually deletable before checking the deletion field. Thanks, Brian Rosner and akaihola.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added some files missing from [6613]
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged to [6612]
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Removed some unnecessary code.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Extracted a method to get the ForeignKey from one model to another from inline_formset.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5720. render_change_form now belongs to ModelAdmin and no longer uses manipulators. Thanks Brian Rosner.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged to [6458]
xi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
removed accidentally check in change
xi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added link to current file for file-based widgets in the admin
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Changed the user add url to use the custom user add view again.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Removed unused import.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Changed RelatedFieldWidgetWrapper's deepcopy method to just return a reference to itself. Thanks Malcolm.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5353. Added FormSet validation hook. Separated a few things out from the original patch and added more tests. Thanks, Honza Kral.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed bug in many-to-many raw_id widget display.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged to [6416]
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Blocked [6391]. The url tag won't work with multiple admin sites right now. Refs #5594.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed a deepcopy bug in RelatedFieldWidgetWrapper. This should probably be addressed in the base Widget class in trunk, but I'm not going to make that call. Refs #5505.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed merge conflict in AUTHORS file.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged to [6370].
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged to [6332].
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Added 'Multiple admin sites in the same URLconf' section to docs/admin.txt
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added more to docs/admin.txt
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #4963. We now use force_unicode instead of str for creating django.contrib.admin.LogEntry objects.
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added intro to docs/admin.txt
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Removed dependency on _meta.admin in get_deleted_objects.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed a bug in ManyToManyRawIdWidget where a list of integers needed to be converted to a comma separated string for display.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Backing out [6321] temporarily. It should have been 2 differnt changesets.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed a bug in ManyToManyRawIdWidget where a list of integers needed to be converted to a comma separated string for display.
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5401 -- make-messages.py works again. Thanks, Petr Marhoun
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Removed Model code and tests related to inner Admin classes. They are no longer used.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added jdetaeye to AUTHORS. Forgot in [6301].
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5407. Javascript problems with raw_id fields. Thanks Christian Metts.
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added docs/admin.txt, a placeholder for documenting all of the admin options instead of in docs/model-api.txt
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
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.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed a stupid typo.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed a problem with [6232] where an exception was raised if ModelAdmin didn't specify ordering. Also, fixed #4926.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed ordering for ModelAdmin.queryset. Refs #4926, but that ticket still needs ModelAdmin.changelist_view to use ModelAdmin.queryset.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #4699. Really this time. AllValuesFilterSpec uses the ModelAdmin's queryset method instead of the model's deafult queryset.
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #4958 -- Translated field labels now show. Thanks, Honza Kral
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5251 -- 'Show in Web' links now work properly again. Thanks, Florian Apolloner
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5424 -- Renamed custom 'filter' template tag so it doesn't conflict with the built-in tag. Thanks, Petr Marhoun
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Swapped a tab for spaces.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5427. Failing invalid models test. Thanks Matt Croydon.
xi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: edit inline templates now match pre-newforms features and html/css updated
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Changed inline model admin back to using verbose_name/verbose_name_plural. We may need both in the templates.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added incredibly sparse tests for ModelAdmin. It's a start.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Added show_url attribute to InlineAdminForm for deciding whether we can show a 'display on site' link.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5388. Validation broken for models with > 1 inline formset.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #4699. list_filter broken in admin for strings.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5383.
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5384 -- Cleaned up minor HTML error in template. Thanks, Petr Marhoun <petr.marhoun@gmail.com>.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Added form_add and form_change methods to ModelAdmin.
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
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.
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged to [6094]
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged to [6081]
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
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.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #4491. Thanks Honza Kral.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Switched edit inline rendering to just use an include instead of a special template tag.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Refactored edit inline support classes.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Made SlugField subclass CharField.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
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.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Added Simon Litchfield to AUTHORS in reference to [6053].
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed typo in formsets. Thanks Simon Litchfield.
jkoc...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed #4867. FormSet.is_valid() now returns False when the FormSet is not bound. Thanks John Shaffer.
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged to [6050]
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #5250 -- Added translation hook to 'Delete' in admin edit_inline_tabular.html template
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Exposed orderable and deletable arguments in inline_formset.
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Made import visibility of formsets and Media consistent with that of fields, widgets and forms.
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #4761 -- Moved default definition of filter_horizontal and filter_vertical so that inline edits work with M2M fields.
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged to [6015]
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Merged to [6013]
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
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!!
russ...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newforms-admin: Fixed #4571 -- Clarified type check to allow multiple class registrations with an admin site. Thanks to Jakub Vysoky for the patch.
161 commits not shown.