Changeset bb79eb5
- Timestamp:
- 04/06/12 10:14:34 (14 months ago)
- Branches:
- security
- Children:
- f3ef7df
- Parents:
- ba683be (diff), e5778ef (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- yomguy <yomguy@…> (04/06/12 10:14:34)
- git-committer:
- yomguy <yomguy@…> (04/06/12 10:14:34)
- Location:
- telemeta
- Files:
-
- 4 added
- 7 edited
-
htdocs/images/item.png (modified) (previous)
-
htdocs/images/item_title.png (modified) (previous)
-
htdocs/images/tw_hd_bg.png (added)
-
htdocs/images/user_tr.png (added)
-
templates/telemeta/base.html (modified) (1 diff)
-
views/base.py (modified) (3 diffs)
-
admin.py (modified) (1 diff)
-
middleware.py (added)
-
migrations/0009_auto__add_field_userprofile_last_session_key.py (added)
-
models/system.py (modified) (2 diffs)
-
templates/telemeta/inc/collection_related.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
telemeta/templates/telemeta/base.html
rd36c84a r2c4c2e5b 65 65 {% else %} 66 66 <a href="{% url telemeta-flatpage "help" %}">{% trans "Help" %}</a> | 67 <a href="{% url telemeta-login %} ?next={{ request.path|urlencode }}">{% trans "Sign in" %}</a>67 <a href="{% url telemeta-login %}">{% trans "Sign in" %}</a> 68 68 {% endif %} 69 69 </div> -
telemeta/views/base.py
r4fa6f4b r2c4c2e5b 102 102 103 103 def stream_from_file(__file): 104 chunk_size = 0x10000 104 chunk_size = 0x100000 105 105 f = open(__file, 'r') 106 106 while True: … … 683 683 previous, next = self.item_previous_next(item) 684 684 mime_type = self.item_analyze(item) 685 #FIXME: use mimetypes.guess_type 686 if 'quicktime' in mime_type: 687 mime_type = 'video/mp4' 685 688 686 689 if request.method == 'POST': … … 975 978 pass 976 979 response = HttpResponse(stream_from_file(audio), mimetype = mime_type) 980 # fsock = open(audio, 'r') 981 # response = HttpResponse(fsock, mimetype = mime_type) 977 982 else: 978 983 media = self.cache_export.dir + os.sep + file -
telemeta/admin.py
rbfa68c2 rf83d820 6 6 from telemeta.models.system import * 7 7 from django.contrib import admin 8 <<<<<<< HEAD 9 from django.forms import CheckboxSelectMultiple 10 ======= 11 >>>>>>> master 8 12 from django.contrib.auth.models import User 9 13 from django.contrib.auth.admin import UserAdmin -
telemeta/models/system.py
r2592b8e r3b50bb3 42 42 import django.db.models as models 43 43 from django.forms import ModelForm 44 from django.contrib.sessions.models import Session 44 45 45 46 … … 88 89 telephone = CharField(_('Telephone')) 89 90 expiration_date = DateField(_('Expiration_date')) 91 last_session_key = CharField(blank=True, null=True, max_length=40) 90 92 91 93 class Meta(MetaCore): -
telemeta/templates/telemeta/inc/collection_related.html
r28fa06b r5a09eb7 78 78 {% endif %} 79 79 {% endif %} 80 {% endif %}80 {% endif %} 81 81 </td> 82 82 </tr>
Note: See TracChangeset
for help on using the changeset viewer.
