(uids, **kwargs)
Set post rank to creation date
Set post rank to creation date
Set post rank to creation date
def unbump(uids, **kwargs):
    """
    Set post rank to creation date
    """
    uids = uids.split(',')
    posts = models.Post.objects.filter(uid__in=uids)
    for p in posts:
        models.Post.objects.filter(uid__in=uids).update(rank=p.creation_date.timestamp())
        logger.debug(f'title={p.title} uid={p.uid} unbumped.')
def unbump ( uids , * * kwargs ) : uids = uids . split ( ',' ) posts = models . Post . objects . filter ( uid__in = uids ) for p in posts : models . Post . objects . filter ( uid__in = uids ) . update ( rank = p . creation_date . timestamp ( ) ) logger . debug ( f'title={p.title} uid={p.uid} unbumped.' )