Custom PumpWood Static Files Serve Functions¶
-
pumpwood_viewutils.serve.
serve_X_Accel_protected
(self, request, *args, **kwargs)¶ Verify if user is logged and serve files in Ngnix using X-Accel to avoid django overhead
-
pumpwood_viewutils.serve.
serve_X_Accel_unprotected
(self, request, *args, **kwargs)¶ Serve files in Ngnix using X-Accel to avoid django overhead