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.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6999d1201a572e81e87b322460cfd74189442379bef1d4d014b2b0b19e241551 |
|
MD5 | 2b5d97bdb93edbde013bbe84cda12811 |
|
BLAKE2b-256 | 0c4621302965faa67253595a498f89409b289b98aba710b88e3f509a8d6c6cf1 |