_images/logo.svg

djangoMediaArchive_import_OOData

Addon for djangoMediaArchive. Import data for djangoMediaArchive from LibreOffice spreadsheet.

Quick start

  1. Add djangoMediaArchive_import_OOData to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'berhoel.django.media_ooimport',
    ]
    
  2. Include the djangoMediaArchive_import_OOData URLconf in your project urls.py like this:

    path('media_ooimport/', include('berhoel.django.media_ooimport.urls')),
    
  3. Run python manage.py migrate to create the djangoMediaArchive_import_OOData models.

  4. Start the development server and visit http://127.0.0.1:8000/admin/ to create a inspect media data (you’ll need the Admin app enabled).

  5. Run media_ooimport ~/Dokumente/Data.ods to import the media information.

berhoel.django.media_ooimport.console.SeriesOO.fill_bcs

Fill information on broadcast services media.

berhoel.django.media_ooimport.console.SeriesOO.fill_media

Prepare information in media.

berhoel.django.media_ooimport.console.SeriesOO.fill_person_maps

Fill information in cinemas

berhoel.django.media_ooimport.console.filme.FilmRow.count

Return number of occurrences of value.

berhoel.django.media_ooimport.console.filme.Filme.process

Process film entries.

berhoel.django.media_ooimport.console.kuv.KaufenUndVerkaufen.process

Read sheet ‘k&v’ (kaufen und verkaufen).

berhoel.django.media_ooimport.console.kuv.KaufenUndVerkaufenRow.count

Return number of occurrences of value.

berhoel.django.media_ooimport.console.kuv.KaufenUndVerkaufenRow.index

Return first index of value.

berhoel.django.media_ooimport.console.serie.Serie.process

Process Series information

berhoel.django.media_ooimport.console.serie.SerieRow.count

Return number of occurrences of value.

berhoel.django.media_ooimport.migrations.0001_initial.Migration.apply

Take a project_state representing all migrations prior to this one and a schema_editor for a live database and apply the migration in a forwards order.

berhoel.django.media_ooimport.migrations.0001_initial.Migration.mutate_state

Take a ProjectState and return a new one with the migration’s operations applied to it.

berhoel.django.media_ooimport.migrations.0001_initial.Migration.unapply

Take a project_state representing all migrations prior to this one and a schema_editor for a live database and apply the migration in a reverse order.

Indices and tables