From f8b1b32a16929e1f9590900d5991f8851d5a7702 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 7 Apr 2016 01:14:00 +0200 Subject: [PATCH] fix download url and boilerplate access rights --- doc/content/TM-1.6.rst | 4 +--- telemeta/management/commands/telemeta-create-boilerplate.py | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/doc/content/TM-1.6.rst b/doc/content/TM-1.6.rst index 2038e09b..47519091 100644 --- a/doc/content/TM-1.6.rst +++ b/doc/content/TM-1.6.rst @@ -17,6 +17,4 @@ Telemeta is now usable on **any OS**, ready for development and for production i * Many, many `bugfixes `_ * Thanks to all partners for this **huge** release! -Download: - -* http://pypi.python.org/packages/source/T/Telemeta/Telemeta-1.6.tar.gz +Get it: https://github.com/Parisson/Telemeta#install diff --git a/telemeta/management/commands/telemeta-create-boilerplate.py b/telemeta/management/commands/telemeta-create-boilerplate.py index 12060871..e06eeca3 100644 --- a/telemeta/management/commands/telemeta-create-boilerplate.py +++ b/telemeta/management/commands/telemeta-create-boilerplate.py @@ -26,7 +26,7 @@ class Command(BaseCommand): def handle(self, *args, **options): collection, c = MediaCollection.objects.get_or_create(title=self.code, - code=self.code) + code=self.code, public_access = 'full') selection, c = Selection.objects.get_or_create(title='Tests') if c: @@ -59,8 +59,7 @@ class Command(BaseCommand): result.delete() mediaitem, c = MediaItem.objects.get_or_create(title=title, code=self.code + '-' + slugify(filename), - file=path, collection=collection) - + file=path, collection=collection, public_access = 'full') experience, c = Experience.objects.get_or_create(title='All') for preset in presets: -- 2.39.5