Re: Reg:- django application optimization

2021-07-14 Thread Senthil Kumar
*Hi Ramadhan,* Thanks for your reply. It means all media related items should be placed in Apache server (var/www/html/media) path. Thank you. On Thu, Jul 15, 2021 at 1:00 AM ramadhan ngallen wrote: > On development django handle media/static files usong staticfiles app but > on production (d

Re: Reg:- django application optimization

2021-07-14 Thread ramadhan ngallen
On development django handle media/static files usong staticfiles app but on production (debug=False) you have to use server like apache/nginx to handle static files (security reason) On logger file depends on the way you write you handle how to write log files On 14 Jul 2021, 16:34 +0300, Sent

Re: Stuck with Django on a Synology Diskstation

2021-07-14 Thread Tony Chang
Dear MH, I also stuck here. When I run *~*# python3 -m pip install mod-wsgi I got the same error message: RuntimeError: The 'apxs' command appears not to be installed or is not executable. Please check the list of prerequisites in the documentation for this package and install any missing Apa

Re: Email Form with attachments

2021-07-14 Thread khokon dev
fasfas On Monday, July 5, 2021 at 3:35:30 AM UTC+6 guitard...@gmail.com wrote: > Attachments need to be written to mail headers using MIME. > > This article gives a good breakdown > https://stackoverflow.com/questions/1633109/creating-a-mime-email-template-with-images-to-send-with-python-django

Reg:- django application optimization

2021-07-14 Thread Senthil Kumar
*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