Django and uwsgi shows 502 on production only for specific URLs
Django and uwsgi shows 502 on production only for specific URLs I recently upgraded Django to 1.8 and Celery to 4.1.1. After the upgrade, I am getting 502 error on server for only one url. I am using uwsgi . Here is some of the code. The URL I am getting problem with is judging/ uwsgi judging/ urlpatterns = patterns('lbb.views', url(r'^judging/', include('judging.urls')), ) urls.py in judging app urlpatterns = patterns('judging.views', url(r'^$', AppView.as_view(), name='judge_home') ) the view is class AppView(TemplateView): template_name = 'judging/app.html' def get(self, request, *args, **kwargs): """ method get of class JudgeLoginView """ if not request.user.is_authenticated(): url="%s?next=%s" % (reverse("judge_login"), '/judging/#/judge_home') return redirect(url) return super(AppView, self).get(self, req...