berhoel.django.media_ooimport package

Load Data into Django model.

Subpackages

Submodules

berhoel.django.media_ooimport.admin module

Django admin for series.

berhoel.django.media_ooimport.apps module

class berhoel.django.media_ooimport.apps.DjangomediaarchiveImportOodataConfig(app_name, app_module)[source]

Bases: AppConfig

default_auto_field = 'django.db.models.AutoField'
name = 'berhoel.django.media_ooimport'
verbose_name = 'LibreOffice importer for DjangoMedia'

berhoel.django.media_ooimport.models module

Django models for series application.

class berhoel.django.media_ooimport.models.SaveLine(*args, **kwargs)[source]

Bases: Model

Store original line in ‘k&v’ for DVD.

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dvd

Accessor to the related object on the forward side of a one-to-one relation.

In the example:

class Restaurant(Model):
    place = OneToOneField(Place, related_name='restaurant')

Restaurant.place is a ForwardOneToOneDescriptor instance.

line

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

__str__() str[source]

Return str(self).

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

_meta = <Options for SaveLine>
dvd_id
objects = <django.db.models.manager.Manager object>
class berhoel.django.media_ooimport.models.ConvertedSheet(*args, **kwargs)[source]

Bases: Model

Which sheets are already saved?

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

saved

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

__str__() str[source]

Return str(self).

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

_meta = <Options for ConvertedSheet>
objects = <django.db.models.manager.Manager object>
class berhoel.django.media_ooimport.models.NameMediaMap(*args, **kwargs)[source]

Bases: Model

Map for non DVD Media

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

media

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

__str__() str[source]

Return str(self).

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

_meta = <Options for NameMediaMap>
media_id
objects = <django.db.models.manager.Manager object>
class berhoel.django.media_ooimport.models.NameCinemaMap(*args, **kwargs)[source]

Bases: Model

Map for cinemas

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

person

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

__str__() str[source]

Return str(self).

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

_meta = <Options for NameCinemaMap>
objects = <django.db.models.manager.Manager object>
person_id
class berhoel.django.media_ooimport.models.NameRentalMap(*args, **kwargs)[source]

Bases: Model

Map for Rental companies

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

person

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

__str__() str[source]

Return str(self).

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

_meta = <Options for NameRentalMap>
objects = <django.db.models.manager.Manager object>
person_id
class berhoel.django.media_ooimport.models.NameStreamingServiceMap(*args, **kwargs)[source]

Bases: Model

Map for streaming services

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

person

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

__str__() str[source]

Return str(self).

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

_meta = <Options for NameStreamingServiceMap>
objects = <django.db.models.manager.Manager object>
person_id

berhoel.django.media_ooimport.settings module

Django settings for media project.

berhoel.django.media_ooimport.tests module

class berhoel.django.media_ooimport.tests.MyTest(methodName='runTest')[source]

Bases: TestCase

_classSetupFailed = False
_class_cleanups = []

berhoel.django.media_ooimport.views module