Skip to content

Add management commands#1851

Open
becky-gilbert wants to merge 2 commits intodevelopfrom
add-mgmt-commands
Open

Add management commands#1851
becky-gilbert wants to merge 2 commits intodevelopfrom
add-mgmt-commands

Conversation

@becky-gilbert
Copy link
Contributor

This PR adds two management commands:

  • get_user_data: This takes a User ID and generates all of the data that is directly associated with that User object and their related Child objects. This includes: the User object, related Demographic Data objects, related Child objects, Response objects for each Child, Feedback/Video/ConsentRuling objects for each Child/Response, and Message objects that were sent to the User and/or related to one of the Child objects.
  • delete_video: This takes a video file name and/or UUID and safely deletes it from the database. You can also optionally immediately delete it from S3, otherwise the database deletion will trigger the S3 deletion in 7 days.

@becky-gilbert becky-gilbert marked this pull request as ready for review March 6, 2026 23:14
@becky-gilbert becky-gilbert self-assigned this Mar 6, 2026
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 6, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant