Beispiel #1
0
    Announcement,
    Comment,
    Favorite,
    Flag,
    Like,
    MatchRanking,
    MatchRound,
    Offer,
    OfferAction,
    PinnedPost,
    SuggestedAction,
)
from .tasks import increment_offer_view_counts
from .utils import can_pin, is_user_townsquare_enabled

redis = RedisService().redis

tags = [
    ['#announce', 'bullhorn', 'search-announce'],
    ['#mentor', 'terminal', 'search-mentor'],
    ['#jobs', 'code', 'search-jobs'],
    ['#bounty', 'hand-holding-usd', 'search-bounty'],
    ['#help', 'laptop-code', 'search-help'],
    ['#meme', 'images', 'search-meme'],
    ['#music', 'music', 'search-music'],
    ['#other', 'briefcase', 'search-other'],
]


def load_wallpapers(request):
    """Load profile banners"""