This question already has answers here: Can one use the Django database layer outside of Django? (12 answers)
Here\'s the scenario: I\'m using django\'s admin interface and I would like to be able to load users and groups via fixtures (if this is possible.) I\'m able to dump users/groups like so:
I\'m loading a fixture created with dumpdata, and getting the following exception: Problem installing fixture \'db_dump.json\': Traceback (most recent call last):
I\'m working on an online form builder tool (specifically for insurance agents).One of the things we would like to offer our customers is to have pre-built forms for common products (auto, home, life,
I\'m using fixtures in my Django application but only two apps are getting their fixtures loaded. When I manually run loaddata with --verbosit开发者_开发技巧y=2 I can see that it only looks in two ap
To be able to do some decent unittests I want to create a testdatabase. After reading the Django docs, I came to the conclusion that the best way to do this is by creating a testdatabase from the actu
I have an initial_data fixture that I want to load everytime except for production. I already have different settings file for production and non-production deployments.
I have delusions that I\'ve seen it in some piece of code and it\'s so开发者_高级运维me variable\'s state. Example usage would be in signal handlers.I haven\'t checked it out yet, but from this discus
Could anyone points out the docs which describes how the 开发者_开发问答fixture can be done with XML?Do a manage.py dumpdata --format=xml --indent=4 and you will see the xml output, which you can also
I\'m trying to add generic relations and one-to-one relations support for django-test-utils makefixture command, here is the source http://github.co开发者_如何学Cm/ericholscher/django-test-utils/blob/