This is probably a general django/ nginx/ gunicorn/ ubuntu issue, but I don't know the clear answer to this. Put a print statement in a view, see if that page causes a server error. If so, prune any remaining print statements.
(I use print statements prolifically in development; they occasionally stay in production code. I'll install django-debug-toolbar to minimize this, and clean up my overall development practice.)
This is probably a general django/ nginx/ gunicorn/ ubuntu issue, but I don't know the clear answer to this. Put a print statement in a view, see if that page causes a server error. If so, prune any remaining print statements.
(I use print statements prolifically in development; they occasionally stay in production code. I'll install django-debug-toolbar to minimize this, and clean up my overall development practice.)