Skip to main content

A simple django app to import admin inline data from CSV

Project description

Inline csv importer is a simple Django app to import csv data in admin inlines.

Quick start

  1. Add inline_csv_importer to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'inline_csv_importer',
    ]
  2. Include the mixin in your ModelAdmin class and define csv_inline:

    class AwardAdmin(UploadCSVAdminMixin, admin.ModelAdmin):
        csv_inline = (
            (
                'Person import', {
                    'fields': ('date', 'name', 'extra',),
                    'inline': AwardPersonInline,
                    'help_text': (
                        'CSV File should be in this format without headings: '
                        '<br> name, date, extra information.'
                    )
                }
            ),
        )

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-inline-csv-importer-0.1.3.tar.gz (5.4 kB view details)

Uploaded Source

File details

Details for the file django-inline-csv-importer-0.1.3.tar.gz.

File metadata

File hashes

Hashes for django-inline-csv-importer-0.1.3.tar.gz
Algorithm Hash digest
SHA256 775c5f5a276fab3b51a1156fef24f1edbd332fd2de37ad71339169b27104feb0
MD5 1beec283336cd4b09887f0dc002d0411
BLAKE2b-256 e0c0d774801e2e4575a22c78c454e8ad2e0ffb7f929d91af2f1132bca7055922

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page