Use include to pull in values from other apps inside your urls.py

https://docs.djangoproject.com/en/dev/topics/http/urls/#including-other-urlconfs

On Tue, May 22, 2012 at 11:49 AM, siddharth56660
<siddharth.ghumr...@gmail.com> wrote:
> Hi,
> I am developing an ERP system which is vast and covers many modules.
> After developing each module i create another app for second module
> by
> " django-admin.py startapp myapp2 "
> This is perfectly working fine.
> But my urls.py is growing very fast and has crossed more than 5000
> lines with lot more to come.
>
> Is there any other way in which i can make different urls.py as per my
> apps.
> I tried googling around but i dint find any way to give multiple apps
> in setting.py file in ROOT_URLCONF entry.
>
> Please help me around.
>
> --
> 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.
>

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