Thank's Alex, but it don't seem the problem, because I tested with another
method name "author" and "pub_date", and returns (None) too. Why?
On Thu, Aug 27, 2009 at 5:03 PM, Alex Gaynor wrote:
>
> On Thu, Aug 27, 2009 at 12:18 PM, Sandra Django
> wrote:
> > Hi, I want display in change_list view
On Thu, Aug 27, 2009 at 12:18 PM, Sandra Django wrote:
> Hi, I want display in change_list view, user who added an object and date. I
> did that:
> - models.py ---
>>
>> class One(models.Model):
>> ..
>> def user(self):
>> return self.user.username
>
2 matches
Mail list logo