From: Guillaume Pellerin Date: Wed, 6 Apr 2016 23:14:00 +0000 (+0200) Subject: fix download url and boilerplate access rights X-Git-Tag: 1.6.1~1^2~13 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=f8b1b32a16929e1f9590900d5991f8851d5a7702;p=telemeta.git fix download url and boilerplate access rights --- 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: