Opened 12 years ago
Closed 12 years ago
#22025 closed Bug (fixed)
TypeError in the dumpdata command when listing "app app.Model"
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Core (Management commands) | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | yes | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
When running:
$ python manage.py dumpdata blogapp blogapp.Tag
I get:
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
...
...
TypeError: argument of type 'NoneType' is not iterable
A fix is in this pull request: https://github.com/django/django/pull/2262
Change History (4)
comment:1 by , 12 years ago
| Needs tests: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:3 by , 12 years ago
comment:4 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Hi,
I can indeed reproduce the issue.
The pull request looks reasonable but you'll need to add some tests for it to be merged.
Thanks