Skip to content

Conversation

@calumbell
Copy link
Contributor

Description

This PR adds a "type" field to the Document model for the purpose of easily seperating Open5e source data ("type": "SOURCE") from auxilary assets that are used to support the operation of the Open5e website ("type": "MISC"). This setup will allow the two types of Documents to be easily seperated on the front-end by, for example, the Source Selector UI.

Related Issue

Closes #756

How was this tested?

  • pytest (many test cases needed to be updated to reflect the changes to the Document model. Once this was accounted for all tests are passing)
  • Spot checked on local Django develpoment server

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.

Need a way to hide documents from response

1 participant