Wednesday, July 14, 2021

Reg:- django application optimization

Hi Team,

We are new to Django & Python application. Recently we are migrate from PHP. We are  developed the application in Django / MySQL / UWSGI. 

Please guide us for following items.

1. Enabling Error Page. 
  • We did debug = False. But we are not able to access any media items using the URL. - Please give any suggestion to for both
  • We are running the uwsgi application using this comment - uwsgi --http :8000 --module XXXX.wsgi --logto /var/www/html/arbllog.log &
  • But we are getting only access log in the corresponding log file. If we enable  debug = True then we are getting both access & error log. But customer will get the python error page. Please let us know how can we achieve this?
2. Performance Optimization
  • What are the parameters we need to include it in uwsgi.ini file inside the application folder. Please share the sample ini file & steps to optimize the python application.
Thanks in advance.



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPPQ_igWmAAKv4pCw%3DXYqbfBevFssy-ZQERX7T%3Dpk%3DvzrmNM2w%40mail.gmail.com.

No comments:

Post a Comment