Thursday, May 31, 2012

Re: App inside another app or nesting in django apps

Sure. They're just Python modules. All you need to do is:

1. Include the files: __init__.py and models.py
2. Add the application to your settings.py, for example: myproject.myapp.subapp

It *should* work, although I haven't personally tested it yet.

On Thu, May 31, 2012 at 7:46 AM, vijay shanker <vshanker.88@gmail.com> wrote:
> can we write one app inside some another django-app .
> please suggest any reference or articles
>
> --
> 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.
>

--
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.

No comments:

Post a Comment