Okay, so I've got get_absolute_url() to work, but I'm still running
into some trouble. The problem is that TVEpisode and Movie are both
subclasses of Source, and I can't seem to override the
get_absolute_url() function that's included in the Source class. How
can I override this method in the pare
Okay, so I finally found get_absolute_url(), and I wrote the function,
but I think I might have to back off from generic views because I need
the actual source object whereas I now only have a copy of the quote
object in the view. I'll have to look into this some more.
I was worried at first abou
I'd like to make a link to an item based on which class it is in. I'm
creating a quotes database that has quotes from movies, tv shows, etc.
Movie, TVShow, etc. are all separate classes, and they have separate
URLs for viewing them. I'm trying to create a link to the source based
on which subclass
3 matches
Mail list logo