﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22580	dumpdata don't work with sub app	Fabio Caritas Barrionuevo da Luz <bnafta@…>	nobody	"I use django-allauth. The django-allauth has a structure of sub apps. 
I need to export data from some of the sub apps, although Django support the sub apps, dumpdata command does not have support to this feature

I have the following structure of directories:

django_project:
        manage.py
        test_dumpdata_subapp:
              __init__.py
              settings.py
              ...
        normalapp:
              __init__.py
              models.py
              ...
              subapp:
                   __init__.py
                   models.py
                   ...
                   submodule:
                        __init__.py
                        anothersubapp:
                                __init__.py
                                models.py
                                ...



On settings.py file:

INSTALLED_APPS = (
    ... 
    'normalapp',
    'normalapp.subapp',
    'normalapp.subapp.submodule.anothersubapp',
)


syncdb works perfectly, but try:

python manage.py dumpdata normalapp normalapp.subapp normalapp.subapp.submodule.anothersubapp

results in this:
CommandError: Unknown model: normalapp.subapp 


My test project is attached or can be viewed on github: https://github.com/luzfcb/test_dumpdata_subapp

"	Uncategorized	closed	Core (Management commands)	1.6	Normal	invalid	dumpdata management commands subapp		Unreviewed	0	0	0	0	0	0
