Enhance migration process for rapids to shorts; skip normal rapids and provide user feedback on migration status
This commit is contained in:
@@ -302,6 +302,10 @@ class Question(QuestionBase):
|
||||
|
||||
from rapids.models import Answer as RapidAnswer
|
||||
|
||||
# Skip migration for normal rapids (nothing to migrate)
|
||||
if getattr(rapid, "normal", False):
|
||||
return None
|
||||
|
||||
guidance_parts = []
|
||||
guidance_parts.append(f"Migrated from rapid id: {rapid.id}")
|
||||
if rapid.laterality:
|
||||
|
||||
Reference in New Issue
Block a user