How do I create sub-applications in Django?
Posted
by jamida
on Stack Overflow
See other posts from Stack Overflow
or by jamida
Published on 2010-05-19T00:24:35Z
Indexed on
2010/05/19
0:30 UTC
Read the original article
Hit count: 645
django
I'm a Django newbie, but fairly experienced at programming. I have a set of related applications that I'd like to group into a sub-application but can not figure out how to get manage.py to do this for me.
Ideally I'll end up with a structure like:
project/
app/
subapp1/
subapp2/
I've tried:
manage.py startapp app.subapp1
manage.py startapp app/subapp1
but this tells me that / and . are invalid characters for app names
I've tried changing into the app directory and running ../manage.py subapp1 but that makes supapp1 at the top level. NOTE, I'm not trying to directly make a stand-alone application. I'm trying to do all this from within a project.
© Stack Overflow or respective owner