Mike,
Thanks for the replay. I realize I was probably too general in my
request. Allow me to get down and dirty.
So I did some more research and tried this approach in my model:
class NewsManager(models.Manager):
def all_news(self):
qs = Event.objects.extra(tables=['news_art
Hey Raymond,
A couple ideas that wouldn't require a different type of generic view:
1)
If they are related to each other, why not use the relations to get
the objects you want?
{% for event in article.event_set.all %}...
2)
If all your pages are using the events etc. Why not create a context
p
Greetings all. I have a problem/concept I've been struggling with. I
have an app called News with three models: Article, Press Release and
Event. Each model has some fields in common (headline, date, body) and
other fields unique to each model. I had initially thought to combine
the three models i
3 matches
Mail list logo