I deployed an application in openshift and basically the same is a crud, what happens, whenever I try to register a new client the server returns me "server error 500", can someone tell me why this error? , I'm finding that the problem may be due to my get_absolute_url in my models, the problem is that the application locally runs smoothly, but in the air it does not return this error.
detail I'm using generic views:
#views.py
class ListView(LoginRequiredMixin, ClientMixin, ListView):
template_name = 'core/client_list.html'
context_object_name = 'clients'
paginate_by = 10
#models.py
def get_absolute_url(self):
return reverse_lazy("profile_view")