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:
commit
bfd7bb79bb
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,8 @@ def list_lists(request):
|
|||
"""
|
||||
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.
|
||||
group_count = request.user.groups.all().count()
|
||||
if group_count == 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue