Models¶
- class user_messages.models.Thread(models.Model)¶
- subject¶
The subject of the thread.
- users¶
Related manager for the users in the thread.
- get_absolute_url(self)¶
Returns the URL for the thread detail page.
- first_message¶
The first message in the thread (by date).
- latest_message¶
The latest message in the thread (by date).
- classmethod ordered(cls, objs)¶
Orders objs (which can be any iterable) by the date of their latest message.