CalDan, I had the same exact problem yesterday. I googled it and found some useful links, but no definitive answer. Anyway, since the error was in the dev environment, I decided to wipe-out django and re-install it from the trunk. It actually solved my problem.
Before deleting django make sure you export your database. I hope this helps. Cheers. _Mario On Sep 29, 3:39 am, CALdan <dannyboy...@gmail.com> wrote: > 'adminmedia' is not a valid tag library: Could not load template > library from django.templatetags.adminmedia, No module named > adminmedia > > Hi! > > I'm getting the above error message when I try to access the admin > module of Django. > > I also seem to be having a problem where django is only looking in > site-packages for templatetags, not my installed apps. > > i suspect both problems are directly related but I have no idea what > the problem might be. Below is the relevant part of my settings file > which i hope might shed some light on the issue. > > Thanks! > Dan > > # If you set this to False, Django will make some optimizations so as > not > # to load the internationalization machinery. > USE_I18N = True > > # Absolute path to the directory that holds media. > # Example: "/home/media/media.lawrence.com/" > MEDIA_ROOT = '' > > # URL that handles the media served from MEDIA_ROOT. Make sure to use > a > # trailing slash if there is a path component (optional in other > cases). > # Examples: "http://media.lawrence.com", "http://example.com/media/" > MEDIA_URL = '/media/' > > # URL prefix for admin media -- CSS, JavaScript and images. Make sure > to use a > # trailing slash. > # Examples: "http://foo.com/media/", "/media/". > ADMIN_MEDIA_PREFIX = '/admin_media/' > > # Make this unique, and don't share it with anybody. > SECRET_KEY = 'rwl^cqqk*w$vgq8l...@n4c%$y-v*ox1f8$diwl=k+n2l6po#q' > > # List of callables that know how to import templates from various > sources. > TEMPLATE_LOADERS = ( > 'django.template.loaders.filesystem.load_template_source', > 'django.template.loaders.app_directories.load_template_source', > 'django.template.loaders.app_directories.load_template_source', > 'django.template.loaders.eggs.load_template_source' > ) > > TEMPLATE_CONTEXT_PROCESSORS = ( > 'django.core.context_processors.request', > 'django.core.context_processors.auth' > ) > > MIDDLEWARE_CLASSES = ( > 'django.middleware.common.CommonMiddleware', > 'django.contrib.sessions.middleware.SessionMiddleware', > 'django.contrib.auth.middleware.AuthenticationMiddleware', > ) > > ROOT_URLCONF = 'imats.urls' > > TEMPLATE_DIRS = ( > # Put strings here, like "/home/html/django_templates" or "C:/www/ > django/templates". > # Always use forward slashes, even on Windows. > # Don't forget to use absolute paths, not relative paths. > os.path.join(os.path.dirname(__file__), 'templates').replace('\ > \','/'), > os.path.join(os.path.dirname(__file__), 'data_logistics/ > templates').replace('\\','/'), > os.path.join(os.path.dirname(__file__), 'data_quality/ > templates').replace('\\','/'), > os.path.join(os.path.dirname(__file__), 'tacet/highlight/ > templates').replace('\\','/'), > os.path.join(os.path.dirname(__file__), 'tacet/search/ > templates').replace('\\','/'), > os.path.join(os.path.dirname(__file__), 'tacet/store/ > templates').replace('\\','/') > > ) > > INSTALLED_APPS = ( > 'django.contrib.admin', > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.sites', > 'imats.data_logistics', > 'imats.data_quality', > 'imats.tacet' > ) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---