Merge pull request #14 from leephillips/master

The top view (list of lists) generated a javascript error because base.h...
This commit is contained in:
Scot Hacker 2014-06-22 08:53:00 -07:00
commit bfd7bb79bb

View file

@ -37,6 +37,8 @@ def list_lists(request):
""" """
Homepage view - list of lists a user can view, and ability to add a list. Homepage view - list of lists a user can view, and ability to add a list.
""" """
thedate = datetime.datetime.now()
# Make sure user belongs to at least one group. # Make sure user belongs to at least one group.
group_count = request.user.groups.all().count() group_count = request.user.groups.all().count()
if group_count == 0: if group_count == 0: