Import tool attachable to almost every Django admin
Project description
Admin Import
============
Installation
------------
**Notice**: This application is still under development and everything
is subject to change.
1. Add ``'admin_import'`` to ``INSTALLED_APPS`` in your settings file.
2. Add an import to your admin like so::
try:
from admin_import.options import add_import
except ImportError:
pass
else:
add_import(InviteeAdmin)
3. Add a button in your admin by overriding the ``change_list.html`` template
for your specific model or use ``add_import(InviteeAdmin, add_button=True)``
4. If you need an other modelform than used in the admin you can override
the ``get_admin_import_model_form` function. But it should be capable of
excluding some files.
Change Notes
------------
0.3.0
~~~~~
- add a method to specify a custom form to use during the import
- cleaned up some code
- replace print with logging
============
Installation
------------
**Notice**: This application is still under development and everything
is subject to change.
1. Add ``'admin_import'`` to ``INSTALLED_APPS`` in your settings file.
2. Add an import to your admin like so::
try:
from admin_import.options import add_import
except ImportError:
pass
else:
add_import(InviteeAdmin)
3. Add a button in your admin by overriding the ``change_list.html`` template
for your specific model or use ``add_import(InviteeAdmin, add_button=True)``
4. If you need an other modelform than used in the admin you can override
the ``get_admin_import_model_form` function. But it should be capable of
excluding some files.
Change Notes
------------
0.3.0
~~~~~
- add a method to specify a custom form to use during the import
- cleaned up some code
- replace print with logging
Project details
Release history Release notifications | RSS feed
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-admin-import-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c05da72bb07116c5aa59061fd39721c50322b5c73773e477eb5bc095a9bb51d7 |
|
MD5 | 78c490db3c76a87bc422614ffb82ffa7 |
|
BLAKE2b-256 | 21e3e59923dca433c9d925319a22b6b7663fb750e239d57902d10868738dd445 |