Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS125 Honors Project Illini TIX Austin Kramer Peter Kowalczyk Rohan Kapoor Jay Bensal.

Similar presentations

Presentation on theme: "CS125 Honors Project Illini TIX Austin Kramer Peter Kowalczyk Rohan Kapoor Jay Bensal."— Presentation transcript:

1 CS125 Honors Project Illini TIX Austin Kramer Peter Kowalczyk Rohan Kapoor Jay Bensal

2 Right Now Currently, many student tickets for sale via Facebook. Market is defined; other students only. Lots of hit and miss. Inefficient way to meet sellers/buyers of tickets on Facebook.

3 Right Now ( cont.) Tickets are often sold in a matter of minutes. No way to organize posts by game, cost, location, etc. Problem of coordinating in real-time. Requires a lot of work on users part. e.g. commenting on multiple posts.


5 Goals & Accomplishments - Change how tickets are sold by students on campus! - Learn web development, Django - Took a strong first step - Gained some experience


7 How We Built it Languages - Python, JavaScript, HTML, CSS Web Framework - Django (uses Python) CSS Library - Bootstrap from Twitter

8 Code: Django Models class Ticket(models.Model): """A ticket that students can exchange.""" event = models.ForeignKey(Event) available = models.BooleanField() seat_location = models.CharField(max_length=20) sell_location = models.CharField(max_length=40) price = models.IntegerField() seller = models.ForeignKey(User, related_name='+', null=True) buyer = models.ForeignKey(User, related_name='+', null=True) creation_time = models.DateTimeField()

9 Code: Views @login_required def ticket_add(request): if request.method == 'POST': form = tix.forms.TicketForm(request.POST) if form.is_valid(): t = tix.models.Ticket() t.available = True t.seat_location = form.cleaned_data['seat_location'] t.price = form.cleaned_data['price'] t.sell_location = form.cleaned_data['sell_location'] t.event = form.cleaned_data['event'] t.creation_time = t.seller = request.user return HttpResponseRedirect('/ticket/posted/')

10 Code: Availability Check {% for t in ticket_list %} {% if t.available %} {{ t.seller.first_name }} {{ t.seller.last_name }} {{ t.seat_location }} {{ t.sell_location }} ${{ t.price }} {% endif %} {% endfor %}

11 Code: Email if form.is_valid(): subject = form.cleaned_data['subject'] message = form.cleaned_data['message'] sender = form.cleaned_data['sender'] cc_myself = form.cleaned_data['cc_myself'] recipients = [''] if cc_myself: recipients.append(sender) send_mail(subject, message, sender, recipients) return HttpResponseRedirect('/thanks/')

12 Complications - Git commits, pulls, and merges - Constant updates to the Database - Deployment to Web Server - Unclear idea of vision for Android App

13 What we learnt - First project built for other people. - GitHub and collaborative code editing - Team workflow and managing dynamics - Designing own user authentication system is painful

14 Future Plans - Keep the site live; iterative improvements - Redesigned Android App - Facebook Integration for log in - Text messaging integration - Different sorts on website e.g. seat section - View tickets by selling location(on Google Maps)

Download ppt "CS125 Honors Project Illini TIX Austin Kramer Peter Kowalczyk Rohan Kapoor Jay Bensal."

Similar presentations

Ads by Google