Opened 11 years ago
Closed 10 years ago
#21799 closed Cleanup/optimization (fixed)
loaddata ignorenonexistent should ignore missing models too
Reported by: | Owned by: | esauro | |
---|---|---|---|
Component: | Core (Serialization) | Version: | dev |
Severity: | Normal | Keywords: | loaddata ignorenonexistent |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | yes |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Change History (8)
comment:1 by , 11 years ago
Easy pickings: | set |
---|
comment:2 by , 11 years ago
Component: | Uncategorized → Core (Serialization) |
---|---|
Type: | Uncategorized → Cleanup/optimization |
comment:3 by , 11 years ago
Easy pickings: | unset |
---|---|
Triage Stage: | Unreviewed → Accepted |
Version: | 1.6 → master |
comment:4 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 11 years ago
comment:8 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Trac didn't pickup the commit and close this ticket.
In ec9043ab2f6027da709d1daf0df5599db6a77453:
Fixed #21799 - Modified loaddata --ignorenonexistent to ignore models.
Note:
See TracTickets
for help on using tickets.
I created a pull request https://github.com/django/django/pull/2335