Test Presentation

?

  • 1
  • 2

...OK

  • yolo
    • 1
    • 2
    • 3
    • 4
  • YOLO YOLO

YOLO TOLO POLO

                    
# Fabric - restrict task execution to specific hosts
from fabric import env
from fabric.decorators import hosts

@hosts('host1', 'host2')
def my_task():
    print env.host

# Django authentication system
from django.contrib.auth.decorators import login_required
# Django gzip compression on a view
from django.views.decorators.gzip import gzip_page

@login_required
@gzip_page
def my_view(request):
    """
    This view requires an active session
    and will return compressed output
    """
                    
                    

Thanks!

https://github.com/rpk0

@rpk0_