Re: Admin-Actions also in the object details view

2016-07-11 Thread Cristiano Coelho
Thanks, I guess that can do it for now. It's a shame the one who started 
implementing this in django itself just abandoned it :(

El lunes, 11 de julio de 2016, 8:55:17 (UTC-3), Alex Riina escribió:
>
> Here's an implementation:
>
> https://github.com/crccheck/django-object-actions
>
> Combining with other admin plugins that change the template requires 
> overriding the template to fit both changes in.
>
> The actions are GETs and have no card protection.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/fbd1acfe-3a68-4b6e-90b2-bf8a42f0e2a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Admin-Actions also in the object details view

2016-07-11 Thread Alex Riina
s/card/csrf/

autocorrect grabbed that one from me.

On Monday, July 11, 2016 at 7:55:17 AM UTC-4, Alex Riina wrote:
>
> Here's an implementation:
>
> https://github.com/crccheck/django-object-actions
>
> Combining with other admin plugins that change the template requires 
> overriding the template to fit both changes in.
>
> The actions are GETs and have no card protection.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/0b29d665-bbd3-4470-9b4d-120b6d88bae3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Admin-Actions also in the object details view

2016-07-11 Thread Alex Riina
Here's an implementation:

https://github.com/crccheck/django-object-actions

Combining with other admin plugins that change the template requires overriding 
the template to fit both changes in.

The actions are GETs and have no card protection.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/ff365877-e4c8-45a7-ab08-9456982c3b89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Admin-Actions also in the object details view

2016-07-10 Thread Tim Graham
I haven't seen any other activity on the idea if that's what you're asking. 
There aren't any formal plans for Django development... the direction is 
steered by the patches that people contribute.

On Sunday, July 10, 2016 at 6:32:47 PM UTC-4, Cristiano Coelho wrote:
>
> Sorry to bring this up (quite a few years old already)
>
> Are there any plans to bring this to life? The ticket seems to have died 
> as well.
> It could be very useful to have actions re used on the detail view page 
> somehow. Right now the only option is to override the template.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/910276a6-bf39-4614-ad1e-aba1971a7a92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Admin-Actions also in the object details view

2016-07-10 Thread Cristiano Coelho
Sorry to bring this up (quite a few years old already)

Are there any plans to bring this to life? The ticket seems to have died as 
well.
It could be very useful to have actions re used on the detail view page 
somehow. Right now the only option is to override the template.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/c162bcbd-24f6-43f3-a6c0-bcef864665e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Admin-Actions also in the object details view

2009-12-31 Thread Florian Apolloner
There is already a ticket for this request: 
http://code.djangoproject.com/ticket/12090

--

You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.




Re: Admin-Actions also in the object details view

2009-12-31 Thread andybak
I can see some benefit in consistency here but what do you do about
saving the current object?

This is a problem in general with any actions performed on the same
screen a change form.

1. User enters the object detail view
2. User changes a field
3. User selects an action.

Does the action apply to the saved or unsaved state? If the former
then the admin must warn that the object will be saved before
performing the action whereas the latter option would be rather
confusing (do we keep or drop the changes?)

In general I don't think performing actions on an object makes sense
in 'edit' mode and there is no details view in the Django admin other
than an 'edit' mode.

--

You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.




Admin-Actions also in the object details view

2009-12-30 Thread Roman Glebov
Hallo everyone,

there is a very comfortable api for adding actions to the model admin in
the admin site.

These actions are then integrated into the admin's object list view of
the given model type in the admin area.

It seems to be also very logical to provide a way of showing these actions
in the object detail view.

This would be also very comfortable because it would not require a
django developer to override the object detail view template.
And would make django development more object oriented: it would require
to define all specific actions in the admin model.

I will try to develop the required functionality.

With best wishes
Roman Glebov

--

You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.