On Tue, May 8, 2012 at 9:33 AM, Alex Ogier wrote:
> My guess is that Django is doing some normalization on the name you are
> importing. It does this to prevent double imports, for example importing
> 'projectname.appname' and 'appname' which would otherwise be considered
> separate modules even i
My guess is that Django is doing some normalization on the name you are
importing. It does this to prevent double imports, for example importing
'projectname.appname' and 'appname' which would otherwise be considered
separate modules even if they come from the same source.
Just a theory, but it ex
Hi all,
I'm making some extensions to the Django AdminSite for dashboard I'm
working on, and I have a couple of questions. My urls.py looks
something like this:
from django.utils.importlog import import_module
from django.contrib import admin
my_admin = import_module('my.admin')