django-fixtures
What is the best way to continuously export information from a Scrapy crawler to a Django application database? [duplicate]
This question already has answers here: Can one use the Django database layer outside of Django? (12 answers)[详细]
2023-03-24 10:54 分类:问答Migrating django admin auth.groups and users to a new database using fixtures
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:[详细]
2023-03-23 01:07 分类:问答IntegrityError when loading fixture during django testing
I\'m loading a fixture created with dumpdata, and getting the following exception: Problem installing fixture \'db_dump.json\': Traceback (most recent call last):[详细]
2023-03-14 15:24 分类:问答Import data into Django model with existing data?
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,[详细]
2023-03-04 20:41 分类:问答How to load Django fixtures from all apps?
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[详细]
2023-02-14 20:45 分类:问答manage.py datadump of a large database in Django 1.1 (creating testdatabase)
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[详细]
2023-02-13 23:30 分类:问答Have different initial_data fixtures for different stages (testing v. production)
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.[详细]
2023-02-05 04:35 分类:问答How to recognize that Django fixtures loading is ongoing?
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[详细]
2023-01-23 06:53 分类:问答Django - Fixtures in XML
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[详细]
2023-01-23 01:30 分类:问答Django, generic relations, make fixtures
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/[详细]
2023-01-18 02:04 分类:问答