Skip to content

remove dynamic part of defaultmediabulkname#233

Merged
paigewilliams merged 1 commit intodevelopfrom
fix-defaultmediabulkname
Mar 4, 2026
Merged

remove dynamic part of defaultmediabulkname#233
paigewilliams merged 1 commit intodevelopfrom
fix-defaultmediabulkname

Conversation

@paigewilliams
Copy link
Copy Markdown
Collaborator

asana task

This was bugging me, decided to fix it before needing more migrations

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR stabilizes the default value for MediaBulkUpload.mediabulkname by removing the date-based string that caused repeated migrations over time.

Changes:

  • Update MediaBulkUpload.defaultmediabulkname to a constant string ("Bulk Media Upload").
  • Add a Django migration updating the mediabulkname field default to match the new constant.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
TEKDB/TEKDB/models.py Replaces a date-evaluated default name with a stable constant.
TEKDB/TEKDB/migrations/0027_alter_mediabulkupload_mediabulkname.py Alters the mediabulkname field default to "Bulk Media Upload" to align migration state with the model.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@paigewilliams paigewilliams merged commit 9b3da45 into develop Mar 4, 2026
7 checks passed
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.

3 participants