Introducing new layout generic forms.
[wolnelektury.git] / src / annoy / utils.py
1 from functools import wraps
2
3
4 def banner_exempt(view):
5     @wraps(view)
6     def wrapped(request, *args, **kwargs):
7         request.annoy_banner_exempt = True
8         return view(request, *args, **kwargs)
9     return wrapped