I'm wondering if it's possible to use the current site manager with
these two functions or if I'm going to have to write my own?

def get_previous_post(self):
    return self.get_previous_by_publish(status__gte=2)

def get_next_post(self):
    return self.get_next_by_publish(status__gte=2)

Has anyone had any success I can't seem to get it to work like this.

def get_previous_post(self):
    return self.on_site.get_previous_by_publish(status__gte=2)

If I do end up having to write my own function, how would I go about
doing that?

Thanks.

Charlie

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to