# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals

from django.contrib import admin
from import_export.admin import ExportMixin

from .models import Slot


@admin.register(Slot)
class SlotAdmin(ExportMixin, admin.ModelAdmin):
    list_display = ('title', 'day', 'start', 'parsed_duration', 'is_talk', 'is_workshop', 'is_custom')
    search_fields = ('talk__author', 'talk__proposal_title', 'workshop__author', 'workshop__proposal_title')

    readonly_fields = ('slug',)

2557047293c09117702401789c32230acc209a99
<mask token>

<mask token>


@admin.register(Slot)
class SlotAdmin(ExportMixin, admin.ModelAdmin):
    <mask token>
    <mask token>
    <mask token>

<mask token>


@admin.register(Slot)
class SlotAdmin(ExportMixin, admin.ModelAdmin):
    list_display = ('title', 'day', 'start', 'parsed_duration', 'is_talk',
        'is_workshop', 'is_custom')
    search_fields = ('talk__author', 'talk__proposal_title',
        'workshop__author', 'workshop__proposal_title')
    readonly_fields = 'slug',

from __future__ import absolute_import, print_function, unicode_literals
from django.contrib import admin
from import_export.admin import ExportMixin
from .models import Slot


@admin.register(Slot)
class SlotAdmin(ExportMixin, admin.ModelAdmin):
    list_display = ('title', 'day', 'start', 'parsed_duration', 'is_talk',
        'is_workshop', 'is_custom')
    search_fields = ('talk__author', 'talk__proposal_title',
        'workshop__author', 'workshop__proposal_title')
    readonly_fields = 'slug',

# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals

from django.contrib import admin
from import_export.admin import ExportMixin

from .models import Slot


@admin.register(Slot)
class SlotAdmin(ExportMixin, admin.ModelAdmin):
    list_display = ('title', 'day', 'start', 'parsed_duration', 'is_talk', 'is_workshop', 'is_custom')
    search_fields = ('talk__author', 'talk__proposal_title', 'workshop__author', 'workshop__proposal_title')

    readonly_fields = ('slug',)
