views:

141

answers:

2

Hi guys, in the django admin, in any app model, the diplay data (datagrid o view template, i dont know how call it), django show "all" the entry, but what happen if i want that django just show the entry with statu live or x status and not all entry with any status?.

how, overriding initial behavior in admin model?

Thanks

A: 

Here's the same question with some answers.

SmileyChris
+1  A: 

Thanks SmileyChris, the problem is that i can understand the example, but i found this :), very clear :)

http://blog.dougalmatthews.com/2008/10/filter-the-django-modeladmin-set/

Asinox
and this too :)http://dpaste.com/80185/
Asinox