[Django] #30814: dampdata > flush > loaddata

7 views
Skip to first unread message

Django

unread,
Sep 28, 2019, 4:56:27 AM9/28/19
to django-...@googlegroups.com
#30814: dampdata > flush > loaddata
-------------------------------------+-------------------------------------
Reporter: Maksych | Owner: nobody
Type: Bug | Status: new
Component: Core | Version: 2.2
(Management commands) |
Severity: Normal | Keywords: flush
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
My full actions:
{{{
django-admin startproject project .
python manage.py makemigrations
python manage.py migrate
python manage.py dumpdata > db.json
python manage.py loaddata db.json
}}}
And all it's okay, but after:
{{{
python manage.py flush
python manage.py loaddata db.json
}}}
Raised exception because content-types after flush is diferent betwen
after migrate.

--
Ticket URL: <https://code.djangoproject.com/ticket/30814>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 28, 2019, 8:45:50 AM9/28/19
to django-...@googlegroups.com
#30814: dampdata > flush > loaddata
-------------------------------------+-------------------------------------
Reporter: Maksych | Owner: nobody
Type: Bug | Status: closed
Component: Core (Management | Version: 2.2
commands) |
Severity: Normal | Resolution: duplicate
Keywords: flush | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

* status: new => closed
* resolution: => duplicate


Comment:

No need to duplicate tickets, the discussion happens on #30813.

--
Ticket URL: <https://code.djangoproject.com/ticket/30814#comment:1>

Reply all
Reply to author
Forward
0 new messages