I'm reading the Django book and playing with the 'mysite' test site, in many parts I've noticed something like this in views.py:
from mysite.models import Event, BlogEntry I was wondering if it's good practice using 'mysite.models' (which seems to be an 'absolute path' for importing) or if it would be better using just: from models import Event, BlogEntry (which seems to be a 'relative path' because usually views.py is in the same directory than models.py). Could somebody explain a little about the best way to do the imports? 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 -~----------~----~----~----~------~----~------~--~---