Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.'
                    )
                }
            ),
        )
    
Release History

Release History

This version
History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-inline-csv-importer-0.1.3.tar.gz (5.4 kB) Copy SHA256 Checksum SHA256 Source Jun 28, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting