Al 07/04/13 22:50, En/na Johannes ha escrit:
yea, my knowledge from python is like larry and you told, the pyc-files get rebuild if the timestamp of the py and pyc files differs. But, because in my case it seems to be handled different, I wondered if django handles this in another way.
I'm not a django/python guru, but I don't think so. The settings module is imported by the 'django.utils.importlib.import_module' function which ultimately calls the '__import__' builtin.
After a quick grep in the django 1.5 source it seems that neither the '__import__' builtin is rebound nor import hooks are registered. So I'd expect the default behaviour.
Regards -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

