Project

Profile

Help

Issue #4127

Choices helptext is not DRY

Added by bmbouter 12 months ago. Updated 6 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

The Task model has a 'state' attribute that uses pulpcore.constants.TASK_STATES and pulpcore.constants.TASK_CHOICES.

Note that the help text is duplicated so it won't be in consistent over time. The first place is here the second place is here

We also are going to have the same problem since this PR follows this pattern too: https://github.com/pulp/pulp/pull/3738

How do we make this DRY?

History

#1 Updated by CodeHeeler 12 months ago

  • Triaged changed from No to Yes

#2 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF