Hi there, In admin.py, some ModelAdmin classes have the method has_add_permission(), which just returns False. This way, the "Add" button is removed from the admin interface for some models.
But such button stills appearing in the app page. I mean, when I'm at admin's Home page (http://mysite/myproject/admin), the button doesn't appear next to those models. The same thing in a model change page ( http://mysite/myproject/admin/myapp/somemodel). But when I access http://mysite/myproject/admin/myapp, the "Add" button appears next to every model. Is this a bug or an expected behavior? How can I also remove the Add button from the app page? Thanks! -- João Olavo Baião de Vasconcelos Bacharel em Ciência da Computação Analista de Sistemas - Infraestrutura joaoolavo.wordpress.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---