Skip to content

Commit

Permalink
Add CONTENT_TYPES to repo definition
Browse files Browse the repository at this point in the history
  • Loading branch information
dralley committed Dec 6, 2019
1 parent 9d26d32 commit 3ad9302
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES/5701.misc
@@ -0,0 +1 @@
Added CONTENT_TYPES to the AnsibleRepository definition.
1 change: 1 addition & 0 deletions pulp_ansible/app/models.py
Expand Up @@ -213,6 +213,7 @@ class AnsibleRepository(Repository):
"""

TYPE = "ansible"
CONTENT_TYPES = [Role, CollectionVersion]

class Meta:
default_related_name = "%(app_label)s_%(model_name)s"
Expand Down

0 comments on commit 3ad9302

Please sign in to comment.