diff --git a/requirements.txt b/requirements.txt index 7d05bfde..f60ceb45 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ djangorestframework==2.3.13 Django==1.6.6 South==0.8.4 django-picklefield==0.3.1 -django-sampledatahelper==0.2.1 +django-sampledatahelper==0.2.2 gunicorn==18.0 psycopg2==2.5.3 pytz==2014.4 diff --git a/taiga/projects/management/commands/sample_data.py b/taiga/projects/management/commands/sample_data.py index 2cc215db..b9288034 100644 --- a/taiga/projects/management/commands/sample_data.py +++ b/taiga/projects/management/commands/sample_data.py @@ -200,7 +200,7 @@ class Command(BaseCommand): object_id=object.id, owner=self.sd.db_object_from_queryset( object.project.memberships.filter(user__isnull=False)).user, - attached_file=self.sd.image_from_directory( + attached_file=self.sd.file_from_directory( *ATTACHMENT_SAMPLE_DATA)) return attachment