mirror of
https://github.com/jazzband/django-authority.git
synced 2026-03-16 22:20:28 +00:00
refs #12: print functions in all the places
This commit is contained in:
parent
727a8ac6de
commit
d07d8b6f90
1 changed files with 3 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
|||
from __future__ import print_function
|
||||
|
||||
from django.contrib.flatpages.views import flatpage
|
||||
from django.contrib.flatpages.models import FlatPage
|
||||
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue