mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 03:01:06 -03:30
Merge pull request #2845 from ryanpetrello/remove-named-url-note
remove extraneous OPTIONS content re: the new named URL feature
This commit is contained in:
@@ -390,7 +390,6 @@ class GenericAPIView(generics.GenericAPIView, APIView):
|
|||||||
]:
|
]:
|
||||||
d[key] = self.metadata_class().get_serializer_info(serializer, method=method)
|
d[key] = self.metadata_class().get_serializer_info(serializer, method=method)
|
||||||
d['settings'] = settings
|
d['settings'] = settings
|
||||||
d['has_named_url'] = self.model in settings.NAMED_URL_GRAPH
|
|
||||||
return d
|
return d
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,3 @@
|
|||||||
{% if has_named_url %}
|
|
||||||
### Note: starting from api v2, this resource object can be accessed via its named URL.
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
# Retrieve {{ model_verbose_name|title|anora }}:
|
# Retrieve {{ model_verbose_name|title|anora }}:
|
||||||
|
|
||||||
Make GET request to this resource to retrieve a single {{ model_verbose_name }}
|
Make GET request to this resource to retrieve a single {{ model_verbose_name }}
|
||||||
|
|||||||
@@ -1,7 +1,3 @@
|
|||||||
{% if has_named_url %}
|
|
||||||
### Note: starting from api v2, this resource object can be accessed via its named URL.
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% ifmeth GET %}
|
{% ifmeth GET %}
|
||||||
# Retrieve {{ model_verbose_name|title|anora }}:
|
# Retrieve {{ model_verbose_name|title|anora }}:
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,3 @@
|
|||||||
{% if has_named_url %}
|
|
||||||
### Note: starting from api v2, this resource object can be accessed via its named URL.
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% ifmeth GET %}
|
{% ifmeth GET %}
|
||||||
# Retrieve {{ model_verbose_name|title|anora }}:
|
# Retrieve {{ model_verbose_name|title|anora }}:
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,3 @@
|
|||||||
{% if has_named_url %}
|
|
||||||
### Note: starting from api v2, this resource object can be accessed via its named URL.
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% ifmeth GET %}
|
{% ifmeth GET %}
|
||||||
# Retrieve {{ model_verbose_name|title|anora }}:
|
# Retrieve {{ model_verbose_name|title|anora }}:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user