Hi Sandro,
Thanks for the link. It looks like you had provided the link to show
additional options in the action drop down on the list page. This is not
what am exactly looking for. I guess my question was not clear. I will try
to explain it in much better way:
1) I have 2 models called Categories
more:
https://docs.djangoproject.com/en/1.4/ref/contrib/admin/actions/
2012/4/11 Sandro Dutra
> # File: admin.py
> from django.contrib import admin
> from distribute.models import Categories
> (...)
> class CategoriesAdmin(admin.ModelAdmin):
> list_display = ['category']
> (...)
> (...)
# File: admin.py
from django.contrib import admin
from distribute.models import Categories
(...)
class CategoriesAdmin(admin.ModelAdmin):
list_display = ['category']
(...)
(...)
admin.site.register(Categories, CategoriesAdmin)
(...)
2012/4/11 Swaroop Shankar V
> Hi,
> Could anyone provid
Hi,
Could anyone provide me a solution please? Thanks
Regards,
Swaroop Shankar V
On Mon, Apr 9, 2012 at 2:53 PM, Swaroop Shankar V wrote:
> Hi all,
> I have 2 models one is Category and another one is Book. Books will
> be assigned to a category. So on the admin area i want to display a link o
4 matches
Mail list logo