Changes between Version 13 and Version 14 of Fixtures


Ignore:
Timestamp:
Jul 11, 2019, 4:46:04 PM (5 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