code: def get_edit_url(self):
          
          return reverse('trionyx:model-edit', kwargs={
              'app': self.get_app_label(),
              'model': self.get_model_name(),
              'pk': self.object.id
          })
docs: Get model object edit url