]> git.parisson.com Git - telemeta.git/commitdiff
fix download url and boilerplate access rights
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 6 Apr 2016 23:14:00 +0000 (01:14 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 6 Apr 2016 23:14:00 +0000 (01:14 +0200)
doc/content/TM-1.6.rst
telemeta/management/commands/telemeta-create-boilerplate.py

index 2038e09b392adc2d0a2f2f3dd48c9b62b624b2c5..47519091de96ff885636c7fc95851897b5db03cb 100644 (file)
@@ -17,6 +17,4 @@ Telemeta is now usable on **any OS**, ready for development and for production i
 * Many, many `bugfixes <https://github.com/Parisson/Telemeta/issues?q=is%3Aissue+is%3Aclosed>`_
 * 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
index 1206087149806da309d5da49972f7f0c2eb97c1c..e06eeca3329a86bdcfe2d6cf53a0373c7e24cb6b 100644 (file)
@@ -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: