Adrian Holovaty wrote:

> Yes, I realize __name__ + '.views' will result in something like
> 'myproject.polls.urls.views' -- some extra string mangling would have
> to be done.

how about using the python 2.5 relative import syntax and emulating it
accoringly.

urlpatterns = patterns('.views',

for a views in the current directory

urlpatterns = patterns('..views',

views in the partens directory

etc.

kindly regards
 Daniel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to