Skip to content

Commit

Permalink
refs #12: print functions in all the places
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Ward committed Mar 18, 2013
1 parent 727a8ac commit d07d8b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example/exampleapp/views.py
@@ -1,3 +1,5 @@
from __future__ import print_function

from django.contrib.flatpages.views import flatpage
from django.contrib.flatpages.models import FlatPage

Expand All @@ -12,5 +14,5 @@ def top_secret(request, url, lala=None):
"""
A wrapping view that performs the permission check given in the decorator
"""
print "secret!"
print("secret!")
return flatpage(request, url)

0 comments on commit d07d8b6

Please sign in to comment.