from __future__ import unicode_literals

from django.apps import AppConfig
from watson import search as watson


class MediaConfig(AppConfig):
    name = 'media'

    def ready(self):
        ImageModel = self.get_model("Image")
        watson.register(ImageModel)
        VideoModel = self.get_model("Video")
        watson.register(VideoModel)

7453ac1a10d2da7110d7d02b03389f17c2dc29fa
<mask token>


class MediaConfig(AppConfig):
    <mask token>
    <mask token>

<mask token>


class MediaConfig(AppConfig):
    <mask token>

    def ready(self):
        ImageModel = self.get_model('Image')
        watson.register(ImageModel)
        VideoModel = self.get_model('Video')
        watson.register(VideoModel)

<mask token>


class MediaConfig(AppConfig):
    name = 'media'

    def ready(self):
        ImageModel = self.get_model('Image')
        watson.register(ImageModel)
        VideoModel = self.get_model('Video')
        watson.register(VideoModel)

from __future__ import unicode_literals
from django.apps import AppConfig
from watson import search as watson


class MediaConfig(AppConfig):
    name = 'media'

    def ready(self):
        ImageModel = self.get_model('Image')
        watson.register(ImageModel)
        VideoModel = self.get_model('Video')
        watson.register(VideoModel)

from __future__ import unicode_literals

from django.apps import AppConfig
from watson import search as watson


class MediaConfig(AppConfig):
    name = 'media'

    def ready(self):
        ImageModel = self.get_model("Image")
        watson.register(ImageModel)
        VideoModel = self.get_model("Video")
        watson.register(VideoModel)
