diff options
Diffstat (limited to 'archaeological_finds/wizards.py')
-rw-r--r-- | archaeological_finds/wizards.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_finds/wizards.py b/archaeological_finds/wizards.py index 9effc3770..de16d2069 100644 --- a/archaeological_finds/wizards.py +++ b/archaeological_finds/wizards.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2012 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> +# Copyright (C) 2012-2013 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -19,6 +19,7 @@ from django.conf import settings from django.core.exceptions import ObjectDoesNotExist +from django.core.files.storage import default_storage from django.shortcuts import render_to_response from django.template import RequestContext from django.utils.safestring import mark_safe @@ -28,6 +29,7 @@ from ishtar_common.wizards import Wizard, DeletionWizard, SourceWizard import models class FindWizard(Wizard): + file_storage = default_storage model = models.Find def get_current_contextrecord(self): |