Martin Glueck wrote: > Be careful ... in one of the next releases of python, support for > relative import will be dropped! So I would suggest that you don't > rely on relative import in new written code and change it whenever you > find it in old code.
It will not be droped in 2.5 but it will be made clear (horray), which is exactly what we have problems with. in myapps/views.py: from .models import Somemodel which will import from myapps/models.py Somemodel from ..otherapp.models import Othermodel imports from myapps/../otherapp/models.py -> otherapps/models.py This is exactly what we need for our apps to be portable :) 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 -~----------~----~----~----~------~----~------~--~---