Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add fixtures #2641

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

feat: add fixtures #2641

wants to merge 2 commits into from

Conversation

JacobCoffee
Copy link
Member

@JacobCoffee JacobCoffee commented Oct 8, 2024

Description

  • Export fixture so that dev envs will auto load a test sponsor app for the admin user
  • Export fixture for events

@JacobCoffee JacobCoffee changed the title feat: add admin user sponsor app generated in dev feat: add fixtures Oct 8, 2024
"fields": {
"polymorphic_ctype": 79,
"uuid": "b18bfddc-e6de-4d9f-977c-68c35c537de7",
"content_type": 60,
Copy link
Member

Choose a reason for hiding this comment

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

Hm, just a word of warning that content_type ids are fairly unstable and prone to change.

I'd suggest trying to see if a dump using --natural-primary --natural-foreign can be re-loaded to avoid the inevitable headache of this fixture breaking when a new content type is introduced.

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.

2 participants