department, c = Department.objects.get_or_create(name=department_name,
organization=organization)
-
if Conference.objects.filter(public_id=public_id):
+ print path
conference = Conference.objects.get(public_id=public_id)
conference.course = Course.objects.get(code=course_id)
conference.course_type = CourseType.objects.get(name=course_type)
{% elif "audio" in media.item.mime_type %}
<div class="audio">
-<iframe width='640' height='200' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src="{% url telemeta-item-player-contour media.item.public_id 640 130 %}"></iframe>
+<!--<iframe width='640' height='200' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src="{% url telemeta-item-player-contour media.item.public_id 640 130 %}"></iframe>
+-->
</div>
{% endif %}
<table class="listing" width="100%">
<tbody>
{% for media in course.media.all|from_course_type:type %}
- {% if media.published or user.is_staff %}
+ {% if media.is_published or user.is_staff %}
{% if media.type == 'webm' %}
<tr>
<td {% if forloop.first %}class="border-top"{% endif %} width="230px">
</tbody>
</table>
</div>
-{% endif %}
\ No newline at end of file
+{% endif %}