|
@ -138,7 +138,7 @@ def choice_models_in_extenal_views(): |
|
|
return result |
|
|
return result |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CompMixin(object): |
|
|
class CompMixin: |
|
|
|
|
|
|
|
|
@property |
|
|
@property |
|
|
def title(self): |
|
|
def title(self): |
|
@ -1002,7 +1002,7 @@ class DispositivoEditView(TextEditView): |
|
|
return result |
|
|
return result |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ActionsEditMixin(object): |
|
|
class ActionsEditMixin: |
|
|
|
|
|
|
|
|
def render_to_json_response(self, context, **response_kwargs): |
|
|
def render_to_json_response(self, context, **response_kwargs): |
|
|
|
|
|
|
|
@ -1346,7 +1346,7 @@ class ActionsEditView(ActionsEditMixin, TemplateView): |
|
|
return self.render_to_json_response(context, **response_kwargs) |
|
|
return self.render_to_json_response(context, **response_kwargs) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class DispositivoSuccessUrlMixin(object): |
|
|
class DispositivoSuccessUrlMixin: |
|
|
|
|
|
|
|
|
def get_success_url(self): |
|
|
def get_success_url(self): |
|
|
return reverse_lazy( |
|
|
return reverse_lazy( |
|
|