from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.models import User
class MyUserAdmin(UserAdmin):
actions = ['my_action']
def my_action(self, request, queryset):
# stuff here...
admin.site.unregister(User)
admin.site.regist
Maybe you'll find this also useful:
http://www.theotherblog.com/Articles/2009/06/02/extending-the-django-admin-interface/
--
K.
Blog Personale: http://www.karimblog.net
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, se
On Mon, Nov 1, 2010 at 05:03, Django-learner wrote:
> Hi, I want to add an customized action to user management in django
> admin site. I can see that only delete selected user is available, how
> can I add more to that?
Did you try to google that? This is my **first** result:
http://docs.django
Hi, I want to add an customized action to user management in django
admin site. I can see that only delete selected user is available, how
can I add more to that?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
4 matches
Mail list logo