Changes between Version 13 and Version 14 of Fixtures


Ignore:
Timestamp:
07/11/19 21:46:04 (3 years ago)
Author:
Daniel A. Maierhofer
Comment:

reset is deprecated

Legend:

Unmodified
Added
Removed
Modified
  • Fixtures

    v13 v14  
    44
    55Fixtures are very powerful to play with your database sample data during development process.
    6 After each '''python manage.py reset <myapp>''' command you need to populate database with sample data again and again using admin interface. It's quite boring, isn't it?
     6After each '''python manage.py flush <myapp>''' command you need to populate database with sample data again and again using admin interface. It's quite boring, isn't it?
    77With fixtures our life became more comfortable and easy. Look at this example.
    88Lets imagine that you have some data in db. We can dump it, even if your models have ForeignKeys or any kind of *To* relations.
Back to Top