Skip to content
add import capabillities to every django modeladmin
Latest commit 8377b21 Feb 13, 2013 @frog32 frog32 Merge branch 'develop'
Failed to load latest commit information.
admin_import release 0.3.0 Feb 13, 2013
.gitignore build a package Aug 15, 2011
AUTHORS update authors file Sep 7, 2011
LICENSE build a package Aug 15, 2011 build a package Aug 15, 2011
README.rst release 0.3.0 Feb 13, 2013 Fix typos in and in the README Sep 1, 2011


Admin Import


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:

        from admin_import.options import add_import
    except ImportError:
  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


  • add a method to specify a custom form to use during the import
  • cleaned up some code
  • replace print with logging
Something went wrong with that request. Please try again.