Re: Add support for relative imports in django.conf.urls.include()?

2016-03-03 Thread lamby
x27;), ) This isn't an readabiliy improvement over using the string urls IMHO. Now, if only we could do the following: from . import views, foo_app, bar_app urlpatterns = ( url(r'', include(foo_app.urls), namespace='foo')), url(r'', include(bar_app.ur

Re: 1.8 shipping invalid .py files in the startapp template

2015-11-28 Thread lamby
> I believe this is a new issue in 1.9, not 1.8 as the subject says, correct? Correct, apologies. (I meant to write "since 1.8" as "1.9" is either ambiguous or not released yet.) > Is the "man-page of pycompile you can exclude certain packages" suggestion some change we should make in Django?