2

Is there a way or any modules available to do dumpdata of all models filtered by date? For example, between a range of dates or the dates greater|lesser than the given.

limiting-the-amount-of-fixtures-in-django-dumpdata deals with the ID and also the explicit model names as arguments.

I'm not meaning the Django/Python datetime fields. I'm assuming there might be a native support of date and time to keep track when the record is added in the database. And I use postgres.

Community
  • 1
  • 1
Babu
  • 2,548
  • 3
  • 30
  • 47

1 Answers1

0

There is no other way to limit the dataset by a range of dates.

Babu
  • 2,548
  • 3
  • 30
  • 47