Skip to content

Commit 783f3aa

Browse files
committed
Provide view_name on PythonPublicationSerializer
[noissue]
1 parent c1caabc commit 783f3aa

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)