from django.http import HttpResponse
from django.core import serializers
from django.views import generic

from liveblog.models import Update

def updates_after(request,id):
	response=HttpResponse()
	response['Content-Type']="text/javascript"
	response.write(serializers.serialize("json",Update.objects.filter(pk__gt=id)))

class IndexView(generic.ListView):
	template_name='liveblog/update_list.html'
	def get_queryset(self):
		return Update.objects.all()

59a3c33e653ad87aef9ad574ddb9300d4c483b03
<mask token>


class IndexView(generic.ListView):
    <mask token>
    <mask token>

<mask token>


class IndexView(generic.ListView):
    template_name = 'liveblog/update_list.html'

    def get_queryset(self):
        return Update.objects.all()

<mask token>


def updates_after(request, id):
    response = HttpResponse()
    response['Content-Type'] = 'text/javascript'
    response.write(serializers.serialize('json', Update.objects.filter(
        pk__gt=id)))


class IndexView(generic.ListView):
    template_name = 'liveblog/update_list.html'

    def get_queryset(self):
        return Update.objects.all()

from django.http import HttpResponse
from django.core import serializers
from django.views import generic
from liveblog.models import Update


def updates_after(request, id):
    response = HttpResponse()
    response['Content-Type'] = 'text/javascript'
    response.write(serializers.serialize('json', Update.objects.filter(
        pk__gt=id)))


class IndexView(generic.ListView):
    template_name = 'liveblog/update_list.html'

    def get_queryset(self):
        return Update.objects.all()

from django.http import HttpResponse
from django.core import serializers
from django.views import generic

from liveblog.models import Update

def updates_after(request,id):
	response=HttpResponse()
	response['Content-Type']="text/javascript"
	response.write(serializers.serialize("json",Update.objects.filter(pk__gt=id)))

class IndexView(generic.ListView):
	template_name='liveblog/update_list.html'
	def get_queryset(self):
		return Update.objects.all()
