Re: How to create a app inside a app
On 20-7-2012 21:32, Nicolas Ardison wrote:
> [APP1]
>
> [subAPP1]
>
> [subAPP2]
> Could i do something like this? anyone know where i can start reading about
> this.
Yes and no. You can, but within a project the last part of the python
module path must be unique. So you cannot do:
app1.newsapp
app1.commentsapp
app2.newsapp < same name
Actually, you can do it, but you can't enable both in INSTALLED_APPS.
I'm doing exactly this with an app that has geo support and doesn't.
They provide identical models but only one can be enabled.
--
Melvyn Sopacua
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home