# -*- coding: utf-8 -*-

import os

from django.core.files.storage import FileSystemStorage
from django.template.defaultfilters import slugify


class SlugifyFileSystemStorage(FileSystemStorage):
    "Storage, ktery odstrani diakritiku a dalsi balast v nazvu souboru"
    def get_valid_name(self, name):
        name, ext = os.path.splitext(name)
        return slugify(name) + ext

@@ -67,26 +67,23 @@
  import 
-FileSystem
+Default
 Storage%0A
@@ -166,26 +166,23 @@
 Storage(
-FileSystem
+Default
 Storage)

use lazy 'DefaultStorage' storage class instead of fixed 'FileSystemStorage' class