views.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:instagram_miner 作者: allardbrain 项目源码 文件源码
def campaign_list(request):
    '''Renders a template showing a list of registered campaigns, sorted in alphabetical order.
    Campaigns are created by the user, who provides a hashtag and time range in which to search.'''

    campaigns = Campaign.objects.order_by(Lower('Campaign_Title').asc())

    return render(request, 'ig_miner_app/campaign_list.html', {'campaigns': campaigns})
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号