>>>First of all, create a new thread instead of just highjacking an existing one.
I have created this thread. I didn't use the existing thread. >>>Second of all, set up some logging on your development server: Thanks for the suggestion. I will add logging and look for the error message. Thanks Kannan On Fri, Mar 5, 2021 at 11:08 AM Kasper Laudrup <laud...@stacktrace.dk> wrote: > On 05/03/2021 17.01, dupakoor kannan wrote: > > I have a form where users submit protein sequences that are stored in > > the user_submission model. In Django admin, I have added a custom list > > display naming_algorithm (like below). It takes the obj. sequence and > > runs an external script and displays the output in HTML. It works > > locally well. When I try to use it on the production server it shows > > nginx 502 Bad Gateway. FYI: I use nginx and uWSGI for deployment. Please > > let me know if you need any other information. > > > > First of all, create a new thread instead of just highjacking an > existing one. As far as I can tell, your problem is no way related to > the original thread. > > Second of all, set up some logging on your development server: > > https://uwsgi.readthedocs.io/en/latest/Logging.html > > Most likely there will be some error in the logs that should make it > clear what the cause of the error is, if not, feel free to post the > relevant error message here and I'm sure someone will be happy to help. > > Kind regards, > > Kasper Laudrup > > -- > 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/7f412a74-2204-b894-8f8e-18bacf489e17%40stacktrace.dk > . > -- 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/CADiZb_dQ3Ui9PEb%2BGL5SFZ2CuJFGeZJsRU_R6v9sRx0E6KffmA%40mail.gmail.com.