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
Add inline_csv_importer to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'inline_csv_importer', ]
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
Close
Hashes for django-inline-csv-importer-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53df98a82f4550909c4f1944665516530a0cbcc2e59b008633b456c4422c74d2 |
|
MD5 | 56c6f6b173a9f33d19e079a2a6ee11f9 |
|
BLAKE2b-256 | 24fecf0e92b1fe6caad73be2dd65c9d4f589719657c3a76449492e53ff61e669 |