Gauravwagh / django-grappelli

Automatically exported from code.google.com/p/django-grappelli
Other
0 stars 0 forks source link

Custom admin actions are not available in Grappelli when defined in ModelAdmin #389

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which DJANGO-VERSION are you using?
Django 1.3

Which GRAPPELLI-VERSION are you using?
Grappelli 2.3.3

Which BROWSER (including the version) are you using?
Firefox 4.0.1

What steps will reproduce the problem?
1. have actions = [someaction] in ModelAdmin
2. make sure it works without Grappelli
3. enable Grappelli
4. see that the custom actions vanished

What is the expected output? What do you see instead?
In normal Django admin there's a dropdown box from which you can select your 
custom actions. In Grappelli there is none.

Please provide any additional information below.
The commands we use are made by creating a function that creates an instance of 
a command class which inherits BaseCommand, then runs the command. This 
function is passed to actions in an array.

Original issue reported on code.google.com by seppo.yl...@gmail.com on 19 Jul 2011 at 9:25

GoogleCodeExporter commented 9 years ago
do you see the django-multiple-delete action with grappelli or don´t you see 
any dropbox at all? we´re using custom actions throughout. any additional 
information other than "doesn´t work"?

Original comment by sehmaschine on 19 Jul 2011 at 9:33

GoogleCodeExporter commented 9 years ago
Correct, there is no dropbox at all visible.

Original comment by seppo.yl...@gmail.com on 20 Jul 2011 at 7:59

GoogleCodeExporter commented 9 years ago
any js-errors? what did you try in order to debug that issue?

btw: we´ve moved to github (so you might wanna open that issue over there 
again).

Original comment by sehmaschine on 20 Jul 2011 at 8:06

GoogleCodeExporter commented 9 years ago
Could you please close this issue? It seems this was a user error. The dropbox 
was just in a different place than was expected.

Original comment by seppo.yl...@gmail.com on 20 Jul 2011 at 2:48

GoogleCodeExporter commented 9 years ago

Original comment by sehmaschine on 20 Jul 2011 at 3:01