2010-11-10 19 views

risposta

28

Credo che si dovrebbe usare l'attributo short_description. Django-admin

def in_stock(self): 
    return self.stocks.count() 
in_stock.short_description = 'Your label here' 
Problemi correlati