ansible / eda-server

Event Driven Ansible for AAP
Apache License 2.0
66 stars 42 forks source link

fix: add router_basename for models with compound words #949

Closed bzwei closed 3 months ago

bzwei commented 3 months ago

It helps to reverse the url to access the resource

Needed by https://github.com/ansible/django-ansible-base/blob/devel/ansible_base/lib/abstract_models/common.py#L21

AAP-25487: Role user assignment response missing content_object except for Activations

bzwei commented 3 months ago

Why shouldn't we have this field defined in all our exposed models?

Adding this field to single word models does not change the resulting base name, but yes we can do this to all exposed models.