Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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:

  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.

Files for django-inline-csv-importer, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size django-inline-csv-importer-0.1.3.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page