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