25. Django 1.8 Server Build - CentOS 7 hosted on VPS - Facebook open graph API timeline fan page custom tab 4 (Django side - urls.py, settings.py, and views.py)

bogotobogo.com site search:
Note
We'll continue from 24. Facebook open graph API timeline fan page custom tab 3 (Django side - urls.py, settings.py, and views.py).
In that chapter, we finally have a functional page for Facebook Tab page.

So, in that chapter, we continue to work on Django side and display more info after getting data from our Django powered server.
view.py
Let's custom-facebool-tab/views.py for our Facebook Tab Page:
from django.shortcuts import render_to_response from django.template import RequestContext from django.views.decorators.csrf import csrf_exempt from car.models import Car @csrf_exempt def SfvueCars(request): cars = Car.objects.all().order_by('name') context = {'cars': cars} return render_to_response('sfvueCars.html')
Ph.D. / Golden Gate Ave, San Francisco / Seoul National Univ / Carnegie Mellon / UC Berkeley / DevOps / Deep Learning / Visualization