On 5/14/08, Matthias Kestenholz <[EMAIL PROTECTED]> wrote: > > Well, you can't have it both ways. Either you import app, or you use the > string notation. > > You could create another URLconf module of course, but I don't know why > anyone would want to do that. It's much easier to just import the > app.views module (but maybe you have good reasons to not import the > module here?) > > include('app.just_my_index_view.py') instead of include('app.urls')
Well, i just think is better to decouple the root urlconfs from some specific app.view, and i will implement a index view for the '^$' later (it will display things from other apps), so i just simply include('app.urls') and then got this problem. Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---