mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
PEP8
Signed-off-by: Jason Myers <jason@jasonamyers.com>
This commit is contained in:
parent
8eec2d93b6
commit
3f115776e1
16 changed files with 172 additions and 5 deletions
|
@ -44,7 +44,7 @@ full_decorator = compose(
|
|||
vary_on_cookie,
|
||||
|
||||
# django.views.decorators.cache
|
||||
cache_page(60*15),
|
||||
cache_page(60 * 15),
|
||||
cache_control(private=True),
|
||||
never_cache,
|
||||
|
||||
|
@ -65,6 +65,7 @@ full_decorator = compose(
|
|||
|
||||
fully_decorated = full_decorator(fully_decorated)
|
||||
|
||||
|
||||
class DecoratorsTest(TestCase):
|
||||
|
||||
def test_attributes(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue