Mercurial > public > sg101
view irc/views.py @ 656:79e785f0bdad
For issue #38, change IRC bot to use Redis instead of MySQL.
Also deleting the bot from this repo as it now has its own repo.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 11 May 2013 15:22:45 -0500 |
parents | ee87ea74d46b |
children | 19d34242473e |
line wrap: on
line source
"""Views for the IRC application""" from django.shortcuts import render from irc.channel import get_users def view(request): nicks = get_users() return render(request, 'irc/view.html', {'nicks': nicks})