On Wed, Jul 8, 2009 at 12:12 AM, Daniel Roseman <dan...@roseman.org.uk>wrote:

>
> On Jul 7, 3:10 pm, Joshua Partogi <joshua.part...@gmail.com> wrote:
> > Dear all,
> >
> > Because I want to plug a django app from urls.py as it is (without adding
> > any suffix), is it possible to include the app urls with this scenario?
> >
> > # urls.py
> > urlpatterns = patterns('',
> >     (r'^$', include('djapp.urls')),
> > )
> >
>
> Leave off the $ - this will *only* match an empty URL.


Aaah. Didn't think of that. Thanks heaps Daniel.

-- 
Join Scrum8.com.

http://blog.scrum8.com
http://twitter.com/scrum8

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