Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ovkulkarni authored and pefoley2 committed Jun 13, 2016
1 parent cf75a0f commit e42be9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions intranet/apps/schedule/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def week_data(request, date=None):
data = {"days": days, "next_week": next_week, "last_week": last_week, "today": today}
return data


def month_data(request):
if request and 'date' in request.GET:
first_date = decode_date(request.GET['date']) + relativedelta(day=1)
Expand All @@ -167,6 +168,7 @@ def month_data(request):
data = {"weeks": [week1, week2, week3, week4, week5], "next_month": next_month, "last_month": last_month, "current_month": month}
return data


@login_required
def calendar_view(request):
data = {}
Expand Down

0 comments on commit e42be9d

Please sign in to comment.