On Apr 11, 11:10 pm, codecowboy wrote:
> Thank you Daniel. I got it working. That link that you gave me
> helped me to figure it out. I'm curious though, is there ever a
> reason in Django to define a method in a model class or would I always
> use a custom manager method?
It's frequently use
Thank you Daniel. I got it working. That link that you gave me
helped me to figure it out. I'm curious though, is there ever a
reason in Django to define a method in a model class or would I always
use a custom manager method?
I'm going to post my code here for anyone who has the same question
On Apr 11, 9:25 pm, codecowboy wrote:
> I've read some other posts regarding this issue as well as the
> following article:http://www.b-list.org/weblog/2007/nov/03/working-models/.
> I cannot seem to get this thing to work. Thank you in advance for any
> help. Here is my code.
>
> -- vi
I've read some other posts regarding this issue as well as the
following article: http://www.b-list.org/weblog/2007/nov/03/working-models/.
I cannot seem to get this thing to work. Thank you in advance for any
help. Here is my code.
-- view --
from django.db.models import get_mo
4 matches
Mail list logo