Skip to content

Commit 95b4426

Browse files
authored
Merge pull request #299 from mdellweg/provide_view_name_pattern
Provide view_name on PythonPublicationSerializer
2 parents 7277344 + 783f3aa commit 95b4426

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pulp_python/app/serializers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ class PythonPublicationSerializer(core_serializers.PublicationSerializer):
322322
help_text=_('This publication is currently being hosted as configured by these '
323323
'distributions.'),
324324
source="python_pythondistribution",
325+
view_name="filedistributions-detail",
325326
many=True,
326327
read_only=True,
327328
)

0 commit comments

Comments
 (0)