Update event.py

Calendar Bug: When you create an event and repeat it to a certain date, it repeats the event from the start date to the last day of the calendar on the page.

Fix: it gets the repeat_till data from the database and limits the event to the proposed date.