dropdown style fix

This commit is contained in:
Arvind Tiwari 2017-08-31 23:42:18 +05:30
commit e94f9a5d2b
2 changed files with 12 additions and 3 deletions

View file

@ -380,8 +380,8 @@ class PaymentOrderView(FormView):
@cache_control(no_cache=True, must_revalidate=True, no_store=True)
def get(self, request, *args, **kwargs):
if 'specs' not in request.session or 'user' not in request.session:
return HttpResponseRedirect(reverse('datacenterlight:index'))
# if 'specs' not in request.session or 'user' not in request.session:
# return HttpResponseRedirect(reverse('datacenterlight:index'))
return self.render_to_response(self.get_context_data())
def post(self, request, *args, **kwargs):