Sorry to trouble you again!  
I want to override the change_from.html included in the pacakage 
django_object_actions/templates/django_object_actions/  ...I copy the  
change_from.html and put it in my app directory- 
myapp/templates/admin/django_object_actions/ ,then I add my code...but it 
can't work!
在 2016年1月19日星期二 UTC+8下午3:14:49,Andréas Kühne写道:
>
> Hi,
>
> Check how actions work in the admin interface. You should be able to 
> create something that works the same by clicking on a button. See here: 
> https://docs.djangoproject.com/en/1.9/ref/contrib/admin/actions/
>
> The main point is that if you do a http get, you should show the 
> confirmation page, and if you do a post, the action should happen.
>
> Regards,
>
> Andréas
>
> 2016-01-19 6:53 GMT+01:00 张超 <[email protected] <javascript:>>:
>
>> I want to make a confirmation before executing the objectaction when 
>> click the objectaction button ...I have tried to write a js to do that ,but 
>> it doesn't work..how could I make it?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/a718b7d5-813c-4706-8bee-1941c078fba9%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/a718b7d5-813c-4706-8bee-1941c078fba9%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/002e1f26-fa67-4299-851c-ee9a1099cd30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to