Skip to content
mgaitan edited this page Oct 4, 2014 · 1 revision
print ("hello world")
print ("It's great")
@cache_page(60 * 60* 5)
def views_count(request, obj_pk):
    #http://stackoverflow.com/questions/17993604/signedjwtassertioncredentials-on-appengine-doesnt-recognize-pem-key
    settings = GoogleAnalitycsSettings.objects.all()

    if settings:
        settings = settings[0]
    else:
        return HttpResponseBadRequest("Bad request")

Editing from https://github.com/mgaitan/waliki/wiki/saracita

Clone this wiki locally