Console OpenVPN, développée en Django
Permet de gérer des instances, serveurs, et comptes OpenVPN
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
"Decorator for views that gzips pages if the client supports it." |
|
|
|
from django.utils.decorators import decorator_from_middleware |
|
from django.middleware.gzip import GZipMiddleware |
|
|
|
gzip_page = decorator_from_middleware(GZipMiddleware)
|
|
|