[Django] #21799: loaddata ignorenonexistent should ignore missing models too

28 views
Skip to first unread message

Django

unread,
Jan 17, 2014, 11:35:12 AM1/17/14
to django-...@googlegroups.com
#21799: loaddata ignorenonexistent should ignore missing models too
----------------------------------+----------------------------------------
Reporter: | Owner: nobody
michael.clagett@… | Status: new
Type: Uncategorized | Version: 1.6
Component: Uncategorized | Keywords: loaddata ignorenonexistent
Severity: Normal | Has patch: 0
Triage Stage: Unreviewed | UI/UX: 0
Easy pickings: 0 |
----------------------------------+----------------------------------------
As an extension of https://code.djangoproject.com/ticket/9279 , I'd like
to propose that the ignorenonexistent flag for loaddata gracefully handle
fixtures for models that don't exist.

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

Django

unread,
Jan 17, 2014, 11:36:33 AM1/17/14
to django-...@googlegroups.com
#21799: loaddata ignorenonexistent should ignore missing models too
-------------------------------------+-------------------------------------
Reporter: michael.clagett@… | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.6
Severity: Normal | Resolution:
Keywords: loaddata | Triage Stage:
ignorenonexistent | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by anonymous):

* needs_better_patch: => 0
* needs_tests: => 0
* easy: 0 => 1
* needs_docs: => 0


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

Django

unread,
Jan 23, 2014, 4:02:49 PM1/23/14
to django-...@googlegroups.com
#21799: loaddata ignorenonexistent should ignore missing models too
-------------------------------------+-------------------------------------
Reporter: michael.clagett@… | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: 1.6
Component: Core | Resolution:
(Serialization) | Triage Stage:
Severity: Normal | Unreviewed
Keywords: loaddata | Needs documentation: 0
ignorenonexistent | Patch needs improvement: 0
Has patch: 0 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 1 |
-------------------------------------+-------------------------------------
Changes (by esauro):

* type: Uncategorized => Cleanup/optimization
* component: Uncategorized => Core (Serialization)


--
Ticket URL: <https://code.djangoproject.com/ticket/21799#comment:2>

Django

unread,
Jan 31, 2014, 12:54:50 PM1/31/14
to django-...@googlegroups.com
#21799: loaddata ignorenonexistent should ignore missing models too
-------------------------------------+-------------------------------------
Reporter: michael.clagett@… | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: master
Component: Core | Resolution:
(Serialization) | Triage Stage: Accepted
Severity: Normal | Needs documentation: 0
Keywords: loaddata | Patch needs improvement: 0
ignorenonexistent | UI/UX: 0
Has patch: 0 |
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by timo):

* version: 1.6 => master
* easy: 1 => 0
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/21799#comment:3>

Django

unread,
Feb 21, 2014, 1:34:30 AM2/21/14
to django-...@googlegroups.com
#21799: loaddata ignorenonexistent should ignore missing models too
-------------------------------------+-------------------------------------
Reporter: michael.clagett@… | Owner: esauro
Type: | Status: assigned

Cleanup/optimization | Version: master
Component: Core | Resolution:
(Serialization) | Triage Stage: Accepted
Severity: Normal | Needs documentation: 0
Keywords: loaddata | Patch needs improvement: 0
ignorenonexistent | UI/UX: 0
Has patch: 0 |
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by esauro):

* owner: nobody => esauro
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/21799#comment:4>

Django

unread,
Feb 21, 2014, 1:57:36 AM2/21/14
to django-...@googlegroups.com
#21799: loaddata ignorenonexistent should ignore missing models too
-------------------------------------+-------------------------------------
Reporter: michael.clagett@… | Owner: esauro
Type: | Status: assigned
Cleanup/optimization | Version: master
Component: Core | Resolution:
(Serialization) | Triage Stage: Accepted
Severity: Normal | Needs documentation: 0
Keywords: loaddata | Patch needs improvement: 0
ignorenonexistent | UI/UX: 0
Has patch: 0 |
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by esauro):

I created a pull request https://github.com/django/django/pull/2335

--
Ticket URL: <https://code.djangoproject.com/ticket/21799#comment:5>

Django

unread,
Mar 1, 2014, 7:39:21 PM3/1/14
to django-...@googlegroups.com
#21799: loaddata ignorenonexistent should ignore missing models too
-------------------------------------+-------------------------------------
Reporter: michael.clagett@… | Owner: esauro
Type: | Status: assigned
Cleanup/optimization | Version: master
Component: Core | Resolution:
(Serialization) | Triage Stage: Accepted
Severity: Normal | Needs documentation: 1

Keywords: loaddata | Patch needs improvement: 0
ignorenonexistent | UI/UX: 0
Has patch: 1 |

Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by timo):

* needs_docs: 0 => 1
* has_patch: 0 => 1


Comment:

PR needs documentation.

--
Ticket URL: <https://code.djangoproject.com/ticket/21799#comment:6>

Django

unread,
Mar 13, 2014, 2:02:05 AM3/13/14
to django-...@googlegroups.com
#21799: loaddata ignorenonexistent should ignore missing models too
-------------------------------------+-------------------------------------
Reporter: michael.clagett@… | Owner: esauro
Type: | Status: assigned
Cleanup/optimization | Version: master
Component: Core | Resolution:
(Serialization) | Triage Stage: Accepted
Severity: Normal | Needs documentation: 1
Keywords: loaddata | Patch needs improvement: 0
ignorenonexistent | UI/UX: 0
Has patch: 1 |
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by anonymous):

Added documentation to PR.

--
Ticket URL: <https://code.djangoproject.com/ticket/21799#comment:7>

Django

unread,
Dec 10, 2014, 8:12:25 AM12/10/14
to django-...@googlegroups.com
#21799: loaddata ignorenonexistent should ignore missing models too
-------------------------------------+-------------------------------------
Reporter: michael.clagett@… | Owner: esauro
Type: | Status: closed
Cleanup/optimization | Version: master
Component: Core | Resolution: fixed

(Serialization) | Triage Stage: Accepted
Severity: Normal | Needs documentation: 1
Keywords: loaddata | Patch needs improvement: 0
ignorenonexistent | UI/UX: 0
Has patch: 1 |
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by timgraham):

* status: assigned => closed
* resolution: => fixed


Comment:

Trac didn't pickup the commit and close this ticket.

In ec9043ab2f6027da709d1daf0df5599db6a77453:

Fixed #21799 - Modified loaddata --ignorenonexistent to ignore models.

--
Ticket URL: <https://code.djangoproject.com/ticket/21799#comment:8>

Reply all
Reply to author
Forward
0 new messages