Hi everyone, I was creating some custom template tags and attempted to import my models through the following import at the top of the file:
from ..models import * Unfortunately this seems to be attempting to import from django.models (which doesn't exist) rather than myapp.models and therefore throws up an error when I try to use it. Is there any possible way that I will be able to perform this import without specifying the app name (as I was trying to keep things as generic as possible) or am I just going to have to bite the bullet and hard-code the app name in there? Cheers, G --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---