*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 <ngall...@gmail.com> wrote:

> 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, Senthil Kumar <senthilcse7...@gmail.com>,
> wrote:
>
> *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+unsubscr...@googlegroups.com
> <https://mailto:django-users+unsubscr...@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
> <https://groups.google.com/d/msgid/django-users/CAPPQ_igWmAAKv4pCw%3DXYqbfBevFssy-ZQERX7T%3Dpk%3DvzrmNM2w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9d5fbbe9-77ed-419d-883b-0feaaeb8624d%40Spark
> <https://groups.google.com/d/msgid/django-users/9d5fbbe9-77ed-419d-883b-0feaaeb8624d%40Spark?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPPQ_ihcT5U1ABQu0yyKF4FAOCFmipj-ifAKOGDejqevr32JQA%40mail.gmail.com.

Reply via email to