Changeset 16360cc
- Timestamp:
- 06/04/11 14:35:10 (2 years ago)
- Branches:
- master, crem, crem2, dev, diadems, forma, generic, instru_search, lam, nlivemulti, production, release/1.4.4, security, social, storage, test, video
- Children:
- d4c2dd3, b497a41
- Parents:
- 5884d3f
- git-author:
- yomguy <yomguy@…> (06/04/11 14:35:10)
- git-committer:
- yomguy <yomguy@…> (06/04/11 14:35:10)
- File:
-
- 1 edited
-
telemeta/web/base.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
telemeta/web/base.py
r5884d3f r16360cc 196 196 @method_decorator(permission_required('telemeta.add_mediacollection')) 197 197 def collection_copy(self, request, public_id, template='telemeta/collection_edit.html'): 198 collection = MediaCollection.objects.get(public_id=public_id) 199 new_collection = MediaCollection() 200 if request.method == 'POST': 198 if request.method == 'POST': 199 new_collection = MediaCollection() 201 200 form = MediaCollectionForm(data=request.POST, files=request.FILES, instance=new_collection) 202 201 if form.is_valid(): … … 208 207 return HttpResponseRedirect('/collections/'+code) 209 208 else: 209 collection = MediaCollection.objects.get(public_id=public_id) 210 210 form = MediaCollectionForm(instance=collection) 211 211 … … 474 474 pipe = decoder | graph 475 475 pipe.run() 476 graph.watermark('t elemeta', opacity=.6, margin=(5,5))476 graph.watermark('timeside', opacity=.6, margin=(5,5)) 477 477 f = open(path, 'w') 478 478 graph.render(path)
Note: See TracChangeset
for help on using the changeset viewer.
