Inherits Model.
|
tuple | name = models.CharField(max_length=255) |
|
tuple | posts = models.ManyToManyField(Post) |
|
def posts.models.Hashtag.__str__ |
( |
|
self | ) |
|
def posts.models.Hashtag.filter_posts_by_hashtag |
( |
|
hashtag_name | ) |
|
|
static |
Filters posts by hashtag.
@param hashtag_name the hashtag name to filter with
@return the posts that have used this hashtag
def posts.models.Hashtag.top |
( |
| ) |
|
|
static |
Shows most used hashtags in last 24 hours
@return filters hashtags in descending order from last 24 h
tuple posts.models.Hashtag.name = models.CharField(max_length=255) |
|
static |
tuple posts.models.Hashtag.posts = models.ManyToManyField(Post) |
|
static |
The documentation for this class was generated from the following file:
- /Users/juancabello/Workspace/circuit/posts/models.py