Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/d/j/django-downloadview-HEAD/demo/demoproject/nginx/tests.py   django-downloadview(Download)
import django.test
 
from django_downloadview.nginx import assert_x_accel_redirect
 
from demoproject.nginx.views import storage, storage_dir
        response = self.client.get(url)
        assert_x_accel_redirect(
            self,
            response,
            content_type="text/plain; charset=utf-8",
        response = self.client.get(url)
        assert_x_accel_redirect(
            self,
            response,
            content_type="text/plain; charset=utf-8",