>From what I understood, by "sub-apps" Jim meant creating the application in
a sub-directory, or more specifically maybe inside another python package,
using the manage.py command for the sake of convenience and creating using a
single command.


On Sun, Aug 21, 2011 at 10:13 PM, Praveen Krishna R <
rpraveenkris...@gmail.com> wrote:

> *Is there  a concept of sub-apps exist in Django !?*
> *I knew some concepts like independant reusable apps.*
> *You can easily handle the rest with your urls right ?! correct me?
> *
>
> On Sun, Aug 21, 2011 at 6:27 PM, Subhranath Chunder 
> <subhran...@gmail.com>wrote:
>
>> Extend the manage.py functionality, by adding your custom command.
>> https://docs.djangoproject.com/en/dev/howto/custom-management-commands/
>>
>>
>> On Sun, Aug 21, 2011 at 8:52 PM, Jim <jianbao....@gmail.com> wrote:
>>
>>> Hello folks,
>>>
>>> Here is the story. I created a site, mysite, with this command django-admin
>>> startproject mysite. Then, under the directory mysite/, I created an app
>>> named apps with this command ./manage.py startapp apps. apps is meant to
>>> hold all applications for mysite. Now, here comes the question:
>>> *How do I create a sub-app under apps with manage.py directly?*
>>>
>>> I tried
>>> ../manage.py startapp someapp
>>> under apps/, but that created the someapp under mysite/ rather than under
>>> apps/.
>>>
>>> I also tried
>>> ./manage.py startapp apps/someapp
>>> and
>>> ./manage.py startapp apps.someapp
>>> under mysite/, but neither worked.
>>>
>>> So, my current work-around is to create a sub-app under mysite/ first,
>>> then move it into apps/ manually. But that seems dumb, and I suspect there
>>> is a simpler way to do this.
>>>
>>> Thanks for reading this. Any help is certainly appreciated.
>>>
>>> Jim
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Django users" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msg/django-users/-/QtvEmvU5QvMJ.
>>> To post to this group, send email to django-users@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> django-users+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/django-users?hl=en.
>>>
>>
>>
>>
>> --
>> Thanks,
>> Subhranath Chunder.
>> www.subhranath.com
>>
>>  --
>> 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+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>
>
> --
> Thanks and Regards,
> *Praveen Krishna R*
>
>  --
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
Thanks,
Subhranath Chunder.
www.subhranath.com

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to