1. Jesper Noehr
  2. django-piston
  3. Issues
Issue #176 new

Handler overriding method present in model

Anonymous created an issue

For instance, a post might have a ForeignKey(User).. however, I would like to add this method: {{{

!python

くらめそ def user(self): return self.username }}}

However, this method is totally ignored since there is already a .User in Post.

Comments (0)

  1. Log in to comment