id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 15264,Problem with custom cache backend,Stephane,nobody,"Hi, I have a problem since Django 1.3 to start our project with our custom cache backend: CACHE_BACKEND = ""portail.cache.backends.filesandmint://192.168.1.100:11211/"" This is the error: File ""/usr/local/lib/python2.6/dist-packages/django/core/management/commands/runserver.py"", line 81, in inner_run self.validate(display_num_errors=True) File ""/usr/local/lib/python2.6/dist-packages/django/core/management/base.py"", line 243, in validate from django.core.management.validation import get_validation_errors File ""/usr/local/lib/python2.6/dist-packages/django/core/management/validation.py"", line 3, in from django.contrib.contenttypes.generic import GenericForeignKey, GenericRelation File ""/usr/local/lib/python2.6/dist-packages/django/contrib/contenttypes/generic.py"", line 13, in from django.contrib.admin.options import InlineModelAdmin, flatten_fieldsets File ""/usr/local/lib/python2.6/dist-packages/django/contrib/admin/__init__.py"", line 4, in from django.contrib.admin.options import ModelAdmin, HORIZONTAL, VERTICAL File ""/usr/local/lib/python2.6/dist-packages/django/contrib/admin/options.py"", line 10, in from django.views.decorators.csrf import csrf_protect File ""/usr/local/lib/python2.6/dist-packages/django/views/decorators/csrf.py"", line 1, in from django.middleware.csrf import CsrfViewMiddleware File ""/usr/local/lib/python2.6/dist-packages/django/middleware/csrf.py"", line 14, in from django.utils.cache import patch_vary_headers File ""/usr/local/lib/python2.6/dist-packages/django/utils/cache.py"", line 24, in from django.core.cache import get_cache File ""/usr/local/lib/python2.6/dist-packages/django/core/cache/__init__.py"", line 168, in cache = get_cache(DEFAULT_CACHE_ALIAS) File ""/usr/local/lib/python2.6/dist-packages/django/core/cache/__init__.py"", line 165, in get_cache ""Could not find backend '%s': %s"" % (backend, e)) django.core.cache.backends.base.InvalidCacheBackendError: Could not find backend 'portail.cache.backends.filesandmint': 'module' object has no attribute 'filesandmint' But if we change the setting to: CACHE_BACKEND = ""portail.cache.backends.filesandmint.CacheClass://192.168.1.100:11211/"" The project start... Best regards, Stephane",,closed,Core (Cache system),1.3-beta,,fixed,blocker,,Accepted,0,0,0,0,0,0