[Python] Temporarily load a fixture for development

Discussão em 'Python' iniciado por Stack, Janeiro 23, 2025.

  1. Stack

    Stack Membro Participativo

    I would like to create a lot of dummy products for use in development.

    The dummy products need to be in the development database, in addition to a copy of all of the data that the production database has, so that I can see what the dummy products will look like in the website.

    How can I do this easily?

    I've looked into fixtures, but I can't figure out how to "apply" a fixture on top of a copy of the production database, and how I might be able to unapply it when I'm done with that part of development.

    Continue reading...

Compartilhe esta Página